HappierleadsDocs
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.

ConnectionAccount URL, team member URL or OAuth

Parameters

ParameterTypeRequiredDescription
websiteIdstringYesWebsite ID from list_websites (the campaign's website).
campaignIdstringYescampaignId from list_campaigns.
templateIdsstring[]YesEvery 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"
    ]
  }
}

On this page