create_thank_you
Send or schedule a thank-you email to respondents in an existing distribution by providing email details and a message template.
Instructions
Send or schedule a thank-you email for respondents in an existing email distribution
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": {
"distributionId": "<distributionId>",
"fromEmail": "<fromEmail>",
"fromName": "<fromName>",
"replyToEmail": "<replyToEmail>",
"subject": "<subject>",
"messageId": "<messageId>",
"libraryId": "<libraryId>"
},
"name": "create_thank_you"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| subject | Yes | Thank-you email subject line | |
| fromName | Yes | From name displayed in the email | |
| sendDate | No | Scheduled send date (ISO format); omit to send immediately | |
| fromEmail | Yes | Verified sender email address | |
| libraryId | Yes | ID of the library containing the message template | |
| messageId | Yes | ID of the thank-you message template | |
| embeddedData | No | Optional tags for distribution reporting; these are not survey-flow embedded data | |
| replyToEmail | Yes | Reply-to email address | |
| distributionId | Yes | The parent distribution ID |