Campaigns
The MCP tools for listing and checking campaigns, previewing an audience, and creating, scheduling, starting, pausing and editing SMS, email, WhatsApp and AI call campaigns.
The campaign tools let your assistant check on your campaigns and, with your confirmation, create and control them. Reading needs the Campaigns row set to Read; creating or changing campaigns needs Write. Your Zoie role must also allow working with campaigns.
| Tool | What it does | Reads or writes |
|---|---|---|
list_campaigns | Lists campaigns with counts by status. | Read |
get_campaign | Shows one campaign’s current state. | Read |
preview_campaign_audience | Counts the leads a set of filters would reach. | Read |
list_campaign_options | Lists agents, templates, numbers and senders a campaign can use. | Read |
create_campaign | Creates a campaign that sends now or at a scheduled time. | Write (sends) |
update_campaign | Renames, reschedules, rewrites or re-targets a campaign. | Write |
start_campaign | Starts a scheduled or paused campaign straight away. | Write (sends) |
pause_campaign | Pauses a running campaign. | Write |
resume_campaign | Resumes a paused campaign. | Write (sends) |
Checking campaigns
list_campaigns
Lists campaigns, newest first, 20 per page by default and up to 100. The assistant can filter by status (All, In Progress, Completed, Scheduled or Failed), by channel, or by part of the campaign name. The result also counts how many campaigns are in progress, completed, scheduled and failed.
Which campaigns are scheduled to go out this week?
get_campaign
Shows one campaign’s name, channel, status, schedule and number of recipients. The schedule is given in your business’s time zone, so the assistant can tell you “Friday 9:00” rather than a UTC time. Status is one of Scheduled, In progress, Executing, Paused, Finished or Failed. See Campaign status.
Is the Spring promo campaign still running?
Creating a campaign
list_campaign_options
Before creating a campaign, the assistant looks up what it can use. It asks for one kind of option at a time:
| Kind | What it lists |
|---|---|
| AI agents | Your AI agents, for AI call campaigns or AI replies. |
| WhatsApp templates | Only templates WhatsApp has approved. |
| Phone numbers | Your numbers for sending SMS or placing AI calls. |
| WhatsApp senders | Only senders that are online. |
| Email senders | The sender addresses you’re allowed to use. |
| Email templates | Your email templates and their subjects. |
preview_campaign_audience
Counts how many leads a set of audience filters would reach on a channel, without creating anything. Leads who have opted out are left out automatically. The result also shows the connector’s recipient cap.
Each filter has a field, a condition and usually a value:
- Fields: lead status, label, lead type, lead source, assignee, phone, first name, last name, email, or a list of specific leads.
- Conditions: is, is not, contains, does not contain, greater/less than (or equal), is after, is before, in, not in, between, is empty, is not empty.
How many leads with status Interested and the label Implants could we text?
create_campaign
Creates an SMS, email, WhatsApp or AI call campaign. The assistant must confirm three things with you first: the audience, the message and when it goes out.
| Input | Meaning |
|---|---|
| Name | Up to 200 characters. |
| Channel | sms, email, whatsapp or aicall. |
| Send now or schedule | Exactly one is required. A schedule is a date and time in your business’s time zone, at least 5 minutes ahead. |
| Audience filters | At least one, as in the preview above. |
| Message | Required for SMS. Can include variables such as {{first_name}}. |
| Channel details | Email needs a subject and either an email template or a message. WhatsApp needs an approved template. AI call needs an AI agent. Optional: the sending phone number, email sender or WhatsApp sender, and AI replies for SMS. |
- Ask for the campaign, for example “Text everyone with the label Spring promo about our 20% offer, next Monday at 9am.”
- The assistant previews the audience and tells you how many leads it matches.
- It drafts the message and confirms the channel, audience and send time with you.
- Once you agree, it creates the campaign and tells you the scheduled time in your business’s time zone.
Changing a campaign
update_campaign
Changes an existing campaign. The assistant can give it a new name, a new schedule (business time zone, at least 5 minutes ahead), a new message or email subject, or replacement audience filters. New filters are previewed and capped like a new campaign. Rescheduling is also how to postpone a scheduled campaign.
Move the Spring promo campaign to Tuesday at 10am.
start_campaign
Starts a campaign now. A Scheduled campaign sends straight away instead of waiting; a Paused campaign resumes. Sending begins within about a minute. A campaign that is already running is left alone, and a Finished or Failed campaign can’t be restarted. Campaigns with more recipients than the connector’s cap must be started from the web app.
pause_campaign and resume_campaign
pause_campaign stops a running campaign until it’s resumed. resume_campaign continues a paused campaign: if its scheduled time is still ahead it goes back to waiting, otherwise it continues sending now. Editing a paused campaign never restarts it. Only resuming does.
Pause the Spring promo campaign.
Tips
- Iterate on the audience. Ask “how many would that reach?” a few times with different filters before committing.
- Say when. The assistant has to ask whether to send now or schedule. Saying it up front saves a step.
- Check the time it reports back. The assistant confirms the send time in your business’s time zone. If that’s not what you meant, reschedule straight away.
See Creating a campaign for how campaigns work in the web app.