Surplus logo
Surplus Docsby Sharing Excess
GuidesAdmins

Managing routes

Routes are the backbone of field logistics in Surplus. As an admin, you create routes, assign drivers, configure stops, and monitor execution.

The routes list

The routes section shows all routes in the system, filterable by date, status, and other criteria. Each route card shows its date, stop count, assigned drivers, and current status.

Routes list view (desktop)
Routes list view (mobile)

Creating a route

To create a new route:

  1. Open the routes section and tap Create route
  2. Set the scheduled date and time
  3. Optionally assign a carrier and drivers
  4. Add stops in the desired sequence
Creating a new route (desktop)
Creating a new route (mobile)

Stop types

Each stop you add must be one of:

TypePurpose
CollectionPick up food from a donor location
DistributionDeliver food to a recipient location
LoadPick up staged inventory from a hub
UnloadDrop off items at a hub

Stop ordering

Stops execute in sequence. Consider the logical flow:

  • Collections before distributions (you need food before you can deliver it)
  • Loads before distributions that reference that hub (hub-connected deliveries require the load to happen first)
  • Unloads after collections if food needs to go through a hub before redistribution

Driver assignment

  • Drivers must belong to the route's carrier (if a carrier is set)
  • A route can have multiple drivers
  • Routes without drivers can still be created and assigned later

Route detail view

Once created, the route detail shows all stops, their status, assigned drivers, and timing information.

Route detail view (desktop)
Route detail view (mobile)

Route lifecycle

StatusMeaningTransitions
ScheduledPlanned, not started→ Active, → Cancelled
ActiveIn progress (driver is on the road)→ Completed, → Cancelled
CompletedAll stops done, vehicle empty→ Active (admin un-complete)
CancelledAbandoned (terminal)None

Activating a route

A route moves to active when the driver starts it. This signals the operation is underway.

Completing a route

A route can only be completed when:

  • All non-cancelled stops are completed
  • At least 2 non-cancelled stops exist
  • The vehicle is empty (no items with routeId set)

Cancelling a route

Cancelling a route is a significant action that:

  • Cancels all child events (collections, distributions, loads, unloads)
  • Returns hub-sourced inventory to its original warehouse
  • Removes any remaining on-vehicle items

Use cancellation when a route truly cannot be executed — not for minor adjustments.

Administrative actions

Un-completing a route

If a completed route has errors, admins can un-complete it to return it to active status. This allows stops to be modified or un-completed individually.

Editing stops

On a scheduled or active route, admins can:

  • Reorder stops
  • Add or remove stops
  • Cancel individual stops
  • Modify stop details (donor, recipient, hub assignments)

Cost sharing and carrier fees

Routes carry an optional carrier fee and an awaiting fees state; collection and distribution stops can override default cost share rates from the donor or recipient agreement. See Cost sharing and carrier fees for how CSAs, overrides, carrier fees, and invoicing fit together.