Six drivers, fair shares, no door twice
Yi-ting runs a small family delivery company in Taipei, with six drivers and orders from three online shops.
Listen to the story:
The challenge
Every morning she prints the orders and splits them by hand. The same customer often orders from two shops, so two drivers climb to the same flat. Some drivers get all the far stops in Neihu, others finish by noon, and arguments start before nine.
How the flow works
With xMap Flows, Yi-ting built Swift. Swift is an AI employee: a flow of 6 blocks.
Every morning at seven,
Every morning at 7 (Schedule)
Swift takes the day's orders from all three shops,
Today's orders (My data)
keeps one stop for each address,
One stop per address (Remove duplicates)
splits the city into six fair areas, one for each driver,
Six fair areas (Split by territory)
plans each driver's route in the best order,
A route per driver (Route planner)
and puts every route in the drivers' shared sheet.
The drivers' sheet (Google Sheets)
What it solves
- Two drivers, one door: solved by Remove duplicates
- Unfair splits: solved by Split by territory
- Hours sorting by hand: solved by Split by territory and Route planner and Google Sheets
The result
This morning there are one hundred and forty orders. Swift finds eighteen going to a door already on the list, so the drivers make one hundred and twenty two stops, about twenty each. Everyone finishes by four, and nobody argues.
Yi-ting used to referee her drivers. Now she just waves them off.
An illustrative scenario: the figures are modelled to show what the flow produces, not a customer's results.
The flow, block by block
- 1
- 2
Today's orders
Brings in a table you uploaded or a list you saved on the My data page: your stores, customers, target accounts or sites.
- 3
One stop per address
Keeps one of each item when the same one arrives more than once, for example from two searches that overlap.
- 4
Six fair areas
Shares the items out between your reps by area: compact territories of about the same size, so every rep gets a fair share close together.
- 5
A route per driver
Puts the places that reach it in the best order to visit them in a day, from a start you pick: one route, one for each rep (by a field such as owner), or shared out between a number of reps.
- 6
Templates to build it
Ready-made flows with the same blocks. Open one, change the city and the kind of place, and run it.
- Trade counters near each van baseThe best trade counters near each van base, for parts.
- Hotels and campgrounds for contractors near remote sitesPlaces to stay near each remote site, for shutdown contractors.
- Ice suppliers and cold stores near landing sitesIce and cold stores near each landing site.
- Feed and supply stores near our fish farmsFeed and supply stores near each fish farm.
- Truck workshops near each depotTruck workshops near each depot, the best-rated first.
- Container terminals and depots near my customersContainer terminals and yards near each customer site.
Industries
Learn how it works
- Territory planningDividing a market into areas for reps or teams.
- Route planningPutting a day's visits into a good order, for one rep or several.
- Data enrichmentAdding details to records you already have.
- Check in at each stop on your phoneToday’s visits in order: navigate, then say what happened, add a note and a photo.
- Share results out between your reps by areaFair, compact territories, one for each rep.
- Plan the day’s routes for your repsPut the stops in the best order, one route or one for each rep, with directions links.
More stories from Logistics & ports
- Five riders who never sit in a closed roadThabo runs a small motorbike courier company in Johannesburg, with five riders and a lot of parcels.
- The dock knows before the load gets warmZoe runs cold chain dispatch at a large chilled food distributor in Brisbane.
- Twenty new lockers, every one where people liveBen plans the parcel locker network for a large delivery company in Vancouver.
- Not one sofa caught in the afternoon stormGabriela runs a small furniture delivery business in Panama City, with two vans and a lot of sofas.
Build this flow on your own city
Run a live search on the home page without an account, or let Ask xMap build the flow from one sentence.