Workflows
Delete Workflow
Permanently delete a workflow, along with its nodes, edges, and lead enrollments.
DELETE
Delete a workflow
Permanently deletes a workflow and everything attached to it: all nodes, all edges, all enrolled leads, and all per-lead progress state. This action cannot be undone. Call logs produced by previously completed calls remain available through Call Logs: only the workflow definition and enrollment state are removed.
When to use this
Workflow deletion is destructive and is intended for tear-down scenarios, not for pausing or temporarily disabling outreach. Use this when:- A workflow was created in error and you want it permanently removed from your workspace.
- A pilot or experiment is finished, the data has been exported, and you want to clean up the dashboard.
- A workflow is being replaced by a new definition and you do not need the historical enrollment records to remain queryable.
Preconditions
Active workflows must be cancelled before they can be deleted. A workflow is “active” when itsstatus is active or any leads are still in transit between nodes. Call Cancel Workflow first, then call this endpoint.
Path parameters
| Parameter | Description |
|---|---|
id | The workflow ID, for example wfl_m3v7zb9rk2px. |
Errors
404 Not Foundis returned when the workflow does not exist or has already been deleted.409 Conflictis returned when the workflow is still active. Cancel it first.403 Forbiddenis returned when the caller’s API key does not have workflow delete permission. See Access Control.
Request
Response
Related endpoints
- Cancel Workflow: stop a workflow without removing its records.
- Pause Workflow: temporarily halt enrollment progress.
- List Workflows: confirm the workflow is gone after deletion.
Delete a workflow