Workflows
Duplicate Workflow
Create an exact copy of a workflow in draft status so you can edit safely without touching the live original.
POST
Duplicate a workflow
Creates a complete copy of a workflow, every node, every edge, every per-node configuration, in
draft status. The duplicate is independent from the original: changes you make to it do not affect the live workflow, and leads enrolled in the original are not carried over to the duplicate. The duplicate keeps the original’s name with a (Copy) suffix by default. Rename it with Update Workflow before activating.
When to use this
- Safe iteration: duplicate a working workflow, edit the copy, A/B test the change, then promote the copy when it outperforms the original.
- Variant per campaign: start from a proven workflow structure for a new outreach with different prompts, agents, or wait times.
- Backup before risky edits: duplicate before a major structural change so you can fall back to the snapshot if needed.
- Cross-team reuse: share a known-good workflow design between teams without exposing the original.
What gets copied
- All nodes (with their
node_type,label,config, andposition_x/position_y). - All edges (with their
from_node_id,to_node_id, andlabel). - Workflow metadata such as
nameanddescription.
- Enrolled leads.
- Historical call logs.
- The original workflow’s
status: the duplicate always starts asdraft.
Path parameters
| Parameter | Description |
|---|---|
id | The source workflow ID, for example wfl_m3v7zb9rk2px. |
Errors
404 Not Foundis returned when the source workflow does not exist.
Request
Response
Related endpoints
- Update Workflow: rename the duplicate.
- Activate Workflow: promote the duplicate to active.
- Add Lead to Workflow: enroll leads in the duplicate.
- Delete Workflow: discard an unused duplicate.
Authorizations
Pass your API key as a Bearer token in the Authorization header.
Path Parameters
Response
201 - application/json
Duplicated workflow created in draft status.
Example:
"wf_abc123"
Example:
"org_xyz"
Example:
"Lead Nurture Sequence"
Example:
"Contacts cold leads three times before marking as unresponsive."
Workflow lifecycle status. Responses can include running for older workflow records; treat it like active. Use active in new create or update requests.
Available options:
draft, active, running, paused, completed, cancelled Example:
"active"
Example:
"2024-03-01T09:00:00.000Z"
Example:
"2024-03-02T11:00:00.000Z"
Duplicate a workflow