Automations are currently in private alpha and only available to a limited
number of users. APIs might change before GA.To use the methods on this page, you must upgrade your Resend SDK:
npm install resend@6.10.0-preview-workflows.3
Contact us if you’re interested in testing
this feature.
Automations allow you to create email steps based on custom events from your application.You can use Automations for use cases like:
A trigger is the first step that will run when the Automation is executed.In this example, we will receive an event called user.created as a trigger.See the Trigger documentation for more details.
On this example, we will use the Send Email step.Once you select that step, you will be able to select an existing template.
Note: Only published templates are available to be used in an Automation.
With the template selected, you will be able to configure the email subject and sender address.Once you’re done with the email, you can click on Start to enable the Automation.
After sending events, you can monitor your Automation executions through Runs. Each time an event triggers an Automation, a Run is created to track the execution.Learn how to:
View Run statuses and execution details
Filter Runs by status (running, completed, failed, cancelled)
Debug failed Runs with step-level error information