Create Email Campaign
create-email-campaignBuild an email campaign draft step by step by setting sender, subject, template and audience lists, tags or segments; it stays a draft until sent separately.
Instructions
Create an email campaign. Every field is optional, so a draft can be built up step by step. The audience is the union of list_ids, tag_ids and segment_ids. Find lists with list-lists, tags with list-tags and segments with list-segments. The campaign is saved as a draft; nothing goes out until it is sent with the matching send tool or from the Arsel dashboard.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "create-email-campaign"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| from | No | Sender address at one of the organization's `verified` domains, from list-email-domains. Earlier campaigns in list-email-campaigns show which addresses are in use; ask the user only if that leaves it unclear. | |
| name | No | Internal campaign name. | |
| subject | No | ||
| tag_ids | No | Tags to target. | |
| list_ids | No | Lists to target. | |
| reply_to | No | ||
| from_name | No | Sender display name. | |
| preheader | No | Preview text shown after the subject in most inboxes. | |
| segment_ids | No | Segments to target. | |
| template_id | No | Template holding the email body, from list-templates. |