Mby Mailchimp
Send a campaign
Sends a campaign to its recipients right away; an RSS campaign sends on its schedule instead.
Description
Review `GET /campaigns/{campaign_id}/send-checklist` first and resolve what it lists; `POST /campaigns/{campaign_id}/actions/test` sends a test email. Confirm the campaign and its audience with the user before sending.
send-campaign.md
Send a campaign
Sends a campaign to its recipients right away; an RSS campaign sends on its schedule instead.
Review GET /campaigns/{campaign_id}/send-checklist first and resolve what
it lists; POST /campaigns/{campaign_id}/actions/test sends a test email.
Confirm the campaign and its audience with the user before sending.
Set up
Use the first option your agent supports.
API (official)
- Base URL: https://{dc}.api.mailchimp.com/3.0
- Endpoint:
POST /campaigns/{campaign_id}/actions/send - Auth: send the header
Authorization: Bearer $MAILCHIMP_API_KEY - Get a key: https://us1.admin.mailchimp.com/account/api/
- Docs: https://mailchimp.com/developer/marketing/api/
Before doing anything else, make one read-only call to confirm access.
Rules
- Ask the user before anything that sends messages, costs money, or changes data.
- Never print API keys.
Built from these files in the repository
The layout and the rules come from lib/catalog/render-markdown.ts, the set-up wording from lib/catalog/render-access.ts.
Ways in
| Route | Source | Call | Required | Docs |
|---|---|---|---|---|
| Official | POST /campaigns/{campaign_id}/actions/send | API key in $MAILCHIMP_API_KEY | Docs |