What it is for
Last mile delivery software
Onfleet triggers react instantly to events in the app.
Set up the connection
Authentication type: API key or token
- 1Sign in to Onfleet and look for the API or integrations section in its settings.
- 2Create an API key or token with the permissions you need and copy it.
- 3In flooows, add a Onfleet step, click "Connect" and paste it.
- 4Save the connection: it is stored encrypted and is never shown in plain text.
Credentials are stored encrypted in your isolated database, in Spain, and are never shown in plain text.
How to use it in a flow
- Create Recipient: fill in Name, Phone; use the data selector to map values from earlier steps.
- Update Recipient: fill in Recipient ID; use the data selector to map values from earlier steps.
- Get Recipient: fill in Recipient ID; use the data selector to map values from earlier steps.
Tips
- •Test each step before publishing to see the exact output structure.
- •Enable retries on steps that call external services.
Triggers (18)
Events that can start a flow. Expand each one to see its fields.
Task ArrivalWebhook (paste the URL in the app)0 fields
No fields to configure.
Task AssignedWebhook (paste the URL in the app)0 fields
No fields to configure.
Task ClonedWebhook (paste the URL in the app)0 fields
No fields to configure.
Task CompletedWebhook (paste the URL in the app)0 fields
No fields to configure.
Task CreatedWebhook (paste the URL in the app)0 fields
No fields to configure.
Task DelayedWebhook (paste the URL in the app)0 fields
No fields to configure.
Task DeletedWebhook (paste the URL in the app)0 fields
No fields to configure.
Task ETAWebhook (paste the URL in the app)0 fields
No fields to configure.
Task FailedWebhook (paste the URL in the app)0 fields
No fields to configure.
Task StartedWebhook (paste the URL in the app)0 fields
No fields to configure.
Task UnassignedWebhook (paste the URL in the app)0 fields
No fields to configure.
Task UpdatedWebhook (paste the URL in the app)0 fields
No fields to configure.
Worker CreatedWebhook (paste the URL in the app)0 fields
No fields to configure.
Worker DeletedWebhook (paste the URL in the app)0 fields
No fields to configure.
Worker Duty ChangeWebhook (paste the URL in the app)0 fields
No fields to configure.
Auto Dispatch CompletedWebhook (paste the URL in the app)0 fields
No fields to configure.
SMS Recipient Opt OutWebhook (paste the URL in the app)0 fields
No fields to configure.
SMS Recipient Response MissedWebhook (paste the URL in the app)0 fields
No fields to configure.
Actions (33)
Operations available as flow steps. Expand each one to see its fields.
Create Recipient6 fields
| Field | Type | Required |
|---|---|---|
| Name | Text | Yes |
| Phone | Text | Yes |
| Notes | Text | No |
| Skip SMS Notifications | Yes / No | No |
| Skip Phone Number Validation | Yes / No | No |
| Use Long Code for Text - Canadian Organizations Only | Yes / No | No |
Update Recipient4 fields
| Field | Type | Required |
|---|---|---|
| Recipient ID | Text | Yes |
| Name | Text | No |
| Notes | Text | No |
| Skip SMS Notifications | Yes / No | No |
Get Recipient1 fields
| Field | Type | Required |
|---|---|---|
| Recipient ID | Text | Yes |
Create Task14 fields
| Field | Type | Required |
|---|---|---|
| Merchant ID | Text | No |
| Executor ID | Text | No |
| Destination | Dynamic fields | Yes |
| Unparsed Destination | Yes / No | Yes |
| Destination | Dynamic fields | Yes |
| Use Recipient ID | Yes / No | Yes |
| Complete After | Date and time | No |
| Complete Before | Date and time | No |
| Pickup | Yes / No | No |
| Quantity | Number | No |
| Recipient Name Override | Text | No |
| Recipient Notes Override | Text | No |
| Recipient Skip SMS Override | Yes / No | No |
| Service Time | Number | No |
Delete Task1 fields
| Field | Type | Required |
|---|---|---|
| Task ID | Text | Yes |
Force Complete Task3 fields
| Field | Type | Required |
|---|---|---|
| Task ID | Text | Yes |
| Complete as Success | Yes / No | Yes |
| Notes | Text | No |
Clone Task1 fields
| Field | Type | Required |
|---|---|---|
| Task ID | Text | Yes |
Update Task8 fields
| Field | Type | Required |
|---|---|---|
| Task ID | Text | Yes |
| Merchant ID | Text | No |
| Executor ID | Text | No |
| Complete After | Date and time | No |
| Complete Before | Date and time | No |
| Pickup | Yes / No | No |
| Quantity | Number | No |
| Service Time | Number | No |
Get Task1 fields
| Field | Type | Required |
|---|---|---|
| Task ID | Text | Yes |
Get Tasks3 fields
| Field | Type | Required |
|---|---|---|
| From | Date and time | Yes |
| To | Date and time | No |
| State | Multi-select | No |
Create Destination3 fields
| Field | Type | Required |
|---|---|---|
| Destination | Dynamic fields | Yes |
| Unparsed Destination | Yes / No | Yes |
| Notes | Text | No |
Get Destination1 fields
| Field | Type | Required |
|---|---|---|
| Destination ID | Text | Yes |
Get Hubs0 fields
No fields to configure.
Create Hub4 fields
| Field | Type | Required |
|---|---|---|
| Name | Text | Yes |
| Destination | Dynamic fields | Yes |
| Unparsed Destination | Yes / No | Yes |
| Teams | Multi-select | No |
Update Hub3 fields
| Field | Type | Required |
|---|---|---|
| Hub | List (from your account) | Yes |
| Name | Text | No |
| Teams | Multi-select | No |
Get Organization0 fields
No fields to configure.
Get Delegatee Details1 fields
| Field | Type | Required |
|---|---|---|
| Organization ID | Text | Yes |
Create Administrator4 fields
| Field | Type | Required |
|---|---|---|
| Name | Text | Yes |
| Text | Yes | |
| Phone Number | Text | No |
| Read Only | Yes / No | No |
Update Administrator2 fields
| Field | Type | Required |
|---|---|---|
| Administrator | List (from your account) | Yes |
| Name | Text | No |
Get Administrators0 fields
No fields to configure.
Delete Administrator1 fields
| Field | Type | Required |
|---|---|---|
| Administrator | List (from your account) | Yes |
Create Worker5 fields
| Field | Type | Required |
|---|---|---|
| Name | Text | Yes |
| Phone | Text | Yes |
| Teams | Multi-select | Yes |
| Capacity | Number | No |
| Display Name | Text | No |
Delete Worker1 fields
| Field | Type | Required |
|---|---|---|
| Worker | List (from your account) | Yes |
Get Worker1 fields
| Field | Type | Required |
|---|---|---|
| Worker | List (from your account) | Yes |
Get Worker Schedule1 fields
| Field | Type | Required |
|---|---|---|
| Worker | List (from your account) | Yes |
Update Worker5 fields
| Field | Type | Required |
|---|---|---|
| Worker | List (from your account) | Yes |
| Name | Text | No |
| Teams | Multi-select | No |
| Capacity | Number | No |
| Display Name | Text | No |
Create Team5 fields
| Field | Type | Required |
|---|---|---|
| Name | Text | Yes |
| Workers | Multi-select | Yes |
| Managers | Multi-select | Yes |
| Hub | List (from your account) | No |
| Enable Self Assignment | Yes / No | No |
Delete Team1 fields
| Field | Type | Required |
|---|---|---|
| Team | List (from your account) | Yes |
Get Team1 fields
| Field | Type | Required |
|---|---|---|
| Team | List (from your account) | Yes |
Get Teams0 fields
No fields to configure.
Update Team6 fields
| Field | Type | Required |
|---|---|---|
| Team | List (from your account) | Yes |
| Name | Text | No |
| Workers | Multi-select | No |
| Managers | Multi-select | No |
| Hub | List (from your account) | No |
| Enable Self Assignment | Yes / No | No |
Get Container2 fields
| Field | Type | Required |
|---|---|---|
| Container Type | List (from your account) | Yes |
| Container ID | Text | Yes |
Custom API Call10 fields
| Field | Type | Required |
|---|---|---|
| url | Dynamic fields | Yes |
| Method | Fixed list | Yes |
| Headers | Key / value pairs | No |
| Query Parameters | Key / value pairs | No |
| Body Type | List (from your account) | No |
| Body | Dynamic fields | No |
| Response is Binary | Yes / No | No |
| Return Error as Output | Yes / No | No |
| Timeout | Number | No |
| Follow redirects | Yes / No | No |
Common errors
Authentication error
The connection expired or the key was revoked: reconnect it from Connections.
Field not found or empty
Re-test the previous step and remap the field in the data selector.
Field types
"List (from your account)" loads options from your connected account; "Dynamic fields" appear depending on earlier choices; in any field you can insert data from previous steps with the data selector (e.g. {{trigger.email}}). More about data between steps
