How transit agencies send riders bus delay alerts from road incidents
Riders forgive a late bus they were told about. How a transit agency turns closures and roadworks on its corridors into a short morning note before people leave home.
Part of the guide Location intelligence automation
Transit agencies send bus delay alerts from road incidents by checking the streets along each line early in the morning, keeping only the closures and roadworks close enough to a stop to slow the bus, and turning those into a plain note that riders read before they leave home: which line, which stops, roughly what to expect. The check is automatic; a person approves the wording before it goes out.
This is written for the people who talk to riders: customer information teams, social media and app editors at city transit agencies, and small operators who run a few routes for a town or a university. Planning the diversion itself is a control room job and is covered elsewhere. Here the question is narrower: how do you find out early, and what do you say?
What riders actually need to hear
A rider standing at a stop wants three things: is my bus affected, where should I wait, and how late might it be. Everything else is noise. A notice that lists every roadwork in the city teaches people to ignore notices. A notice that names their line and their stop gets read, forwarded to a partner and remembered the next time a bus runs late.
That shapes the whole job. The search starts from your stops, not from a city map, and the message is written per line, in the language and tone your agency already uses on its signs.
Finding the incidents that touch a line
The Traffic incidents block reads closures, roadworks and other incidents from online maps as they are when the flow runs. Set to look around each incoming place, it gives every stop a count of incidents nearby and the closest one, with its kind, its street and how far away it is.
- Your stop table is the starting point. One row per stop with its line, its name as printed on the pole, and its position. Upload it once to My data and keep it current when stops move.
- A short distance keeps the note honest. Around 250 to 400 metres catches the street the bus actually drives down. A kilometre flags half the city centre every day.
- Kind matters to the wording. A road closure usually means skipped stops; roadworks usually mean a slower trip; an incident may clear within the hour. Accidents currently arrive typed as road closures.
- Positions are approximate. They are good to about 150 metres, so the note should say 'near' a stop, never 'at' it.
Live speeds help with the second question, how late. Traffic Flow adds the current speed, the free-flow speed and a jam factor from 0 to 10 for the roads around each stop at the moment it runs. It never counts vehicles, so it cannot say how many buses are stuck, but a stop where traffic moves at a third of its usual speed is a fair reason to tell riders to allow extra time.
A made-up Tuesday in Kuala Lumpur
Say an imaginary agency runs 20 bus lines in Kuala Lumpur. At 05:30 the check runs over all its stops. It finds roadworks within 300 metres of five consecutive stops on Line 7, a road closure beside two stops on Line 12, and a single incident near one stop on Line 3. Traffic Flow shows the Line 7 roads moving at well under half their free-flow speed; the Line 3 street is moving normally.
The draft that reaches the information desk reads something like this, and none of these figures is measured:
- Line 7: roadworks near five stops between the market and the hospital. Expect slower journeys this morning; buses still serve every stop.
- Line 12: a road is closed near two stops on the riverside. Buses may not reach those two stops; please wait at the next stop on the main road.
- Line 3: no notice. One incident nearby, but traffic is moving normally. Checked again at 07:00.
The editor changes one word, approves it, and the note goes to the agency's app team and its social media desk at 05:50, before most riders are awake. Nobody had to read a city-wide incident list to write it.
Timing the check around the rider's day
Most agencies run the check twice: before the first departures, so the morning notice is ready when people plan their commute, and again around midday for the evening peak. Busy networks run it hourly during service and send a message only when something new appears. On a quiet morning the right output is nothing at all, and the flow should be set up so that silence means no incidents near any stop.
For a handful of interchanges that matter most, a different start makes sense. The When something changes trigger checks up to five places for a new road closure as often as every 15 minutes and runs only when one appears, which suits a central bus station better than a daily schedule.
Mistakes that make riders stop reading
- Sending raw incident lists. Riders do not know street names behind their stop. Translate every incident into a line and a stop name.
- Promising minutes you cannot measure. A jam factor tells you traffic is slow, not that the bus is exactly 12 minutes late. Say 'allow extra time'.
- No second check. A closure that cleared at 07:00 but stays in the app all day costs more trust than it saved.
- Skipping the human. One badly worded notice spreads fast. An approval step costs a minute.
- Forgetting other languages. If your signs are in two languages, the note should be too; the AI can draft both from the same facts.
How to set it up as an AI employee
This is the kind of routine work an AI employee does well, and it sits alongside the other operations jobs described in the guide to AI employees for field operations. Start from the template Closures that need bus diversions, every hour and change the final message, or build it from the blocks in this order:
- Schedule: weekdays at 05:30 and 11:30 in your city's time zone.
- My data: your stop table, with line, stop name and position.
- Traffic incidents: around each incoming place, within 300 m.
- Filter: keep stops where incidents_nearby is greater than 0.
- Traffic Flow: the roads next to each remaining stop.
- xMap LLM, working on the whole list: one short rider notice per line, in your agency's tone, saying 'near' rather than 'at'.
- Approval: the duty editor reads it and approves or edits.
- Email or a Slack message to the app and social media team, with a map of the affected stops.
What lands in the inbox is a short, approved note grouped by line, with the stops named as riders know them, the kind of problem, a hint about delay from the live speeds, and a map. If nothing is near any stop, nothing is sent. The template Rain coming: service and crowding note follows the same pattern for weather, and the two can feed the same desk.
Questions
Can this post straight to our app or social accounts?
It can send the approved note by email, to Slack, to a shared spreadsheet or to an API address your app team provides. Many agencies keep the final publish step with a person, which the Approval block makes easy.
Does it know how late a bus will be?
No. It knows where incidents are and how fast traffic is moving around each stop right now. Exact delays come from your own vehicle tracking, which the note can point riders to.
Will it catch planned works next month?
It shows what is on online maps when it runs, which includes works already in place. Notices of works far ahead are best taken from the road authority.
How do I keep notices short on a bad day?
Ask the xMap LLM step to cap the note at a few lines, list the most affected lines first and send the rest as a link to the map.