render_template
Render a saved email template, substituting {{variable}} placeholders with provided values. Unfilled placeholders stay literal and are listed, so you can pass the result to send_email.
Instructions
Render a saved template's subject and body, substituting {{variable}} placeholders with the given values. Placeholders left unfilled stay literal (e.g. {{firstName}}) and are listed in missingVariables. Pass the result to send_email.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The template id. | |
| variables | No | Map of variable name to replacement value, e.g. { "firstName": "Alex" }. |