Dispatching
Route dispatching workflow — driver assignment, vehicle assignment, and route status progression from draft to in-progress.
Dispatching
Dispatching is the process of assigning a driver to a route and sending it to their mobile app. It is the bridge between route planning (done by dispatchers in the web dashboard) and route execution (done by drivers in the field).
Dispatching Workflow
1. Review the Route
Before dispatching, review the draft route:
- Verify the stop list is correct
- Ensure no stops need to be added or removed
- Check that the route has been optimized for efficient travel
2. Assign a Driver
Each route needs a driver. Drivers can be assigned in three ways:
- Zone default: If the service zone has a
default_driver_id, it is automatically inherited by generated routes - Manual assignment: Select a driver from the dropdown on the route detail page
- API: Set
driver_idwhen creating or updating the route
3. Assign a Vehicle (Optional)
Vehicles can be assigned similarly:
- Zone default: Inherited from
default_vehicle_idon the zone - Manual assignment: Select from the vehicle dropdown
- API: Set
vehicle_idon the route
4. Dispatch
Click the Dispatch button (or update the route status to dispatched via API). This:
- Changes the route status from
draft(oroptimized) todispatched - Sends a push notification to the assigned driver's mobile device
- Makes the route visible in the driver's mobile app
- Records the status change in the audit log
From the API
PUT https://api.nextroute.app/api/routes/:id
Authorization: Bearer <token>
Content-Type: application/json
{
"status": "dispatched",
"driver_id": "driver_abc123",
"vehicle_id": "vehicle_def456"
}Route Status Progression
| Transition | Triggered By | Effect |
|---|---|---|
draft → optimized | Dispatcher optimizes route | Stop sequence reordered |
draft/optimized → dispatched | Dispatcher dispatches | Push notification sent to driver |
dispatched → in_progress | Driver taps "Start Route" | GPS tracking begins |
in_progress → completed | All stops completed/skipped | Route locked, billing triggered |
Bulk Dispatching
You can dispatch multiple routes at once from the Daily Routes view:
- Go to Daily Routes
- Select the date
- Check the routes you want to dispatch
- Click Dispatch Selected
All selected routes are dispatched simultaneously, and each assigned driver receives a push notification.
Driver Notification
When a route is dispatched, the assigned driver receives:
- Push notification on their mobile device with the route name and date
- The route appears in their active routes list in the mobile app
Drivers can view the route stops, navigate to addresses, and begin completing stops once dispatched.
Undispatching
If you need to pull a route back (e.g., driver called in sick):
- Change the route's driver to a different team member
- The new driver receives a notification
- Or change the status back to
draftif the route should not be executed today
Note: Once a route is
in_progress, it cannot be undispatched. Individual stops can still be modified.
Related
- Daily Routes — route lifecycle and stop statuses
- Driver Mobile App — how drivers interact with dispatched routes
- Live Tracking — monitoring routes in progress