render_template
Preview email templates by substituting sample variables to see the resulting HTML and subject line before sending. Validate personalization and catch errors early.
Instructions
Render a template with sample variables and return the resulting HTML and subject. Use this to preview personalisation before sending anything.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| variables | No | Variable values to substitute, e.g. { "first_name": "Ada" } | |
| template_id | Yes | Template ID to render |