Back to all insights

The Dashboard Said Done and Nothing Was Sent

A fictional clinic's text reminder workflow, rebuilt so each message shows what the service accepted and delivered, with alerts and a weekly check on real phones.


A glowing ledger with floating cards showing a status check, a message bubble and an alert bell.

The database says every reminder was sent. The workflow log shows a clean run. A patient’s phone shows nothing, and the front desk learns this only when the schedule fills with no-shows.

Summary: A fictional text-reminder workflow lets you test status tracking that reports results instead of attempts. You will be able to set up the states, alerts and weekly checks that catch a silent failure within a day.

Our example is fictional. A clinic sends day-before appointment reminders by text. The workflow reads tomorrow’s appointments, calls a messaging service for each one, and then marks the reminder as sent in a database. It has run well for months. Tomorrow’s schedule holds twenty appointments, and the number is an illustration.

The inputs are plain. Each appointment row has a time, the patient’s initials, a phone number and a reminder state. Three rows from tomorrow’s list, all invented:

9:00   J.E.   mobile on file   queued
9:30   M.R.   mobile on file   queued
10:00  T.K.   landline on file queued   <- the service cannot text it

The first two should end as accepted and then delivered. The third is the near-miss. It looks like the others and will fail, and the record has to say so.

Then something changes upstream. The text provider rejects messages from the clinic’s number, an authorization expires, or a carrier pauses sending until the wording is reviewed. The messaging service returns an error, but the workflow was built to mark the record as sent after attempting the call, without reading what came back. This is not rare, and it is not sloppy work. It is what happens by default when status is recorded as a step in the workflow instead of a check on the result. Nothing here was run against a real provider. The rebuild is a design you can test on your own workflow.

Read the response before you record anything

The natural way to build a workflow is to follow the happy path: do step one, do step two, record the result. Failure handling feels optional while everything is running. The result is that a step that completed gets treated as a step that worked, and those are different. A request can reach a service and still be rejected by it.

The wrong version is easy to defend while it works. It is short, it has no branches, and it has run for months without complaint. That is the trap. A design with no failure path cannot fail loudly, so its only way to fail is quietly. Here it is, flagged as wrong:

for each appointment tomorrow:
    call messaging service
    mark reminder "sent"        <- runs whatever the service answered

Two panels contrast marking a reminder sent after the attempt with marking it sent only after the service accepts it.

The figure contrasts the two designs. In the first, the record is marked after the call is attempted. In the second, it is marked only after the response says the service accepted the message. Anything else is saved as failed or unknown, with the error attached. Where the service returns an identifier for each message, store it on the record. It is how you ask the service what happened to one reminder later.

Write the allowed states down before changing the workflow:

queued -> accepted -> delivered
queued -> failed (error text saved)
queued -> unknown (no clear answer)

An acceptable record is in exactly one of these states and carries the error text when it failed. It must never read “sent” for a message the service rejected.

Table: four message states and who acts on each, from delivered to failed.

Read the table one row at a time. Each state names who acts next. Delivered needs nobody. Accepted waits for the service’s report. Unknown and failed both need a person, and the record says which one and why.

Write the expected result before the first test. Send reminders for the twenty appointments, with one patient’s number being a landline the service cannot text. The expected records are nineteen accepted and one failed, with the service’s error text saved on the failed one. If the database shows twenty sent, the workflow is still reading its own attempt.

The owner of this test is whoever maintains the workflow, and the person who approves the change is the practice manager. She does not need to read the code. She reads the two records, nineteen accepted and one failed with its error text, and signs off only if the failed one is there.

Track accepted and delivered as separate states

Services often accept a message first and report delivery later. If the workflow only knows the first, a message can be accepted and still never arrive. Track both where the service allows it.

Three levels show failed or unknown at the bottom, accepted in the middle and delivered at the top.

The figure shows the states as levels. Failed and unknown sit at the bottom and need a person. Accepted sits in the middle and is waiting. Delivered sits on top and is the only state that counts as done for the clinic.

Not every service reports delivery. If yours does not, the top level is unreachable, and the workflow should say so. Keep accepted as the highest state it can prove, and rely on the weekly check below for the rest. A status that claims more than the service reported is the original failure again.

Decide how long accepted may wait. If a message has no delivery report by the morning of the appointment, it moves to unknown and appears on the list for a person. A message stuck in the middle forever looks fine and is not.

A record in the fixture then carries its history, so nobody has to guess:

10:00  T.K.  queued    2:00 pm  sent to service
10:00  T.K.  failed    2:00 pm  service error: number cannot receive text

Two lines, each with a time. When the desk asks what happened to that reminder, the answer is on the record and not in someone’s memory.

Send an alert the moment a step fails

Errors that do not stop the workflow get ignored. A run can finish cleanly while individual actions inside it failed, and the system that does the work and the system that records status are often separate, with nothing connecting them.

Add a separate error-handling path that notifies a named person by text or email as soon as something breaks, instead of waiting for someone to look. The alert should say what failed and for which patients, so the person can act without opening three systems.

Sequence diagram: the workflow sends a reminder, the service returns an error, the database saves it as failed, and a named person is alerted.

Read the sequence from the top. The error does not stop at the workflow. It is saved on the record and sent on to a person. The alert in the fixture reads: one reminder failed, appointment time and the patient’s initials, error text from the service. It does not need more.

Watch the other extreme too. If the service goes down and all twenty reminders fail, twenty separate alerts bury the one fact that matters. Send one alert that says twenty of twenty failed with the same error, and list the patients below it. A person reading it on a phone can tell at a glance whether it is one bad number or a dead connection. The first needs a phone call to a patient. The second needs a call to the provider. Different people act, so the alert has to make the difference visible.

The person named is one person, with a backup for vacations. An alert sent to a shared inbox is read by nobody in particular. Test it by forcing a failure on purpose, using the landline, and confirm the named person received the message and could act on it.

Count what should have gone out

A failure that affects every message is easy to see. A partial failure is not. If twenty reminders should go out each morning and only three are confirmed, that mismatch should raise a flag by itself. The twenty is an illustration, and your own number comes from tomorrow’s schedule.

The schedule's expected count and the service's confirmed count meet in a check that alerts a named person.

The figure shows the comparison: the expected count from the schedule and the confirmed count from the service meet in a check, and a gap alerts a named person.

What to count: the schedule’s appointments for tomorrow, against the records in accepted or delivered. What the count does not show: whether the patient read the text, or whether the text said the right thing. It also does not catch a reminder that was never queued, if the schedule read itself missed a row. For that, compare the schedule’s total with the queue’s total as well.

Take the near-miss. Nineteen are accepted and one failed on the landline. The expected count is twenty and the confirmed count is nineteen, so the check fires. That is correct. The alert names the one patient, the person fixes the number or calls, and the gap closes.

Look at what patients actually received each week

Someone should look at the real outcome, even briefly, once a week. Ask two or three patients, or check a test phone, and compare what arrived with what the database claims. It is a plain, low-tech step that catches problems no log would.

Be honest about the sample. Three patients prove little. If all three received the reminder, that fits a healthy system and does not prove one. If one did not, it is a lead worth following the same day. The test phone is the better routine, because it receives the same reminder every week and any change shows up against a known baseline.

Question card: three things to compare each week, the test phone, the database, and what a few patients report.

The owner of the weekly check is the practice manager or whoever she names. It takes a few minutes. She writes the date, what the phone showed and what the database said. If they agree, she writes that they agree. If they disagree, the disagreement is the finding, and she raises it before she looks for a cause.

In a medical or wellness setting, silent failure carries a human cost. A missed reminder is a no-show. A missed follow-up can mean a patient who never returns for care. Texting adds a constraint, since carriers set their own rules about consent, wording and sending volume, and those rules can change how a number behaves without much warning. A workflow that depends on texting should assume sending can be interrupted and should be built to notice quickly.

Review the backlog before you resend anything

Once the cause is repaired, do not blindly resend. Some queued items are stale, some were handled by hand in the meantime, and sending all of them at once can confuse patients. Go through the backlog and send only what is still relevant.

Four boxes show fixing the cause, reviewing the backlog, sending what is still relevant and checking delivery.

For the fixture, suppose sending was blocked for two days. A reminder for an appointment that already happened is stale. A reminder for a visit the desk already confirmed by phone is handled. A reminder for tomorrow is still relevant. Someone reads the list and decides each one, and the clinic’s owner of the workflow signs off before the send.

Backlog review (illustrative)
Appointment already happened     -> drop, mark closed
Desk confirmed by phone          -> drop, note the call
Appointment is tomorrow          -> send, then check delivery

Write the decision next to each record. When a patient later asks why they got a reminder for an old visit, the record shows who decided and when.

Building the automation covers part of the job. The other half is the part that tells you when it has stopped: status that reflects results, alerts that reach a person, and a routine for checking reality. This week, add the failed and unknown states to your reminder workflow, name the person who receives the alert, and place a test call to your own phone.

About Celera Group

Celera Group is a founder-led practice based in Franklin, Tennessee. We build and run practical AI systems for owner-led businesses, and provide a senior, part-time AI and data lead for mid-size organizations. One workflow at a time, with a person approving the output that matters.