Add campaign step
add_campaign_stepAdd an email to a campaign at a chosen point. delay_days is the wait after the email before it (or after the contact enters, for the first). On a live campaign the step applies at once to people who have not reached that point.
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": {
"campaign_id": "<campaign_id>",
"insert_after": "<insert_after>",
"delay_days": "<delay_days>",
"subject": "<subject>",
"preview_text": "<preview_text>",
"html": "<html>",
"markdown": "<markdown>",
"template_id": "<template_id>"
},
"name": "add_campaign_step"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| html | Yes | The body as HTML. Null when you send markdown or a template_id. | |
| subject | Yes | ||
| markdown | Yes | The body as markdown. Null when you send html or a template_id. | |
| delay_days | Yes | ||
| campaign_id | Yes | ||
| template_id | Yes | Copy a template's subject, preview text and body; then subject, preview_text, html and markdown are null. | |
| insert_after | Yes | Where the step goes: at the start, after a step, or first on a branch's true or false path. What followed that point now follows this step. | |
| preview_text | Yes | The line inbox previews show after the subject. |