Send Transactional Message
listmonk_send_transactional_messageSends a one-off transactional email to an existing subscriber by rendering a 'tx' template with provided data. Specify the recipient by email or subscriber ID.
Instructions
Sends a one-off transactional e-mail to a subscriber by rendering a 'tx'-type template with the given data. Requires either subscriber_email or subscriber_id. The subscriber must already exist.
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": {
"template_id": "<template_id>"
},
"name": "listmonk_send_transactional_message"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | Template variables available to the template as {{ .Tx.Data }}. | |
| headers | No | ||
| messenger | No | ||
| from_email | No | ||
| template_id | Yes | Id of the transactional ('tx') template to render. | |
| content_type | No | ||
| subscriber_id | No | Recipient by subscriber id (use this or subscriber_email). | |
| subscriber_email | No | Recipient by email (use this or subscriber_id). |