Challenge: the customer learns about a delivery delay only when they call themselves
A road transport company (illustrative example) handles less-than-truckload shipments for several dozen regular business customers. Orders go into a TMS, a program for planning and managing transport, while vehicle positions are visible in a separate telematics platform. From time to time a dispatcher checks the map, compares it with the route plan, and judges whether the driver will make the delivery window. When something looks worrying, they call the driver, then look up the customer's contact in the TMS and write a message from scratch. At the busiest time of day, with several breakdowns at once, some of these cases simply slip through.
This process had three recurring problems:
- delays detected late, often only after a call from an upset customer,
- data scattered across the TMS, the telematics platform, and the email inbox, so every case requires copying information between them,
- messages to customers written in a hurry, differently each time, and with no trace in the order history.
Solution: from vehicle position to an approved message for the customer
Automation connects route data with vehicle data, flags at-risk deliveries on its own, and prepares a message that the dispatcher approves with one click.
- Scheduled data collection – a workflow in n8n is triggered every few minutes by a schedule trigger. It pulls today's orders with delivery windows from the TMS and current vehicle positions from the telematics platform. Urgent events, such as a driver reporting a breakdown in the app, reach n8n immediately via a webhook.
- Calculating delay risk – for each order, the system compares the estimated arrival time with the delivery window. The company sets the rules: for example, an order is marked as “at risk” when the time buffer drops below a threshold set for that customer.
- Gathering context – the customer's data from the CRM is attached to the at-risk order: the contact person, the preferred channel, and recent arrangements. The dispatcher sees everything on one card, without switching between systems.
- Drafting the message – an AI agent prepares a short message with the new estimated time and the reason for the delay, based on templates approved by the company. It does not promise anything that is not in the data.
- Dispatcher's approval – the card goes to the team's shared channel. The dispatcher can send the message, edit it, or decide that the case needs no contact because, for example, the driver will make up the time.
- Sending and logging – after approval, the message goes to the customer by email or SMS, and its content, time, and the dispatcher's decision are saved in the order history in the TMS.
Data on the location of a vehicle assigned to a specific driver may be personal data, so drivers should know that vehicles are monitored and for what purpose. We raise this with the company as early as the audit stage.
Sample timeline: 7 weeks from design to a working process
- Week 1 – audit and process mapping: a description of the current path from order to customer contact, a list of systems and rules, and the choice of metrics to measure,
- Weeks 2–3 – integrations: connecting n8n with the TMS, the telematics platform, and the CRM, and testing data retrieval,
- Week 4 – risk rules: setting thresholds for customers and routes, and testing on data from previous weeks,
- Week 5 – templates and the AI agent: preparing message templates, configuring the agent, and building the approval card for dispatchers,
- Weeks 6–7 – tests on a subset of routes, training for the dispatch team, adjustments, and full rollout.
What results to expect
Specific numbers depend on the starting point, so before rollout we measure a few indicators and compare them after the process goes live: the time from detecting a delay to notifying the customer, the share of delays the customer learned about from the company rather than on their own initiative, and the number of customer calls asking “where is my delivery.”
The direction of change is usually this:
- Detecting delays: from eyeballing the map to constant monitoring of all routes – the system checks every order, including at the most hectic hours.
- Response time: from hours to minutes – the customer gets the information before they start looking for it.
- The dispatcher's work: from copying data to making decisions – manually searching for contacts and writing messages from scratch goes away.
- Order history: from scattered emails to a single record – it is clear who told the customer what, and when.
Where a human decides
No message reaches a customer without the dispatcher's approval, because the dispatcher knows the driver, the route, and the relationship with the customer. The risk thresholds, the message templates, and the list of customers who need a phone call instead of an email are set by the head of freight forwarding together with the team, and the system only applies them. If the system wrongly flags an order as at risk, the dispatcher dismisses the alert with one click, and such cases are used to refine the rules. Decisions about changing the order of unloading, substituting another vehicle, or compensating a customer always stay with people. The team does not lose contact with customers – it gains time to talk where a conversation is really needed.
Takeaways
Automating delay notifications does not replace the dispatcher; it relieves them of constantly watching the map and retyping data. The biggest effect comes from three elements: a single source of truth about an order that connects the TMS with telematics, clear risk rules set by the team, and a short approval path in which a human approves every message.
If in your company customers call to ask about a delivery more often than they hear about a delay from you, that is usually the first sign it is worth starting with an audit of the current process.