Skip to content
TriggerOnfleetReal-timeUpdated May 2026

When does Onfleet fire on driver shift changes?

Short answer: Drop the "OnfleetOnfleet Worker Duty Change" trigger on your workflow canvas, add filters if you want them, and publish. It fires within seconds of the event in Onfleet, not on a polling schedule.

Anatomy

What this trigger looks like in a workflow.

Drop it on the canvas. Configure a couple of fields. Publish.

In the builder
Trigger
Onfleet Worker Duty Change
When the matching event happens
new worker duty changewhen a worker goes on/off dutywatch for worker duty changewhen worker duty changeon worker duty change
What this trigger returns
for the curious

You don’t need to read this. Tiny Command auto-maps every field into the visual picker so downstream nodes can pull values by clicking. We show it here for power users who want to know what’s on the wire.

{
"event": "workerDuty",
"address": "123 Main St, San Francisco",
"task_id": "task_123"
}
Output shape

Fields available to downstream nodes.

Every field below can be referenced by name in any action or filter that comes after this trigger.

FieldTypeExample
eventstring"workerDuty"
addressstring"123 Main St, San Francisco"
task_idstring"task_123"
FAQ

Questions about Onfleet Worker Duty Change.

How does the Onfleet Worker Duty Change trigger work in Onfleet?
Fires on shift start and end transitions. For capacity-planning workflows that track "who's actually rolling vs scheduled" or for "all drivers off-duty alert".
Is the Onfleet Worker Duty Change trigger real-time?
Yes. Onfleet Worker Duty Change uses webhooks or push subscriptions, not polling. Your workflow fires within seconds of the event happening in Onfleet.
What data does Onfleet Worker Duty Change return?
The full event payload from Onfleet. The output shape table on this page lists every field, its type, and an example value so you can map fields into downstream nodes.
Can I filter Onfleet Worker Duty Change so only some events start a workflow?
Yes. Add a Filter node right after the trigger and match on any field, whether that's subject, sender, status, or anything else in the payload. Workflows only continue when the filter passes.
Do I need Onfleet admin permissions to use Onfleet Worker Duty Change?
For most Onfleet accounts a standard user can authorize the trigger. Some Onfleet plans require an admin to enable third-party webhooks. Check Onfleet's docs if the trigger fails to register.
More triggers

Other Onfleet triggers.

Build a workflow on this trigger.

One trigger. 2+ downstream actions. Zero glue.