HappierleadsDocs
MCP server

toggle_automation

Switches an automation on or off without changing its setup.

Turn automation on or off · Changes data · Acts outside your account

Switches an automation on or off without changing its setup. When on, it acts on every matching lead (Slack messages, CRM pushes, campaign emails…). Get automationId from list_automations. An unfinished draft cannot be switched on: the call returns 405 and the draft has to be finished in the app first. Returns the updated automation.

ConnectionAccount URL, team member URL or OAuth

Parameters

ParameterTypeRequiredDescription
automationIdstringYesAutomation _id from list_automations.
isActivebooleanYestrue switches it on, false switches it off.

Tool definition

What your assistant receives from tools/list:

{
  "name": "toggle_automation",
  "title": "Turn automation on or off",
  "annotations": {
    "title": "Turn automation on or off",
    "readOnlyHint": false,
    "destructiveHint": false,
    "idempotentHint": true,
    "openWorldHint": true
  },
  "inputSchema": {
    "type": "object",
    "properties": {
      "automationId": {
        "type": "string",
        "description": "Automation _id from list_automations."
      },
      "isActive": {
        "type": "boolean",
        "description": "true switches it on, false switches it off."
      }
    },
    "required": [
      "automationId",
      "isActive"
    ]
  }
}

On this page