How it works
- Using the dashboard
- Using the API
After adding a trigger, create a new step to Send an email.
Select a published template, then configure the subject and sender address.


Only
published templates are available to be used in an Automation.Template variables
Use thevariables field to pass data into your template. Each variable value can be a dynamic reference or a static string.
| Type | Format | Description |
|---|---|---|
| Event data | { "var": "event.<field>" } | Resolves a field from the triggering event’s payload. |
| Contact data | { "var": "contact.<field>" } | Resolves a field from the contact record. |
| Waited event data | { "var": "wait_events.<event_name>.<field>" } | Resolves a field from a preceding wait for event step’s payload. |
| Static value | "<string>" | Passed as-is to the template. |
If the same branch has multiple wait for
event steps with the same key, the
resolved data will come from the last event received before the current step.
Unsubscribe behavior
Resend does not automatically add an unsubscribe link to emails sent from asend_email step. To let contacts opt out, add {{{RESEND_UNSUBSCRIBE_URL}}} to the Template used by the step.
{{{RESEND_UNSUBSCRIBE_URL}}} must be added to the Template itself, not the step’s config. If the Template doesn’t include this variable, contacts have no way to unsubscribe from within the email.Configuration
The published template to send. Provide
id and optionally variables.The sender email address.If provided, this value will override the template’s default value.
The email subject line.If provided, this value will override the template’s default value.
Reply-to email address.If provided, this value will override the template’s default value.