Easily Integrate Onfleet Webhooks with your application.

https://docs.onfleet.com/reference#webhooks

Steps to receive Onfleet Webhooks

  • Sign up for your free Hooky account.
  • Create a new Webhook Source, and select Onfleet. This will be the endpoint that receives webhooks on behalf of your application, and forwards them using the unified SDK.
  • Step 1
  • Step 2
  • Once a webhook is received from Onfleet, you'll see it under the Live Logs section of your webhook source.
  • Next, follow the examples below to integrate the Hooky SDK in ruby or javascript, and start receiving webhooks.
Save countless hours integrating Onfleet webhooks into your application.

Integrating Onfleet Webhooks Using Javascript

Integrating Onfleet webhooks with Hooky in your Javascript based application is straight forward. Just grab the SDK, and call a function when that webhook is received.

Integrating Onfleet Webhooks Using Ruby

Integrating Onfleet webhooks with Hooky in your Ruby or Ruby on Rails application is straight forward. Just grab the SDK, and call a method when that webhook is received.

Configuring Onfleet Webhook Authentication

Here's how it works

Supported Onfleet Webhook Events

taskStarted

Task started by worker.

taskEta

Worker ETA less than or equal to threshold value provided, in seconds.

taskArrival

Worker arriving, at or closer than threshold value provided, in meters.

taskCompleted

Task completed by worker.

taskFailed

Task failed.

workerDuty

Worker status changed (0 for off-duty, 1 for on-duty).

taskCreated

New task created.

taskUpdated

Task updated, including: Updated completionDetails (including distance, location, added timestamps, added completion/failure notes) When attachment ids are received under completionDetails field (This includes signature, photos) Recipient feedback has been received(when feedback field is updated)

taskDeleted

Task deleted.

taskAssigned

Task assigned to worker.

taskUnassigned

Task unassigned from worker.

taskDelayed

Task is delay time is greater than or equal to threshold value provided, in seconds.

taskCloned

Task cloned via dashboard or API. Note that the taskCreated trigger will not fire when a task is cloned.

smsRecipientResponseMissed

Recipient responds to a notification via SMS, but the organization is unable to handle it at that time.

workerCreated

A new worker has been created.

workerDeleted

A worker has been deleted.

SMSRecipientOptOut

When a recipient replied "STOP" to opt out of SMS communications