Workflows
Activate Workflow
Move a workflow from draft to active so enrolled leads start moving through the configured sequence.
POST
Activate a workflow
Activates a workflow that is currently in
draft status. Once active, the workflow begins processing every enrolled lead through the configured sequence on the next scheduling tick. Calls and other node actions start firing immediately, so the workflow must be fully configured, nodes, edges, agent assignments, dynamic variables, before you call this endpoint. The status returned in the response transitions from draft to active.
When to use this
- Going live: you have finished building the workflow in the dashboard or via API and are ready to start dialling enrolled leads.
- Reactivation after edits: you took a workflow back to
draftto apply structural changes and you want to put it back into production.
paused, use Resume Workflow instead, that endpoint is the correct verb for paused → active. Use this endpoint only for draft → active.
Pre-flight checklist
Before activating, confirm:- Every non-terminal node has at least one outgoing edge (List Edges).
- Every
VOICE_CALLnode has an assigned agent and outbound phone number. - The prompt for each agent references only variable keys returned by Get Variable Keys.
- Concurrency settings match your Concurrency and limits policy.
Path parameters
| Parameter | Description |
|---|---|
id | The workflow ID, for example wfl_m3v7zb9rk2px. |
Errors
404 Not Foundis returned when the workflow does not exist.409 Conflictis returned when the workflow is not indraftstatus (use Resume Workflow for paused workflows).400 Bad Requestis returned when the workflow’s graph fails pre-activation validation (for example a node missing required configuration).
Request
Response
Related endpoints
- Resume Workflow: resume a paused workflow.
- Pause Workflow: pause an active workflow.
- Cancel Workflow: permanently stop a workflow.
- Get Workflow: confirm the new status.
Authorizations
Pass your API key as a Bearer token in the Authorization header.
Path Parameters
Activate a workflow