All tools

Create a campaign

Creates an unsent campaign for one audience, or a segment of it, with its subject line, sender and settings.

View on GitHub
Updated Sep 27, 2026Available asAPI

Description

Set `type` (such as `regular`), `recipients.list_id` and, to narrow the audience, `recipients.segment_opts`; `settings` holds the subject line, from name and reply-to address. Add the content with `PUT /campaigns/{campaign_id}/content` before sending.

create-campaign.md

Create a campaign

Creates an unsent campaign for one audience, or a segment of it, with its subject line, sender and settings.

Set type (such as regular), recipients.list_id and, to narrow the audience, recipients.segment_opts; settings holds the subject line, from name and reply-to address. Add the content with PUT /campaigns/{campaign_id}/content before sending.

Set up

Use the first option your agent supports.

API (official)

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

RouteSourceCallRequiredDocs
APIOfficialPOST /campaignsAPI key in $MAILCHIMP_API_KEYDocs

Workflows using Create a campaign

No workflows yet
No published workflow uses Create a campaign yet.