Insights
Platforms & Infrastructure 5 Nov 2026

When the App Can't Reach the Server - SMS Fallback for Roadside Dispatch

Roadside assistance users are, by definition, somewhere the infrastructure has let them down. Here is how we designed an SMS path that creates the same service request as the app, without becoming a second system.

The User Is Already Having a Bad Day

Most apps can treat poor connectivity as an edge case. A roadside assistance app can't. The person opening it has a broken-down vehicle, often on a rural road, a motorway shoulder or a car park in a coverage gap. The moment the product matters most is the moment the network is least likely to cooperate.

When we built the roadside assistance platform, the app experience was the headline: request help, share your exact location automatically and watch the technician approach on a live map. But the client was clear from the start that a driver without enough data connectivity still had to be able to get help. So we built an SMS path with Twilio and we treated it as a first-class workflow, not an afterthought.

One State Machine, Two Front Doors

The most important decision was what the SMS path was not: it was not a separate system with its own data and its own rules.

Every service request on the platform follows one workflow:

open → assigned → en_route → on_site → resolved

Each transition is timestamped and triggers the same downstream actions: notifications, live updates to the dispatch dashboard and pricing on resolution. A request created by text message enters that state machine exactly like one created in the app. The channel is an attribute of the request, not a fork in the code.

That gives you three things for free:

  • Dispatch sees one queue. Coordinators don't watch a second inbox for SMS jobs. Every active job sits on the same map and list.
  • History and reporting just work. A resolved SMS request is a resolved request. Nothing has to be reconciled later.
  • Fixes land once. A rule change in assignment or pricing applies to both channels automatically.

If you take one idea from this post, take this one: fallback channels should be new entry points into the same workflow, never parallel workflows.

Don't Try to Be Clever With the Message

A driver texts a number. The system parses the message and creates a service request. It's tempting to go further: extract the vehicle, the problem and the location from free text and dispatch automatically.

We deliberately didn't. An SMS request is created with a manual location entry that dispatch confirms by phone. The reasoning:

  • Location is the thing that matters most and is hardest to get right from text. "On the highway past the second exit" is clear to a person and ambiguous to a parser. Sending a technician to the wrong spot costs far more than one phone call.
  • The phone call is reassurance, not just verification. Someone without data connectivity is also cut off from the live map that tells app users help is coming. A human voice confirming the request fills that gap.
  • The parser can stay simple. Its job is to create a request and alert dispatch, not to understand English perfectly. Simple parsers fail in predictable ways.

The degraded path is slower than the app. That's acceptable. What isn't acceptable is a degraded path that fails silently.

Design Notes for Your Own Fallback Path

These are the questions we'd answer up front on any SMS or low-bandwidth fallback:

  • What's the minimum viable request? Decide which fields the fallback must capture and which a human can fill in. Keep it as small as possible.
  • How do duplicates behave? People resend messages when they get no reply and messaging gateways can retry deliveries. Decide how repeat messages from the same number attach to an open request rather than creating new ones.
  • What does the sender hear back? An acknowledgement matters more on the fallback than in the app, because the app has a UI and SMS has nothing else.
  • Who owns the gap? Something on the fallback path will need a person: confirming a location, clarifying a message. Make that ownership explicit in the dispatch process, not implied.
  • How will you test it? Fallback paths rot because the happy path gets all the traffic. Exercise the SMS path deliberately in every release.

Architecture Follows the Product Decision

None of this was technically hard. Twilio handles the messaging, the backend is Node.js and Express and the state machine already existed. What made the SMS path work was deciding at the start that low connectivity was a core scenario. Bolted on later, it would have meant a second queue, a second set of statuses and a reconciliation problem.

That's the general lesson for anything used in the field: list the conditions your users are actually in when they need you and design the architecture around the worst realistic one, not the demo.