Event
Payload Example
Payload Fields
Envelope
| Field | Type | Description |
|---|---|---|
event | string | Always flows.tasks.created |
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 new task |
workflow_id | string | ID of the workflow this task was initiated from |
workflow_name | string | Human-readable workflow name |
workflow_version | integer | Workflow version used for this task |
initiated_by | string | Email of the user who initiated the task |
current_step | object | Details of the first step (see below) |
variables | object | Input variables provided at task initiation |
Step Object
| Field | Type | Description |
|---|---|---|
step_id | string | Unique identifier of the step |
step_name | string | Human-readable step name |
assignee | string | Email of the user assigned to this step |