MCP server
reorder_campaign_steps
Puts a campaign's emails in a new order.
Reorder campaign steps · Changes data
Puts a campaign's emails in a new order. templateIds must list every step of the campaign exactly once, in the new order (from get_campaign, emailCampaignTemplates); anything else returns 400 and changes nothing.
| Connection | Account URL, team member URL or OAuth |
|---|
Parameters
| Parameter | Type | Required | Accepts | Description |
|---|---|---|---|---|
websiteId | string | Yes | any | Website ID from list_websites (the campaign's website). |
campaignId | string | Yes | any | campaignId from list_campaigns. |
templateIds | string[] | Yes | any | Every step _id of the campaign, in the new order. |
Tool definition
What your assistant receives from tools/list:
{
"name": "reorder_campaign_steps",
"title": "Reorder campaign steps",
"annotations": {
"title": "Reorder campaign steps",
"readOnlyHint": false,
"destructiveHint": false,
"idempotentHint": true,
"openWorldHint": false
},
"inputSchema": {
"type": "object",
"properties": {
"websiteId": {
"type": "string",
"description": "Website ID from list_websites (the campaign's website)."
},
"campaignId": {
"type": "string",
"description": "campaignId from list_campaigns."
},
"templateIds": {
"type": "array",
"items": {
"type": "string"
},
"description": "Every step _id of the campaign, in the new order."
}
},
"required": [
"websiteId",
"campaignId",
"templateIds"
]
}
}