A trigger is the first step in every Automation. It defines which event will start the Automation when received.When your application sends an event to Resend, every active Automation with a matching trigger will execute its workflow for that contact.
Use an email address to trigger the Automation. If no contact with the provided email exists in your Audience, Resend will automatically create one when the run starts.
You can include a payload object with your event to pass data into the Automation. This data becomes available as variables in subsequent steps in the Automation using the event.* namespace.
In this example, event.amount, event.currency, and event.retryDate would be available in email templates, conditions, and other steps.View the Send Event API reference for the full endpoint specification.