06 · Capabilities
Opt-in

Route management

Plan a field rep's delivery/visit route as an ordered list of customer stops, dispatch it, and record per-stop outcomes as the rep works the walk.

5 min read · updated 28/05/2026

Opt-in Capability · off

Route Management is switched offRoute Management

You can read the guide. An owner or manager flips this Capability on in settings — it then lights up across the app.

Overview

Your field rep walks the same beat every week — 12 shops, in a set order, collect orders and dues at each. Today that plan lives in his head or on a paper chit. Route management turns the beat into a saved list of stops you can dispatch to the rep's phone, then see exactly which shops he hit, which he skipped, and which turned into an order.

Opt-in Capability · off

Route Management is switched offRoute Management

You can read the guide. An owner or manager flips this Capability on in settings — it then lights up across the app.

This is an opt-in Capability — the Owner enables it per tenant. Be honest with yourself before you lean on it: route management is built but not yet switched on in the live app. The screens and tRPC procedures exist in the codebase, but the router is not mounted and capability.route-management is not a seeded catalog row, so no role — not even Owner — holds its permissions yet. Treat this page as the shape of the feature; enablement lands in a later release.

Where to find it

There is no live route-management screen in the app today. When the Capability is wired up, route planning sits on the desktop admin shell and per-stop recording happens on the field rep's mobile app (the rep's load-bearing action is recording a stop outcome from the phone). It builds on the field rep master — you assign each route to a rep, and route performance rolls up into that rep's scorecard.

Key concepts

  • Route — a reusable template: a name, the field rep who walks it, a schedule, and an ordered list of stops. This is the plan, not a single day's walk.
  • Planned stop — one customer on the route, with a sequence number and an optional planned visit time. Each customer appears once per route.
  • Route execution — one actual day's run of a route. When you dispatch a route, Neev forks one execution and freezes a copy of the stops into it, so editing the plan tomorrow never reshuffles a walk already in progress.
  • Stop outcome — what happened at a stop. Four values: pending (not reached yet), visited, skipped, failed. A visited stop can carry a note and link to the order it produced.
  • Route lifecycle — every route moves through five states: draft → published → in_progress → completed, with cancelled reachable from any non-terminal state. Completed and cancelled are final.

Common workflows

1
Build the route
Create a route, name it, pick the field rep who walks it, set the schedule, and add the customer stops in the order he should visit them. Each stop gets a sequence number; you can give it a planned visit time and a note.
2
Edit the plan while it's a draft
Add, remove, or reorder stops while the route is still a draft. Two stops cannot share the same sequence number, and a customer cannot appear twice on one route.
3
Publish, then dispatch
Move the route from draft to published, then to in_progress. Entering in_progress forks one execution for the day and snapshots the current stops into it.
4
Record each stop
As the rep works the beat on his phone, he marks each stop visited, skipped, or failed — with a note, and a link to any order he took. Once a stop is recorded it's locked; he can't re-record it.
5
Close the day
Move the route to completed when the walk is done, or cancel it if the rep couldn't run it. Both are final.

Route performance — completion rate per route, visited-stop rate, and a per-rep summary — rolls up across executions so a manager can read the whole beat at a glance.

Role notes

This Capability is Owner-only by default. All six permissions — read routes, create/update routes, edit planned stops, dispatch (lifecycle), complete, and record a per-stop outcome — bind to Owner when the Capability is turned on. No other role gets them by default; the Owner can grant individual keys to a Manager or field rep through the role editor once the Capability is live.

Warning
Even the Owner does not hold route-management permissions yet. These permission declarations are not currently registered into the live catalog, so the Capability is dark for everyone until a later release wires it on. Nothing here is something a role can do in the app today.

Tips & time-savers

Tip
Sequence the stops the way the rep actually drives — nearest first, then outward. The order you save is the order he sees on the phone, so a tight sequence saves him backtracking across town. Set a planned visit time on the long stops so a slow shop doesn't blow up the rest of the beat.

Dispatch snapshots the stops into the day's execution, so you can keep tidying the master route for next week without disturbing the walk already running.

Gotchas

Warning
You can only edit a route while it is a draft. Once you publish or dispatch it, the plan is locked — to change stops you cancel the route and build a new one, or move it back to draft (not available in this release). And completed or cancelled are dead ends: there is no re-open. Don't cancel a route you only meant to pause.

A recorded stop is final too. Marking a stop visited, skipped, or failed locks that stop — the rep can't flip it afterwards, so make sure he records the real outcome the first time.

Related