sendEmailToCampaign
Send a triggered email to a campaign recipient by providing campaign ID and email address, with support for personalization parameters and optional overrides for subject, reply-to, sender name, and list addition.
Instructions
Trigger and email for email campaign trigger with personalization parameter added to the email template.
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": {
"campaignId": "<campaignId>",
"email": "<email>"
},
"name": "sendEmailToCampaign"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | Optional: Personalization parameters saved to the contact's profile. | |
| Yes | Email address of the contact to whom you want to send the email. This is required. | ||
| replyTo | No | Optional: Overrides the default reply-to email address for the campaign. | |
| subject | No | Optional: Overrides the default subject line provided when creating the campaign. | |
| fromName | No | Optional: Overrides the sender name for the campaign. | |
| addToList | No | Optional: List ID to which the contact should be added as part of triggering the campaign. | |
| campaignId | Yes | Camapign id of the campaign to be triggered | |
| campaign_data | No | Optional: Transient personalization parameters, not stored in the contact profile. |