Onfleet · Arazzo Workflow

Onfleet Dispatch Team Tasks

Version 1.0.0

Survey unassigned tasks, trigger team auto-dispatch, then re-check what remains.

1 workflow 2 source APIs 1 provider
View Spec View on GitHub Last Mile DeliveryLogisticsFleet ManagementDispatchRoute OptimizationCouriersDriversTrackingGeocodingWebhookArtificial IntelligenceSoftware-as-a-ServiceArazzoWorkflows

Provider

onfleet

Workflows

dispatch-team-tasks
Baseline unassigned tasks, run team auto-dispatch, and re-check the queue.
Lists unassigned tasks, triggers team auto-dispatch, and re-lists tasks to confirm the dispatch drained the queue.
3 steps inputs: from, maxTasksPerRoute, teamId, to outputs: tasksAfter, tasksBefore
1
baselineUnassigned
List currently unassigned tasks (state 0) to establish a baseline.
2
autoDispatch
Trigger Team Auto-Dispatch to batch and assign the team's open tasks.
3
recheckUnassigned
Re-list unassigned tasks to confirm the dispatch drained the queue.

Source API Descriptions

Arazzo Workflow Specification

Raw ↑
arazzo: 1.0.1
info:
  title: Onfleet Dispatch Team Tasks
  summary: Survey unassigned tasks, trigger team auto-dispatch, then re-check what remains.
  description: >-
    Sweeps a team's queue of open work and hands it to Onfleet's batching and
    routing engine. The workflow first lists the organization's unassigned tasks
    to establish a baseline, triggers Team Auto-Dispatch for the target team so
    open tasks are batched into routes and assigned to team workers, and then
    re-lists unassigned tasks to confirm the queue was drained. Every step spells
    out its request inline so the flow can be read and executed without opening
    the underlying OpenAPI descriptions.
  version: 1.0.0
  x-realizes-capability-ids:
  - BC-2420.40
  x-capability-derivation:
    method: 'deterministic join: sourceDescriptions -> per-tag OpenAPI -> tag/capability edge. No classification at this step.'
    min_confidence: 0.7
    sources:
    - capability_id: BC-2420.40
      capability_name: Last-Mile Delivery Operations Management
      spec: onfleet-tasks-api-openapi.yml
      confidence: 0.8
    model: Turbo EA Capabilities by Vincent Verdet — Turbo EA, https://github.com/vincentmakes/turbo-ea-capabilities, CC BY 4.0
sourceDescriptions:
- name: organizationsApi
  url: ../openapi/onfleet-organizations-api-openapi.yml
  type: openapi
- name: tasksApi
  url: ../openapi/onfleet-tasks-api-openapi.yml
  type: openapi
workflows:
- workflowId: dispatch-team-tasks
  summary: Baseline unassigned tasks, run team auto-dispatch, and re-check the queue.
  description: >-
    Lists unassigned tasks, triggers team auto-dispatch, and re-lists tasks to
    confirm the dispatch drained the queue.
  inputs:
    type: object
    required:
    - teamId
    - from
    properties:
      teamId:
        type: string
        description: The team id to run auto-dispatch for.
      from:
        type: integer
        description: Start of the task search range in Unix milliseconds.
      to:
        type: integer
        description: End of the task search range in Unix milliseconds.
      maxTasksPerRoute:
        type: integer
        description: Optional cap on tasks per generated route.
  steps:
  - stepId: baselineUnassigned
    description: List currently unassigned tasks (state 0) to establish a baseline.
    operationId: listTasks
    parameters:
    - name: from
      in: query
      value: $inputs.from
    - name: to
      in: query
      value: $inputs.to
    - name: state
      in: query
      value: "0"
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      tasksBefore: $response.body#/tasks
  - stepId: autoDispatch
    description: Trigger Team Auto-Dispatch to batch and assign the team's open tasks.
    operationId: teamAutoDispatch
    parameters:
    - name: teamId
      in: path
      value: $inputs.teamId
    requestBody:
      contentType: application/json
      payload:
        maxTasksPerRoute: $inputs.maxTasksPerRoute
    successCriteria:
    - condition: $statusCode == 200
  - stepId: recheckUnassigned
    description: Re-list unassigned tasks to confirm the dispatch drained the queue.
    operationId: listTasks
    parameters:
    - name: from
      in: query
      value: $inputs.from
    - name: to
      in: query
      value: $inputs.to
    - name: state
      in: query
      value: "0"
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      tasksAfter: $response.body#/tasks
  outputs:
    tasksBefore: $steps.baselineUnassigned.outputs.tasksBefore
    tasksAfter: $steps.recheckUnassigned.outputs.tasksAfter

Work with this as data

Every workflow here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for arazzo workflows

4 MCP tools reach this
  • find_arazzoBrowse and filter every workflow in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This workflow
curl "https://apis.io/api/v1/arazzo/onfleet-dispatch-team-tasks-workflow"
All arazzo workflows
curl "https://apis.io/api/v1/arazzo?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.