A grocery store, pharmacy, water can dealer or tiffin service with two or three riders usually plans deliveries the same way every morning: the owner splits the orders by memory, each rider decides his own order of stops, and two riders end up in the same colony while a third crosses town twice. A delivery route planner built around the shop’s own customers fixes that in about a minute, without buying a fleet management system.
Typed addresses in Indian towns are a poor input for any map: “near temple, second lane, blue gate” means nothing to software. Converting address text into map points puts many customers in the wrong colony. So this planner never routes from address text. It routes only from saved locations.
The first time a rider reaches a new customer, he shares his location on Telegram. That point is saved against the customer’s phone number, and the reply says “Saved for next time.” From then on, the same phone number always maps to the same doorstep. In practice, a shop’s regular customers are almost all pinned within about two weeks.
Orders without a saved pin are not guessed. They go on a Needs Pin list and are added at the end of the nearest rider’s route with the customer’s landmark, so the rider can find them and save the pin on arrival.
| Tab | Columns | Notes |
|---|---|---|
| Orders | Order No, customer, phone, address, amount, payment type, status, run, deliver by, units, pincode | Route sequence, rider and run date are written back |
| Customer Locations | Phone, name, latitude, longitude, landmark, delivery note | Phone is the key; landmark is shown, never routed |
| Riders | Name, Telegram chat ID, capacity, on duty, usual days off | Each rider starts the bot once |
| Settings | Maximum distance for the last evening wave | Keeps late runs close to the shop |
Capacity matters for heavy goods. A scooter might carry six 20-litre water cans or two gas cylinders, and no route is allowed to exceed that.
When orders are packed and marked Ready, the owner taps Dispatch on Telegram. An n8n workflow reads the ready orders, joins them to saved locations by phone number, and sends all riders and stops in one request to the openrouteservice optimisation service, which is open source and has a free key. Each rider is a vehicle that starts and ends at the shop with his capacity; each order is a job with its units, two minutes of service time and, where needed, a deliver-by time.
Two rules keep the plan fair and useful:
One technical trap is worth knowing: the routing service expects longitude first, while Google Maps links expect latitude first. Mixing them up sends routes into the sea, so label the coordinates clearly in the workflow.
Each rider gets a short message with one line per stop: customer name, items, amount, payment type and landmark. Under it is a Google Maps link with the stops in order, built using Google Maps URLs, which open in the normal Maps app at no cost. Long routes are split into parts of up to nine stops, because very long links fail on older phones.
At each stop the rider taps Done, Not Home or Cash Collected with the amount. Each button turns into a tick after one tap to prevent double entries, and the owner’s pinned message updates live, for example “Rider 1: 6 of 14”.
If the service is down or the free key runs out, the planner falls back to a simpler method that still keeps riders apart:
It is cruder than a full optimisation, but no two riders ever share a lane, and deliveries still go out on time.
Evening deliveries run in waves, for example at 5, 6 and 7 pm, each routing only the orders that became Ready since the last wave and only the riders back at the shop. Any Not Home order from the morning moves to the evening run automatically, and the customer gets a message saying the rider will return. If a customer adds an item after dispatch, the extra item goes to the rider already on that route as a one-line note with the stop number, without re-planning everyone’s route. The last wave never goes beyond the distance set in Settings; anything further moves to the next morning.
Each stop shows whether it is prepaid, cash on delivery or UPI on delivery. For UPI on delivery, the Cash Collected tap asks the owner’s phone to confirm the credit before the stop closes, because a fake UPI payment screenshot is the most common doorstep trick. High-value orders, such as a full month’s groceries or costly medicines, get a call-before step, and the owner sets a value above which goods are never handed over on a screenshot alone. Shops that take orders on WhatsApp should also confirm COD orders before dispatch, so riders do not travel to fake orders.
| Check | How | Pass |
|---|---|---|
| Shop pin | Open a one-stop Maps link | Starts at the shop gate |
| Capacity | Rider capacity 2, five heavy orders | No route above 2 units |
| Deliver-by time | One order due by 8 am | Appears early in the route |
| No pin | Remove one saved pin | Appears last, with landmark |
| Service down | Use a wrong key | Fallback routes still arrive |
| Double tap | Tap Done twice | Counted once |
| Cash | Tap ₹640 collected | Rider’s closing total is correct |
For a small shop, this delivery route planner costs very little. The routing service’s free tier covers a small shop, Google Maps links and Telegram bots are free, and self-hosted n8n costs only the server. A shop with one counter can build the same flow in Google Sheets with Apps Script in about 200 lines.
The same dispatch logic carries over to other jobs in the business. A shop with two branches can plan the van that carries an inventory transfer between branches on the same route sheet. When my team sets this up, day one is simple: save the shop’s own pin at the gate, add the riders, and let the riders collect pins for the top 50 customers during their next few runs.
2 Comments
[…] For owners who are often away and want both branches visible from anywhere, this sits well beside the setup for a shop owner on leave. And the van’s route itself can be planned with the same thinking as delivery boy route automation for local shops. […]
[…] Sales target pacing automation is most useful when the shop has quick, cheap actions ready. Calling people you already know works far better than discounts, and talking to customers, as I wrote in my piece on finding ideas by talking to people, is the cheapest action on any menu. For shops that deliver, a weekend free-delivery action runs smoothly with delivery route planning for local shops. […]