Skip to content

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

  1. 1Sign in to Onfleet and look for the API or integrations section in its settings.
  2. 2Create an API key or token with the permissions you need and copy it.
  3. 3In flooows, add a Onfleet step, click "Connect" and paste it.
  4. 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
FieldTypeRequired
NameTextYes
PhoneTextYes
NotesTextNo
Skip SMS NotificationsYes / NoNo
Skip Phone Number ValidationYes / NoNo
Use Long Code for Text - Canadian Organizations OnlyYes / NoNo
Update Recipient4 fields
FieldTypeRequired
Recipient IDTextYes
NameTextNo
NotesTextNo
Skip SMS NotificationsYes / NoNo
Get Recipient1 fields
FieldTypeRequired
Recipient IDTextYes
Create Task14 fields
FieldTypeRequired
Merchant IDTextNo
Executor IDTextNo
DestinationDynamic fieldsYes
Unparsed DestinationYes / NoYes
DestinationDynamic fieldsYes
Use Recipient IDYes / NoYes
Complete AfterDate and timeNo
Complete BeforeDate and timeNo
PickupYes / NoNo
QuantityNumberNo
Recipient Name OverrideTextNo
Recipient Notes OverrideTextNo
Recipient Skip SMS OverrideYes / NoNo
Service TimeNumberNo
Delete Task1 fields
FieldTypeRequired
Task IDTextYes
Force Complete Task3 fields
FieldTypeRequired
Task IDTextYes
Complete as SuccessYes / NoYes
NotesTextNo
Clone Task1 fields
FieldTypeRequired
Task IDTextYes
Update Task8 fields
FieldTypeRequired
Task IDTextYes
Merchant IDTextNo
Executor IDTextNo
Complete AfterDate and timeNo
Complete BeforeDate and timeNo
PickupYes / NoNo
QuantityNumberNo
Service TimeNumberNo
Get Task1 fields
FieldTypeRequired
Task IDTextYes
Get Tasks3 fields
FieldTypeRequired
FromDate and timeYes
ToDate and timeNo
StateMulti-selectNo
Create Destination3 fields
FieldTypeRequired
DestinationDynamic fieldsYes
Unparsed DestinationYes / NoYes
NotesTextNo
Get Destination1 fields
FieldTypeRequired
Destination IDTextYes
Get Hubs0 fields

No fields to configure.

Create Hub4 fields
FieldTypeRequired
NameTextYes
DestinationDynamic fieldsYes
Unparsed DestinationYes / NoYes
TeamsMulti-selectNo
Update Hub3 fields
FieldTypeRequired
HubList (from your account)Yes
NameTextNo
TeamsMulti-selectNo
Get Organization0 fields

No fields to configure.

Get Delegatee Details1 fields
FieldTypeRequired
Organization IDTextYes
Create Administrator4 fields
FieldTypeRequired
NameTextYes
EmailTextYes
Phone NumberTextNo
Read OnlyYes / NoNo
Update Administrator2 fields
FieldTypeRequired
AdministratorList (from your account)Yes
NameTextNo
Get Administrators0 fields

No fields to configure.

Delete Administrator1 fields
FieldTypeRequired
AdministratorList (from your account)Yes
Create Worker5 fields
FieldTypeRequired
NameTextYes
PhoneTextYes
TeamsMulti-selectYes
CapacityNumberNo
Display NameTextNo
Delete Worker1 fields
FieldTypeRequired
WorkerList (from your account)Yes
Get Worker1 fields
FieldTypeRequired
WorkerList (from your account)Yes
Get Worker Schedule1 fields
FieldTypeRequired
WorkerList (from your account)Yes
Update Worker5 fields
FieldTypeRequired
WorkerList (from your account)Yes
NameTextNo
TeamsMulti-selectNo
CapacityNumberNo
Display NameTextNo
Create Team5 fields
FieldTypeRequired
NameTextYes
WorkersMulti-selectYes
ManagersMulti-selectYes
HubList (from your account)No
Enable Self AssignmentYes / NoNo
Delete Team1 fields
FieldTypeRequired
TeamList (from your account)Yes
Get Team1 fields
FieldTypeRequired
TeamList (from your account)Yes
Get Teams0 fields

No fields to configure.

Update Team6 fields
FieldTypeRequired
TeamList (from your account)Yes
NameTextNo
WorkersMulti-selectNo
ManagersMulti-selectNo
HubList (from your account)No
Enable Self AssignmentYes / NoNo
Get Container2 fields
FieldTypeRequired
Container TypeList (from your account)Yes
Container IDTextYes
Custom API Call10 fields
FieldTypeRequired
urlDynamic fieldsYes
MethodFixed listYes
HeadersKey / value pairsNo
Query ParametersKey / value pairsNo
Body TypeList (from your account)No
BodyDynamic fieldsNo
Response is BinaryYes / NoNo
Return Error as OutputYes / NoNo
TimeoutNumberNo
Follow redirectsYes / NoNo

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