ToolsCampaigns
mailmoo_campaign_set_sender_state
Pause or resume senders on one campaign
Pauses senders on one campaign while it keeps running for everyone else, or resumes them. Use for 'pause Anna on the Nordics campaign', 'resume Mikko on X'. Their leads stay assigned and wait. To pause a sender on every campaign at once, for an event or time off, use senders_set_outreach instead. Senders and campaign by name or id. RESUMING STARTS THAT SENDER MESSAGING AGAIN on a running campaign: confirm with the user first. Without confirm it changes nothing and returns who would change. Show that, then call again with confirm: true.
Effect: Reaches a person. See Effects.
Permissions: Read campaigns, Turn on campaigns.
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
campaign | string | Yes | The campaign, by name or id. |
senders | array of string | Yes | Senders on this campaign, by name or id. |
state | paused, active | Yes | 'paused' parks them on this campaign, 'active' resumes. |
confirm | boolean | No | Leave out first: the call then changes nothing and returns what would happen. Show that to the user, and call again with confirm: true once they agree. |

