reorder_sequence_steps_tool
Reorders the steps of one list of a campaign's sequence. Pass the complete list of that list's sequenceStepIds in the new order: the root list by default, or a lane when parentStepId (the condition step's id) and branchKey ('yes' or 'no'; the arm 'a' or 'b' of an A/B split) are given. A condition step must stay the last step of its list. In the root list the new first step's wait is set to 0 days and a step moved out of first place gets a 3-day wait; other steps keep their waits. Once a campaign with a condition or A/B split has started, its steps cannot be reordered; on a started campaign without them, contacts still in the sequence get their remaining steps in the new order.
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": {
"campaignId": "<campaignId>",
"sequenceStepIds": "<sequenceStepIds>"
},
"name": "reorder_sequence_steps_tool"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| branchKey | No | Which lane of parentStepId. Under an invite_accepted or clicked_link condition: 'yes' (the signal arrived in time) or 'no'. Under an ab_split: the arm, 'a' or 'b'. Sent together with parentStepId. | |
| campaignId | Yes | ||
| parentStepId | No | The condition step whose lane this list is. Omit (or null) for the root list. Sent together with branchKey. | |
| sequenceStepIds | Yes | Every step of one list (the root list, or the lane named by parentStepId + branchKey), in the new order, each once. |