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.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"key": "<key>",
"name": "<name>"
},
"name": "campaign_create"
}
}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 |