Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.chamelio.ai/llms.txt

Use this file to discover all available pages before exploring further.

Event

flows.workflow.deleted
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

FieldTypeDescription
eventstringAlways flows.workflow.deleted
event_idstringUnique delivery ID — use to deduplicate retries
organization_idstringID of the organization that owned the workflow
timestampstringISO 8601 UTC timestamp of the event
dataobjectEvent-specific payload (see below)

Data Object

FieldTypeDescription
workflow_idstringUnique identifier of the deleted workflow
workflow_namestringHuman-readable name of the workflow at time of deletion
deleted_bystringEmail of the user who deleted the workflow
last_versionintegerVersion 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.