sendEmailToCampaign
Send personalized emails for campaigns using Mailmodo by specifying campaign ID, recipient email, and optional overrides like subject, sender name, or reply-to address.
Instructions
Trigger and email for email campaign trigger with personalization parameter added to the email template.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
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. | |
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. | ||
fromName | No | Optional: Overrides the sender name for the campaign. | |
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. |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"addToList": {
"description": "Optional: List ID to which the contact should be added as part of triggering the campaign.",
"type": "string"
},
"campaignId": {
"description": "Camapign id of the campaign to be triggered",
"type": "string"
},
"campaign_data": {
"additionalProperties": {
"type": "string"
},
"description": "Optional: Transient personalization parameters, not stored in the contact profile.",
"type": "object"
},
"data": {
"additionalProperties": {
"type": "string"
},
"description": "Optional: Personalization parameters saved to the contact's profile.",
"type": "object"
},
"email": {
"description": "Email address of the contact to whom you want to send the email. This is required.",
"format": "email",
"type": "string"
},
"fromName": {
"description": "Optional: Overrides the sender name for the campaign.",
"type": "string"
},
"replyTo": {
"description": "Optional: Overrides the default reply-to email address for the campaign.",
"type": "string"
},
"subject": {
"description": "Optional: Overrides the default subject line provided when creating the campaign.",
"type": "string"
}
},
"required": [
"campaignId",
"email"
],
"type": "object"
}