FlowsBook a callSign inCreate free accountSign up
Workflows by industry

How pharmacy wholesalers plan their daily delivery rounds

Pharmacy delivery route planning for wholesalers: share pharmacies fairly between vans, order each round from the depot, and work around road closures.

Part of the guide Workflow automation

By the xMap team · · 5 min read

Pharmacy delivery route planning for a wholesaler is three jobs in a row: decide which pharmacies each van serves so the days are about equal, put each van's stops in the order that wastes the least road, and check the morning's road closures before the drivers leave. Done by hand for a few dozen stops it takes a dispatcher an hour; done by an AI employee it lands in the drivers' messages before they arrive.

This is for distribution and operations managers at pharmaceutical wholesalers, and for the logistics partners who run their vans. It covers how many pharmacies a city holds, how to split them, how the route order is worked out, what the planner cannot do, and how to automate the morning.

How big the job is

Pharmacies are dense in big cities, and independents need frequent small deliveries. xMap's places database lists 519 pharmacies within 10 km of the centre of Toronto and 866 within 10 km of the centre of London (November 2026). Of the 438 nearest the centre of each city, 319 are independent in Toronto and 347 in London; the rest belong to chains, which are often served from their own warehouses.

519Toronto, listed
866London, listed
319 / 347Independent, of the 438 nearest (Toronto / London)
Pharmacies within 10 km of each city centre, xMap's places database, November 2026; the independent counts are of the 438 nearest each centre.

A wholesaler does not deliver to all of them, but the numbers show why rounds cannot be planned on paper for long: customers come and go, and a new independent opening down the street from an existing stop is both a lead and a change to tomorrow's route.

Step one: share the pharmacies between vans

Before ordering stops, decide who goes where. The Split by territory block shares the items that reach it between a number of reps, or named people, by area: compact groups of about the same size, named by direction from the middle, such as North and South West. Each pharmacy gets an owner field with its van or driver. Fair territories matter more than perfect routes: a van that gets 40 stops while another gets 15 makes the whole plan fail by lunchtime.

Step two: order each round

The Route planner block then puts each van's stops in the best order from a start you pick, usually the depot. Set Routes to one route for each rep and point it at the owner field from the territory split. Each stop gets its place in the route, the distance and minutes from the stop before, the route's totals, and a directions link the driver can open on a phone. Come back to the start adds the last leg home to the totals. A route holds up to 50 stops; past that, the extra stops are listed after the routes so nothing is silently lost.

Step three: check the roads before leaving

A perfect order is useless if the bridge on stop four is closed. Traffic incidents lists road closures, roadworks and other incidents around each stop or across an area at the moment it runs. Run it at 6 am and attach anything within a few hundred metres of a stop to that van's message, so the driver knows before setting off rather than at the barrier.

A morning in practice

Here is how a made-up wholesaler in Toronto runs it with three vans and about 70 customer pharmacies:

  1. At 5:45 the flow reads today's delivery list from a table the order system updates overnight.
  2. Split by territory shares the stops between the three drivers by area.
  3. Route planner orders each driver's stops from the depot and back.
  4. Traffic incidents checks for closures near any stop.
  5. Each driver gets a message with the ordered stops, the directions links and any closure warnings; the dispatcher gets a summary with each route's kilometres and minutes.

The driver names, counts and times are an illustration. The order of steps is the useful part: who first, then in what order, then what has changed on the roads.

Where new customers come from

The same data helps sales. A weekly search with Nearby places for pharmacies in your delivery area, matched against your customer table with Match with my table and kept only when not found, gives the independents you do not serve yet, with their rating and phone. Those already on a round's path are the cheapest to add.

Mistakes that make rounds run late

  • Planning routes before territories. Unequal days cannot be fixed by reordering stops.
  • Reusing yesterday's plan. The list changes daily; so do the roads.
  • Ignoring urgent or timed deliveries. The planner treats every stop alike, so mark the exceptions yourself.
  • Sending a long list without links. Drivers need one tap per stop, not addresses to type.

As an AI employee

The whole morning is one flow: Schedule at 5:45 on weekdays, My data for today's stops, Split by territory, Route planner, Traffic incidents, and an Email or a message per driver. Start from New outlets, graded and routed to each rep or Clinics for my lab's sample pick-up route, which already plan rounds; Independent pharmacies to open covers the sales side. More on dispatch and daily field work is in the guide to an AI employee for field operations.

Questions

Can the route planner handle delivery time windows?

No. It orders stops by travel on the roads from the start you pick. Timed or urgent deliveries need to be placed by hand or planned as a separate route.

How many stops can one route hold?

Up to 50. Stops past that are listed after the routes so you can see them, and you can share the work between more vans with Split by territory.

Do drivers need an app?

No. Each stop comes with a directions link that opens on a phone, and the routes can be sent by email or a messaging app the team already uses.

Can it warn about road closures?

Yes. Traffic incidents lists closures and roadworks around each stop at the time it runs, so a 6 am check catches most of the day's surprises.

Templates that do this

Read next

More on workflows by industry · 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.