capabilities.work

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.

  1. List currently unassigned tasks (state 0) to establish a baseline.
  2. Trigger Team Auto-Dispatch to batch and assign the team's open tasks.
  3. 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.