send_transactional_email
Send an immediate transactional email to an existing Listmonk subscriber using a 'tx' template and supplied data; delivery cannot be recalled.
Instructions
Send one transactional email right away, using a 'tx' template, to a subscriber that already exists in Listmonk. The email cannot be recalled. data fills the template variables. Create tx templates with create_template (type 'tx').
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | Key/value data for the template, available there as {{ .Tx.Data.<key> }} | |
| template_id | Yes | ID of a template of type 'tx' (see get_templates) | |
| content_type | No | Body format: html, markdown or plain | html |
| subscriber_email | Yes | Email of an existing subscriber to send to |