Create a campaign (draft)
campaign_createCreates a draft marketing campaign with multi-channel support (email, social, webhook), audience targeting via rule conditions, and configurable success metrics.
Instructions
Create a new campaign in draft status. The campaign isn't running until you call campaign_preview followed by campaign_launch. Channels: each entry needs a kind (email|meta|google|tiktok|linkedin|webhook). Audience: array of RuleCondition {field, op, values[]}. Success metric: {event_name, window_seconds?} — defaults to a 7-day conversion window.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | ||
| name | Yes | ||
| description | No | ||
| goal | No | ||
| environment_id | No | ||
| audience | No | ||
| channels | No | ||
| creative | No | ||
| experiment_id | No | ||
| success_metric | No | ||
| budget | No | ||
| scheduled_start | No | ||
| scheduled_end | No | ||
| timezone | No | UTC |