A customer says they never got the reminder. You check Twilio, and the message says undelivered with a five-digit code. Twilio has a page for every code, but each one covers one error, and most small businesses see four or five at once, for different reasons, needing different people to fix them.
An AI connected to Twilio can read the week's message logs, group the failures by cause, and say who should fix each. Carriers don't always say why they filtered a text, so an AI can't tell you for certain. It can give you the evidence to ask.
Here are the four reasons a text doesn't arrive, what Twilio already does, three prompts, and how a small vet clinic checks every Monday.
Four reasons a text doesn't arrive
Four reasons a text doesn't arrive
Start with Twilio's own tools
Every message in Twilio's console shows its status and, if it failed, an error code with a page explaining it, like 30007 or 30034. Messaging Insights shows delivery, error and opt-out rates over time. Twilio handles STOP and similar keywords for you on long codes, and its opt-in Compliance Toolkit can hold non-urgent texts during quiet hours. For filtered messages, Twilio asks for at least three message SIDs when you contact support.
What's left is the sort: which failures share a cause, and who on the team fixes each.
Do it in Claude or ChatGPT
You'll need a connection that can read your Twilio message logs. These prompts won't work with Twilio's official Claude connector, which only looks up its docs; see our guide to Twilio in Claude, ChatGPT and MCP. All three prompts only read. Some errors, like an invalid number (21211), can be rejected when you send and never reach the logs.
What failed, and why.
Using Twilio, list messages from the last 7 days with the status failed or undelivered. Group them by error code and by the number they were sent from, with a count and one example message SID for each group. Don't send or change anything.
Copy promptWhat's different about the filtered ones.
For messages that failed with 30007, compare their wording with similar messages that were delivered. List the differences, like links, link shorteners, capital letters or missing business name. Treat these as hypotheses, not the cause. Don't send or change anything.
Copy promptA support ticket.
Draft a Twilio support ticket for the 30007 failures: what we send and why, when it started, and at least three message SIDs. Keep it short and factual. Don't send anything.
Copy promptA few things to know:
- Registration first. If one number fails with 30034, every text from it will. Fix that before anything else.
- Filtering has no single answer. Link shorteners, missing business names and sudden volume are common suspects. Test one change at a time.
- Respect opt-outs everywhere. When Twilio says someone opted out, update your reminder list too, so your software stops trying.
- Don't resend blindly. A reminder for a visit that's already passed confuses people. Check before you resend.
When the front desk, the owner and the admin share it
On your own, run the prompts when a customer complains. In a small business, the front desk hears the complaint, an admin or developer runs Twilio, and the owner pays for every text that fails.
Juniper Vet, an animal hospital with two locations in Boise, checks in BlueNexus. Twilio is connected. Every Monday at 08:00, the front desk agent groups last week's failed texts by cause, and prepares the fixes for Sam, who runs Twilio for the clinic.
Illustration of the BlueNexus app with example data.
Illustration of the BlueNexus app with example data.
Three causes need someone. The agent prepares them for Sam.
Sam adds the Eastside number to the Messaging Service with the approved campaign before lunch. The vaccine reminders go out without the short link and get through. Ellery, the practice owner, decides to resend only the reminders for visits still to come, and Jordan approves each one in Needs you.
For Sam, who runs Twilio for the clinic. From message logs in Twilio. Nothing is sent or changed until Sam approves it.
- Add a task for Sam to add the Eastside number to the Messaging Service with the approved campaignSo its texts stop failing with 30034
- Draft a support ticket for the 14 filtered textsWith three message SIDs and the two versions of the reminder. For Sam to send
- Ask Jordan to take 8 clients off the clinic's reminder listIn the front desk channel, with each client's name
- Resend the 31 blocked remindersLeft unticked: Ellery decides, since some visits have passed
Illustration of the BlueNexus app with example data.
For connecting Twilio, see Twilio in Claude, ChatGPT and MCP. For answering customers, see a shared inbox for Twilio texts. To check texts with your team, sign up for BlueNexus.