duplicate_sequence
Create an independent draft copy of a sequence, including its graph, email templates, and A/B tests, while leaving the original unchanged for editing or testing variations.
Instructions
Create an independent draft copy of a sequence, including its graph, email templates, and sequence A/B tests. The original is not changed.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"sequenceId": "<sequenceId>"
},
"name": "duplicate_sequence"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Optional name for the copy. Defaults to the original name plus (Copy). | |
| companyId | No | Company ID. If not provided, uses the currently selected company. | |
| sequenceId | Yes | Sequence ID to copy. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | Additional context about the result. | |
| edges | No | List of sequence edge records returned by Sequenzy. | |
| items | No | Fallback array wrapper used only when a tool returns a bare array. | |
| nodes | No | List of sequence node records returned by Sequenzy. | |
| value | No | Fallback object wrapper used only when a tool returns a non-object value. | |
| message | No | Human-readable status, confirmation, or next-step message. | |
| success | No | Whether the Sequenzy operation succeeded. | |
| sequence | No | The sequence record returned by Sequenzy. Run state: branch on effectiveStatus (draft, live, enrollment_paused, paused, or archived) rather than on status, which reads `active` even when new enrollments are paused. acceptsNewEnrollments and processesExistingEnrollments answer the two questions behind it, and effectiveStatusSummary is a plain-language sentence. The legacy triggerConfig.active flag is not read by the runtime; it is reported as a mirror of acceptsNewEnrollments. Email numbering: emails[].stepNumber and nodes[].config.stepNumber are legacy stored ordinals retained for compatibility. Prefer emails[].structuralStepNumber and nodes[].structuralStepNumber when explaining the visible sequence position. Structural numbers are graph-derived; emails in parallel branches intentionally share a depth. Sequences use sendingWindow for allowed local hours/days; they do not have Send Time Optimization. frequencyCapEnabled is true when email steps respect the company frequency cap (get_frequency_cap): contacts already at the cap skip the step. activeSubscribersOnly is true when only active contacts enter; when false, unsubscribed and bounced contacts still enter and only their marketing emails are skipped. STO is per-campaign (list_campaigns / get_campaign sendTimeOptimization). | |
| warnings | No | Non-fatal cautions about content, permissions, or follow-up actions. |