Email templates
Building and managing HTML or plain-text email templates.
Email templates let you design reusable HTML email layouts with dynamic placeholders. You build a template once, save it, and then fill in the placeholders from live Workflow data at run time.
Creating an email template
Open Templates in the app sidebar and click New template. Choose Email as the channel type. This opens the HTML template editor at /html-template-creator/<id>.
The editor gives you a visual canvas for laying out your email. You can add text blocks, images, buttons, and dividers. The underlying content is saved as HTML (compiledTemplate) alongside the editor's raw layout data (templateData).
Variables
Anywhere you want to insert dynamic data, type {{variableName}}. Variable names may contain letters, digits, underscores, and dots (for example, {{contact.firstName}} or {{order.total}}).
EzFlow parses all {{...}} placeholders out of the compiled HTML when the template is saved. The list of detected variable names becomes available to the TEMPLATE_FILLER node at design time so you can map each placeholder to a Workflow value.
A few example placeholders:
{{firstName}}
{{company.name}}
{{unsubscribeUrl}}Template fields
| Field | What it stores |
|---|---|
name | Display name shown in the Templates list |
description | Optional description |
type | Always EMAIL for email templates |
compiledTemplate | The rendered HTML content including all {{variable}} markers |
templateData | The editor's JSON representation (used to reopen the template for editing) |
thumbnail | Preview image URL generated after saving |
Using an email template in a Workflow
The typical node chain is:
- TEMPLATE_FILLER — select your email template and map each
{{variable}}to a Workflow value. Outputs the rendered HTML string. - SEND_MAIL — takes the rendered HTML from TEMPLATE_FILLER and sends it to the recipient.
Connect the TEMPLATE_FILLER output to the SEND_MAIL body field. You do not need to fill placeholders manually inside SEND_MAIL; that is the job of TEMPLATE_FILLER.