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.

ToolWhat it doesReads or writes
list_campaignsLists campaigns with counts by status.Read
get_campaignShows one campaign’s current state.Read
preview_campaign_audienceCounts the leads a set of filters would reach.Read
list_campaign_optionsLists agents, templates, numbers and senders a campaign can use.Read
create_campaignCreates a campaign that sends now or at a scheduled time.Write (sends)
update_campaignRenames, reschedules, rewrites or re-targets a campaign.Write
start_campaignStarts a scheduled or paused campaign straight away.Write (sends)
pause_campaignPauses a running campaign.Write
resume_campaignResumes 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:

KindWhat it lists
AI agentsYour AI agents, for AI call campaigns or AI replies.
WhatsApp templatesOnly templates WhatsApp has approved.
Phone numbersYour numbers for sending SMS or placing AI calls.
WhatsApp sendersOnly senders that are online.
Email sendersThe sender addresses you’re allowed to use.
Email templatesYour 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.

InputMeaning
NameUp to 200 characters.
Channelsms, email, whatsapp or aicall.
Send now or scheduleExactly one is required. A schedule is a date and time in your business’s time zone, at least 5 minutes ahead.
Audience filtersAt least one, as in the preview above.
MessageRequired for SMS. Can include variables such as {{first_name}}.
Channel detailsEmail 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.
  1. Ask for the campaign, for example “Text everyone with the label Spring promo about our 20% offer, next Monday at 9am.”
  2. The assistant previews the audience and tells you how many leads it matches.
  3. It drafts the message and confirms the channel, audience and send time with you.
  4. 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.