cm_create_campaign
Create a draft email campaign for a client by specifying HTML content, subject, sender details, and optional plain text, targeting specific lists or segments.
Instructions
Create a draft campaign from HTML/text content for a client.
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": {
"clientId": "<clientId>",
"Name": "<Name>",
"Subject": "<Subject>",
"FromName": "<FromName>",
"FromEmail": "<FromEmail>",
"ReplyTo": "<ReplyTo>",
"HtmlUrl": "<HtmlUrl>"
},
"name": "cm_create_campaign"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| Name | Yes | Internal campaign name. | |
| HtmlUrl | Yes | Publicly accessible URL of the campaign HTML content. | |
| ListIDs | No | List IDs to send to. | |
| ReplyTo | Yes | Reply-to email address. | |
| Subject | Yes | Email subject line. | |
| TextUrl | No | Optional URL of plain-text content. | |
| FromName | Yes | Sender display name. | |
| clientId | Yes | Client ID that owns the campaign. | |
| FromEmail | Yes | Sender (from) email address — must be a confirmed sender. | |
| SegmentIDs | No | Segment IDs to send to. |