Send an email node
The Send an email node allows sending emails from your workflow: notifications, confirmations, reports and user alerts.
Parameters
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
| App | App | ❌ | — | Application associated with the node. |
| To | String | ✅ | — | Main recipient of the email. |
| Subject | String | ✅ | — | Subject of the sent email. |
| Body | String | ✅ | — | Email content (text or HTML). |
| Send the content as HTML | Boolean | ❌ | — | Specifies whether the email content is written in HTML. |
| Stop the workflow if sending fails | Boolean | ❌ | — | Stops the workflow if the email sending fails. |
| Tracking links | Boolean | ❌ | — | Enables or disables the tracking links. |
Recipients
To (required)
Main recipient:
- Format:
user@example.com - Supports Handlebars variables:
{{user.email}} - Several recipients:
user1@example.com,user2@example.com
Subject
Email subject:
- Free text
- Supports Handlebars variables
- Example:
Order {{order.id}} confirmed
Body
Email body:
- HTML or text format
- Supports Handlebars variables
- Can include HTML for formatting
HTML example:
<h1>Hello {{user.name}}</h1>
<p>Your order {{order.id}} has been confirmed.</p>
<ul>
{{#each order.items}}
<li>{{name}} - {{quantity}} x {{price}}</li>
{{/each}}
</ul>
Input
The node receives the workflow context data (trigger or previous nodes) and injects it into its fields via Handlebars variables — {{data…}}, {{context…}} and the metadata system object:
The metadata object is available in all workflows (traceId, triggerExecutionId, environment) — see Variables.
Output
The Send an email node generates no context variable: it sends the message and the workflow continues.
Example
Email error alert:
Connected to an On Error node, the alert email references the execution at the origin of the failure:
- To:
{{context.ops.email}} - Subject:
Error alert - Trace {{metadata.traceId}} - Body:
An error occurred. See the trace: {{metadata.traceId}}