PlatformDocs
MCP server

delete_campaign_step

Removes one email from a campaign's sequence for good.

View as Markdown

Delete a campaign step · Deletes or overwrites data

Removes one email from a campaign's sequence for good. Contacts who already got it keep it. Confirm with the user before calling. Returns 404 when templateId is not a step of the campaign.

ConnectionAccount URL, team member URL or OAuth

Parameters

ParameterTypeRequiredAcceptsDescription
websiteIdstringYesanyWebsite ID from list_websites (the campaign's website).
campaignIdstringYesanycampaignId from list_campaigns.
templateIdstringYesany_id of the step, from get_campaign (emailCampaignTemplates).

Tool definition

What your assistant receives from tools/list:

{
  "name": "delete_campaign_step",
  "title": "Delete a campaign step",
  "annotations": {
    "title": "Delete a campaign step",
    "readOnlyHint": false,
    "destructiveHint": true,
    "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."
      },
      "templateId": {
        "type": "string",
        "description": "_id of the step, from get_campaign (emailCampaignTemplates)."
      }
    },
    "required": [
      "websiteId",
      "campaignId",
      "templateId"
    ]
  }
}

On this page