Add an email step
add_stepAppend an email step to a draft or paused campaign. subject may be empty on follow-ups (they reply in the same thread); body is the email text, with {{first_name}}, {{company}} and custom field snippets. delay_days = days after the previous step (step 1 always sends at start). content_format plain (default) or html. Returns the full step list.
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": {
"id": "<id>"
},
"name": "add_step"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Campaign id (uuid). | |
| body | No | ||
| name | No | Optional step label shown in the editor. | |
| subject | No | ||
| delay_days | No | ||
| content_format | No | ||
| append_signature | No | Append the mailbox signature (default true). |