schedule_campaign
Schedule email campaigns for future delivery by setting specific send times in Mailchimp. Define campaign ID and UTC time to automate email deployment.
Instructions
Schedule a campaign to send at a specific time in the future.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| campaign_id | Yes | Campaign ID | |
| schedule_time | Yes | UTC send time in ISO 8601 format (e.g. 2026-03-01T14:00:00Z) |
Implementation Reference
- server.js:282-299 (handler)The 'schedule_campaign' tool is registered and implemented in server.js. It takes a campaign_id and a schedule_time, calling mailchimp.campaigns.schedule.
server.tool( "schedule_campaign", "Schedule a campaign to send at a specific time in the future.", { campaign_id: z.string().describe("Campaign ID"), schedule_time: z.string().describe("UTC send time in ISO 8601 format (e.g. 2026-03-01T14:00:00Z)"), }, async ({ campaign_id, schedule_time }) => { await mailchimp.campaigns.schedule(campaign_id, { schedule_time }); return { content: [ { type: "text", text: JSON.stringify({ success: true, campaign_id, scheduled_for: schedule_time }, null, 2), }, ], }; }