Draft campaign with AI
draft_campaignAsk Sendocado's writer for a campaign draft from a brief: who it is for and what it should achieve. It answers at once with status pending; read it with get_campaign_draft every few seconds until it is ready or failed. A ready draft's name, filter_groups and steps fit create_campaign (each step as html). It creates nothing by itself. If you can write the emails yourself, you do not need it.
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": {
"project_id": "<project_id>",
"prompt": "<prompt>"
},
"name": "draft_campaign"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prompt | Yes | The brief, in plain words. | |
| project_id | Yes |