Dispatch Team Tasks
A 3-step recipe with Onfleet. We can help you get access.
Recipe · 3 steps
Dispatch Team Tasks
with Onfleet · Last-Mile Delivery Operations Management
Baseline unassigned tasks, run team auto-dispatch, and re-check the queue.
- List currently unassigned tasks (state 0) to establish a baseline.
- Trigger Team Auto-Dispatch to batch and assign the team's open tasks.
- Re-list unassigned tasks to confirm the dispatch drained the queue.
What you'll need to have ready
- teamId: The team id to run auto-dispatch for.
- from: Start of the task search range in Unix milliseconds.
- to: End of the task search range in Unix milliseconds.
- maxTasksPerRoute: Optional cap on tasks per generated route.
For your developer
Arazzo workflow onfleet:dispatch-team-tasks, 3 operations: listTasks → teamAutoDispatch → listTasks. Specs on APIs.io.