Short answer: In TinyCommand, add the Onfleet Onfleet Task Created trigger to a workflow and publish. It listens through a Onfleet webhook and fires your workflow within seconds of the event, with no polling and no code. Add a filter if you only want some events to start a run.
Drop it on the canvas. Configure a couple of fields. Publish.
You don’t need to read this. TinyCommand 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.
{"task": {},"task_id": "YI2UIGUx2nni6ZVOFH2oUEOr","admin_id": "abc","worker_id": null,"trigger_id": "6","action_type": "apiKey","occurred_at": 1778804246000,"trigger_name": "taskCreated","action_context_id": "xyz"}
Every field below can be referenced by name in any action or filter that comes after this trigger.
| Field | Type | Example |
|---|---|---|
| task | object | { … } |
| task_id | string | "YI2UIGUx2nni6ZVOFH2oUEOr" |
| admin_id | string | "abc" |
| worker_id | null | null |
| trigger_id | string | "6" |
| action_type | string | "apiKey" |
| occurred_at | number | 1778804246000 |
| trigger_name | string | "taskCreated" |
| action_context_id | string | "xyz" |