
Connectors / Supply chain · HTTP Connector
Automate Onfleet with Tray.ai
Create a task, create an order and create a route plan in Onfleet, and start a workflow when Onfleet sends “Task started”.
Thanks — someone from our team will be in touch soon.
What can you do with Onfleet on Tray.ai?
Onfleet is last-mile delivery management software for dispatching drivers, planning routes, tracking deliveries, and notifying recipients. Tray.ai connects to Onfleet through the HTTP Connector, so your workflows can call the Onfleet API alongside the rest of your stack.
- Connects through
- HTTP Connector
- Authentication
- Basic authentication
- Base URL
- https://onfleet.com/api/v2
What the Onfleet API covers
4 resources and 14 documented actions, each one a call the HTTP Connector can make from a Tray.ai workflow.
Tasks
- Create a task
- List tasks
- Get a task
Orders
- Create an order
- Get orders
- Update an order
- Cancel an order
Route plans
- Create a route plan
- Get a route plan
- Update a route plan
- Add tasks to a route plan
- Delete a route plan
Webhooks
- Update a webhook
- Manage webhook secrets
Events Onfleet can send to a Tray.ai webhook trigger
- Task started
- Task ETA
- Task arrival
- Task completed
- Task failed
- Task created
- Task updated
- Task deleted
- Task assigned
- Task unassigned
- Task delayed
- Worker duty changed
- Worker created
- Worker updated
- Worker deleted
- Route plan created
- Route plan started
- Route plan completed
Checked against Onfleet's own documentation on 2026-10-22
How Tray.ai makes this work
Onfleet plugs into the whole Tray.ai platform
Intelligent Integration
Integrate and automate across 700+ connectors with visual workflows, error handling, and observability.
Learn more →Agent Builder
Build AI agents that read, write, and take action in Onfleet — with guardrails, audit, and human-in-the-loop.
Learn more →Agent Gateway for MCP
Expose Onfleet actions as governed MCP tools — observable, rate-limited, authenticated.
Learn more →More supply chain apps on Tray.ai
Dedicated connectors and other apps Tray.ai reaches in the same category. See every supply chain connector →
Frequently asked questions
What can a Tray.ai workflow do in Onfleet?
+
The Onfleet API documents 14 actions across 4 resources (Tasks, Orders, Route plans, Webhooks). For example: Create a task; Create an order; Create a route plan. A workflow can make any documented call through the HTTP Connector.
How does Tray.ai authenticate with Onfleet?
+
The Onfleet API uses basic authentication. You save it once as a Tray.ai authentication, and the HTTP Connector adds it to every request.
Which Onfleet events can start a Tray.ai workflow?
+
Onfleet sends 18 events to a webhook URL, for example: Task started; Task ETA; Task arrival; Task completed; Task failed; Task created; Task updated; Task deleted. A Tray.ai webhook trigger receives them and starts a workflow.
See Onfleet working against your stack.
We'll walk through a tailored demo with your systems plugged in.
Thanks — someone from our team will be in touch soon.