ToolsCampaigns
mailmoo_campaign_set_state
Start or pause a campaign
Starts a campaign's sequence, or pauses it. STARTING A CAMPAIGN BEGINS MESSAGING REAL PEOPLE and cannot be undone for messages already sent. Confirm with the user before starting one. Pausing is always safe. Starting requires an active subscription and a sequence that passes its readiness checks; if it does not, the error says what to fix.
Effect: Reaches a person. See Effects.
Permissions: Turn on campaigns.
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
campaignId | string | Yes | ID of the campaign. |
state | running, paused | Yes | 'running' starts the sequence, 'paused' stops it. |

