Event
Payload Example
Payload Fields
Envelope
| Field | Type | Description |
|---|---|---|
event | string | Always flows.tasks.canceled |
event_id | string | Unique delivery ID — use to deduplicate retries |
organization_id | string | ID of the organization |
timestamp | string | ISO 8601 UTC timestamp of the event |
data | object | Event-specific payload (see below) |
Data Object
| Field | Type | Description |
|---|---|---|
task_id | string | Unique identifier of the canceled task |
workflow_id | string | ID of the parent workflow |
workflow_name | string | Human-readable workflow name |
initiated_by | string | Email of the user who originally initiated the task |
canceled_by | string | Email of the user who canceled the task |
canceled_at | string | ISO 8601 UTC timestamp of cancellation |
reason | string | Optional cancellation reason provided by the user |
step_at_cancellation | object | The step the task was on when it was canceled |
Step At Cancellation Object
| Field | Type | Description |
|---|---|---|
step_id | string | Unique identifier of the step |
step_name | string | Human-readable step name |