segments_automations_copy
Copies automations from source_segment (same workspace) to the end of this segment's chain, keeping their order, config, run conditions and overwrite flag. Pass automations (sqids in the source segment) to copy only some; omit to copy all.
Automations that move leads to other segments (qualification positive_move_to_segment / negative_move_to_segment) are copied disabled and listed in needs_review: point them at this campaign's segments, then enable them. Copies don't run on existing leads; use segments_enrichments_run_all for that.
Method: POST /api/v1/workspaces/{workspace_sqid}/segments/{segment_sqid}/automations/copy/
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": {
"segment_sqid": "<segment_sqid>",
"source_segment": "<source_segment>"
},
"name": "segments_automations_copy"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| automations | No | Sqids of the source automations to copy. Omit to copy all. | |
| segment_sqid | Yes | ||
| source_segment | Yes | Sqid of the segment to copy from. |