pause_automation
Pause all emails in a classic Mailchimp automation workflow to temporarily stop automated email sequences.
Instructions
Pause all emails in a classic automation workflow.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| workflow_id | Yes |
Implementation Reference
- mcp_mailchimp/server.py:795-800 (handler)The tool is registered using @mcp.tool() and the function pause_automation handles the API request to Mailchimp to pause the specified automation workflow.
@mcp.tool() async def pause_automation(workflow_id: str) -> str: """Pause all emails in a classic automation workflow.""" mc = get_client() await mc.post(f"/automations/{workflow_id}/actions/pause-all-emails") return _fmt({"workflow_id": workflow_id, "message": "Automation paused."})