Skip to content

AI route planning for your own delivery fleet: where an AI Worker helps the dispatcher

DYNAMINDS Labs team · · 6 min

AI Workers

In brief

An AI Worker helps the dispatcher in three places: in the evening it builds next day's routes from orders to ship, customer time windows, vehicle capacity and driver rosters; during the day it replans after a new order or an absence; and throughout it points to deliveries at risk of being late. The dispatcher keeps control: approves the plan and decides on moving a delivery or handing a run to an outside carrier. What changes is the job itself: from planning from scratch to checking and correcting.

What a dispatcher does today

In a company with its own delivery fleet, say a building materials wholesaler or a beverage distributor, the dispatcher gets tomorrow's order list in the afternoon. They group orders by direction, check what fits into which vehicle, and remember that one customer accepts deliveries only until ten and another site cannot take a large truck. In the morning the changes arrive: an urgent order, a driver off sick, a vehicle in the workshop. The plan is rebuilt in their head and over the phone.

That knowledge is valuable but rarely written down. When the dispatcher goes on holiday, the stand-in plans worse because they do not know the exceptions. An AI Worker requires those exceptions to go into a rules card, and that is the first benefit of a deployment, before the first plan is even produced.

Constraints the plan must respect

The Route planner reads orders to ship and delivery addresses from the ERP, customer time windows and requirements, fleet data (vehicles, capacity, driver rosters) and trip history. From this it builds a plan that meets these constraints:

ConstraintWhere it comes fromExample
customer time windowcustomer record, order notesunloading 7:00–10:00, store closed on Sunday
vehicle payload and volumefleet records12 pallets, 6 t payload
delivery site requirementscustomer record, historyno access for trucks over 12 t, tail lift needed
driver driving and working timeroster, regulationsa break after 4.5 hours of driving
unloading sequencehow the truck is loadedlast loaded, first unloaded
customer or order priorityERP, salesperson's decisiona delivery to a construction site with a fixed date

Driving time is a legal constraint. For vehicles covered by Regulation (EC) No 561/2006, daily driving time must not exceed 9 hours (it may be extended to 10 hours twice a week), and after 4.5 hours of driving the driver takes a break of at least 45 minutes. In Poland, drivers' working time is also governed by the Act on Drivers' Working Time. Which rules apply to a given vehicle depends on, among other things, its weight and the type of transport, so this part of the rules card is approved by the person responsible for the fleet.

A day with an AI Worker

  1. After the order cut-off. The AI Worker groups orders and builds next day's routes. For each route it adds the sequence, estimated times, vehicle utilization and warnings, for example "delivery 7 is at the edge of its time window".
  2. The dispatcher's review. The dispatcher approves the plan or changes it, for example moving a customer to another route because they know something the data does not. Every change goes to a log, and recurring changes signal that the rules card needs updating.
  3. Sending the plan to drivers. A person sends the plan, because it is a binding decision for people and customers.
  4. Changes during the day. A new urgent order or a missing driver: the AI Worker replans and shows two or three options with their consequences ("adding it to route 2 moves two deliveries by 40 minutes, both still within their windows").
  5. Deliveries at risk. Based on route progress, the AI Worker points to deliveries that may miss their window and drafts a message to the customer. When goods travel with an outside carrier, this role is played by shipment tracking, described in Shipments across many carriers.

Moving a delivery to another day and handing a run to an outside carrier wait for the dispatcher's decision.

An AI Worker and route optimization software

A dedicated route optimization engine calculates the best stop sequence for given constraints. The AI Worker does not have to replace it. Its role sits around the optimization: it gathers data from orders and emails ("the customer asks for delivery after 12:00"), keeps the constraints up to date, explains the plan to the dispatcher and reacts to changes that arrive as message text rather than as a field in a system.

If the company already has a route planning system, the AI Worker prepares data for it and checks the output. If it does not, and the fleet is a handful of vehicles, the AI Worker's plan with the dispatcher's review is often enough. At large scale a separate engine makes sense, as in the case study on last-mile delivery route optimization, where routes had been planned from experience and changes during the day were handled by phone.

How to measure the effect and get started

Set the measures before the pilot: kilometers per delivery, deliveries outside the time window, payload utilization, dispatcher time spent planning, runs handed to outside carriers. For the pilot, order and trip history from two or three months and a written list of constraints are enough. The AI Worker builds plans for past days, and the team compares them with how the fleet actually drove. How such a test runs is described in An AI Worker pilot, and the principle that binding decisions stay with a person in Human in the loop.

DYNAMINDS Labs starts with a free diagnosis to check whether your data on orders, fleet and customers is enough for route planning.

Questions and answers

Will an AI Worker replace the dispatcher?

No. It takes over drafting the first version of the plan and recalculating changes, while the dispatcher approves the plan, sends it to drivers and decides on moves. The nature of the work changes: less planning from scratch, more checking and talking to customers about unusual cases.

How does the AI Worker know travel times?

From the fleet's trip history and distance data. History is more valuable because it shows the real unloading time at a specific customer and typical delays at a given time of day. Without history the estimates are more cautious, and the first weeks are used to correct them.

Do the vehicles need GPS?

Not to start. Next day's plan is built from orders and fleet data. Vehicle positions from GPS help with changes during the day and with flagging deliveries at risk, but the pilot can be done on historical data.

Does the AI Worker keep track of driver hours?

It takes into account the limits written in the rules card, such as a break after 4.5 hours of driving, and warns when a route does not fit them. The company remains responsible for compliance, and tachograph data and working time records are still kept in the systems built for that.

What it looks like in a project

Start with one task. Describe it, and DYNAMINDS Labs will prepare a free diagnosis.

Meet DYNAMINDS Labs

Read more: AI Workers

All in AI Workers →