FlowsBook a callSign inCreate free accountSign up
Roads and traffic

Traffic and the timing of store deliveries: picking the right drop window

When should the lorry reach each shop? How to use live road speeds, closures and your own records to set delivery windows that drivers can actually keep.

Part of the guide Location intelligence automation

By the xMap team · · 5 min read

The right delivery window for a store is the slot when the roads around it move freely, the loading bay is usable and staff are there to receive, and the only reliable way to find it is to measure the roads at the times you are considering, store by store, over a few weeks. Live road speeds and the jam factor show how traffic moves near each shop at the moment of measurement; repeated at fixed times, they build a picture of which slots stay clear and which jam. Closures are checked the morning of the drop.

This article is for retail supply chain and replenishment teams, transport planners at wholesalers, and franchise operations managers who agree delivery slots with store managers. It covers what a delivery window must fit, how to measure traffic for it honestly, a worked example, the usual planning mistakes, and how an AI employee gathers the measurements for you.

What a delivery window has to fit

A window is a compromise between the store, the street and the fleet. It must fit:

  • The street: when traffic near the store is light enough that a large vehicle can reach it and stop.
  • Local rules: loading restrictions and quiet hours set by the city or the landlord.
  • The store: a member of staff free to receive and check the goods, before the doors open or in a lull.
  • The route: the slot before and after on the same driver's day.

Traffic is only one of the four, but it is the one that changes most from street to street, and the one guessed most often.

Measuring traffic for delivery slots

The Traffic Flow block measures the roads around each place at the moment it runs: the current speed, the free-flow speed, the jam factor from 0 (free) to 10 (standstill), the congestion as a percentage, and the busiest road nearby. It does not count vehicles and has no built-in history of peak hours. To learn which slot is clearer, run it at each candidate time and keep the results.

  1. Choose the candidate slots, for example 5:30, 7:00 and 10:30.
  2. Run the measurement at each slot on working days, for at least three or four weeks.
  3. Save every result to a table: store, time, speed, jam factor, congestion.
  4. For each store, compare the slots on the average jam factor and on how often it was heavy.

On the morning itself, Traffic incidents lists closures and roadworks near each store, so a driver can be warned before setting off.

A worked example

A made-up example: a pharmacy chain in Lagos delivers to 30 branches from one warehouse and wants to move as many drops as possible out of the 7:00 slot, which drivers say is the worst.

For four weeks, an AI employee measures the roads around every branch at 5:30, 7:00 and 10:30 on weekdays and saves the results. The pattern that comes out (invented here) is mixed:

  • Twenty branches are clearly freer at 5:30 than at 7:00, with the jam factor often below 2 early and above 6 later.
  • Six branches near the island crossings are heavy at every slot measured; for them, 10:30 is only slightly better.
  • Four branches on quiet residential streets show little difference, so they stay at 7:00, when staff arrive.

The planner moves the twenty to an early slot, agrees a 10:30 drop with the six where staff can receive mid-morning, and leaves the four alone. Nothing about the figures is a forecast; they are what was measured at those times, which is why four weeks beats one.

Mistakes in setting delivery windows

  • Measuring once. A single morning can be a holiday or a rainy day. Measure the same slot many times.
  • Reading speed as volume. A slow road is a congested one, but the measurement does not tell you how many vehicles are on it.
  • Ignoring the last 200 metres. A main road can be clear while the side street to the loading bay is blocked. Measure the adjacent roads, not only the nearest artery.
  • Setting windows by region. Two stores a kilometre apart can have opposite best slots.
  • Forgetting the store. A clear road at 5:30 is useless if nobody is there to sign for the goods.

An AI employee that gathers the measurements

Two small AI employees in xMap Flows do this work. The first measures and saves:

  1. Schedule: several times a day on weekdays, at your candidate slots, in the stores' time zone.
  2. My data: your stores with their positions.
  3. Traffic Flow: the adjacent roads around each store.
  4. A Google Sheets app block, or Save to my database: one row per store per run.

The second runs each delivery morning: Schedule before dispatch, My data with today's drops, Traffic incidents around each, a Filter to keep only stores with a closure nearby, and an Email to the transport desk. What lands in the inbox is short: the stores with a problem on the way, and where the closure is. The Daily operations briefing for every hub and Road closures near my depots, every hour templates are close to the second flow.

Questions

Can xMap Flows tell me how many cars pass my store at each hour?

Only for main roads in the United Arab Emirates, through Road traffic history. Elsewhere it gives live speeds and the jam factor at the time it runs.

How long should I measure before changing a delivery slot?

Three or four weeks of working days at each candidate time gives a fair picture; one week can mislead.

Does Traffic Flow predict tomorrow's traffic?

No. It measures traffic when it runs. Repeating it at fixed times builds your own history to compare slots.

Can drivers be warned about closures on the morning?

Yes. Traffic incidents lists closures and roadworks near each store, and a flow can email or message the desk before dispatch.

Templates that do this

Read next

More on roads and traffic · Every article · Templates

Put it to work

An AI employee in xMap Flows does this on live data, on its own timetable. Start from a template or describe it in plain words.