Event
This event fires when a workflow is deleted. Existing tasks that were initiated from this workflow are not affected, but no new tasks can be created from the deleted workflow.
Payload Example
{
"event": "flows.workflow.deleted",
"event_id": "evt_01HXYZ6677889900",
"organization_id": "org_abc123",
"timestamp": "2025-06-05T16:20:00Z",
"data": {
"workflow_id": "wf_old_nda_review",
"workflow_name": "NDA Review (Legacy)",
"deleted_by": "admin@example.com",
"last_version": 2
}
}
Payload Fields
Envelope
| Field | Type | Description |
|---|
event | string | Always flows.workflow.deleted |
event_id | string | Unique delivery ID — use to deduplicate retries |
organization_id | string | ID of the organization that owned the workflow |
timestamp | string | ISO 8601 UTC timestamp of the event |
data | object | Event-specific payload (see below) |
Data Object
| Field | Type | Description |
|---|
workflow_id | string | Unique identifier of the deleted workflow |
workflow_name | string | Human-readable name of the workflow at time of deletion |
deleted_by | string | Email of the user who deleted the workflow |
last_version | integer | Version number of the last published version |
Notes
Remove references to this workflow ID from any integrations or automation rules. Attempts to initiate tasks from a deleted workflow will return a 404 error.