Workflows
Duplicate Workflow
deprecated
Create an exact copy of a workflow in draft status so you can edit safely without touching the live original.
POST
Duplicate a workflow by ID
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
Errors
404 Not Foundis returned when the source workflow does not exist.
Related endpoints
- Update Workflow: rename the duplicate.
- Activate Workflow: promote the duplicate to active.
- Upload Workflow Leads: enroll leads in the duplicate.
- Delete Workflow: discard an unused duplicate.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Headers
RSA encrypted organization ID (base64 format)
Example:
"BASE64_ENCRYPTED_ORG_ID_HERE"
Path Parameters
Response
Workflow duplicated successfully
Duplicate a workflow by ID