Resend
Available Resend triggers for automating workflows
Resend provides 8 triggers for automating workflows based on events.
Trigger workflow when an email bounces
| Parameter | Type | Required | Description |
|---|
apiKey | string | Yes | Required to create the webhook in Resend. |
| Parameter | Type | Description |
|---|
type | string | Event type (e.g., email.sent, email.delivered) |
created_at | string | Webhook event creation timestamp (ISO 8601), top-level created_at |
data_created_at | string | Email record timestamp from payload data.created_at (ISO 8601), when present — distinct from top-level created_at |
email_id | string | Unique email identifier |
broadcast_id | string | Broadcast ID associated with the email, when sent as part of a broadcast |
template_id | string | Template ID used to send the email, when applicable |
tags | json | Tag key/value metadata attached to the email (payload data.tags) |
from | string | Sender email address |
subject | string | Email subject line |
to | json | Array of recipient email addresses |
data | json | Raw event data from Resend (shape varies by event type: email, contact, domain, etc.) |
bounceType | string | Bounce type (e.g., Permanent) |
bounceSubType | string | Bounce sub-type (e.g., Suppressed) |
bounceMessage | string | Bounce error message |
Trigger workflow when a link in an email is clicked
| Parameter | Type | Required | Description |
|---|
apiKey | string | Yes | Required to create the webhook in Resend. |
| Parameter | Type | Description |
|---|
type | string | Event type (e.g., email.sent, email.delivered) |
created_at | string | Webhook event creation timestamp (ISO 8601), top-level created_at |
data_created_at | string | Email record timestamp from payload data.created_at (ISO 8601), when present — distinct from top-level created_at |
email_id | string | Unique email identifier |
broadcast_id | string | Broadcast ID associated with the email, when sent as part of a broadcast |
template_id | string | Template ID used to send the email, when applicable |
tags | json | Tag key/value metadata attached to the email (payload data.tags) |
from | string | Sender email address |
subject | string | Email subject line |
to | json | Array of recipient email addresses |
data | json | Raw event data from Resend (shape varies by event type: email, contact, domain, etc.) |
clickIpAddress | string | IP address of the click |
clickLink | string | URL that was clicked |
clickTimestamp | string | Click timestamp (ISO 8601) |
clickUserAgent | string | Browser user agent string |
Trigger workflow when an email is marked as spam
| Parameter | Type | Required | Description |
|---|
apiKey | string | Yes | Required to create the webhook in Resend. |
| Parameter | Type | Description |
|---|
type | string | Event type (e.g., email.sent, email.delivered) |
created_at | string | Webhook event creation timestamp (ISO 8601), top-level created_at |
data_created_at | string | Email record timestamp from payload data.created_at (ISO 8601), when present — distinct from top-level created_at |
email_id | string | Unique email identifier |
broadcast_id | string | Broadcast ID associated with the email, when sent as part of a broadcast |
template_id | string | Template ID used to send the email, when applicable |
tags | json | Tag key/value metadata attached to the email (payload data.tags) |
from | string | Sender email address |
subject | string | Email subject line |
to | json | Array of recipient email addresses |
data | json | Raw event data from Resend (shape varies by event type: email, contact, domain, etc.) |
Trigger workflow when an email is delivered
| Parameter | Type | Required | Description |
|---|
apiKey | string | Yes | Required to create the webhook in Resend. |
| Parameter | Type | Description |
|---|
type | string | Event type (e.g., email.sent, email.delivered) |
created_at | string | Webhook event creation timestamp (ISO 8601), top-level created_at |
data_created_at | string | Email record timestamp from payload data.created_at (ISO 8601), when present — distinct from top-level created_at |
email_id | string | Unique email identifier |
broadcast_id | string | Broadcast ID associated with the email, when sent as part of a broadcast |
template_id | string | Template ID used to send the email, when applicable |
tags | json | Tag key/value metadata attached to the email (payload data.tags) |
from | string | Sender email address |
subject | string | Email subject line |
to | json | Array of recipient email addresses |
data | json | Raw event data from Resend (shape varies by event type: email, contact, domain, etc.) |
Trigger workflow when an email fails to send
| Parameter | Type | Required | Description |
|---|
apiKey | string | Yes | Required to create the webhook in Resend. |
| Parameter | Type | Description |
|---|
type | string | Event type (e.g., email.sent, email.delivered) |
created_at | string | Webhook event creation timestamp (ISO 8601), top-level created_at |
data_created_at | string | Email record timestamp from payload data.created_at (ISO 8601), when present — distinct from top-level created_at |
email_id | string | Unique email identifier |
broadcast_id | string | Broadcast ID associated with the email, when sent as part of a broadcast |
template_id | string | Template ID used to send the email, when applicable |
tags | json | Tag key/value metadata attached to the email (payload data.tags) |
from | string | Sender email address |
subject | string | Email subject line |
to | json | Array of recipient email addresses |
data | json | Raw event data from Resend (shape varies by event type: email, contact, domain, etc.) |
Trigger workflow when an email is opened
| Parameter | Type | Required | Description |
|---|
apiKey | string | Yes | Required to create the webhook in Resend. |
| Parameter | Type | Description |
|---|
type | string | Event type (e.g., email.sent, email.delivered) |
created_at | string | Webhook event creation timestamp (ISO 8601), top-level created_at |
data_created_at | string | Email record timestamp from payload data.created_at (ISO 8601), when present — distinct from top-level created_at |
email_id | string | Unique email identifier |
broadcast_id | string | Broadcast ID associated with the email, when sent as part of a broadcast |
template_id | string | Template ID used to send the email, when applicable |
tags | json | Tag key/value metadata attached to the email (payload data.tags) |
from | string | Sender email address |
subject | string | Email subject line |
to | json | Array of recipient email addresses |
data | json | Raw event data from Resend (shape varies by event type: email, contact, domain, etc.) |
Trigger workflow when an email is sent
| Parameter | Type | Required | Description |
|---|
apiKey | string | Yes | Required to create the webhook in Resend. |
| Parameter | Type | Description |
|---|
type | string | Event type (e.g., email.sent, email.delivered) |
created_at | string | Webhook event creation timestamp (ISO 8601), top-level created_at |
data_created_at | string | Email record timestamp from payload data.created_at (ISO 8601), when present — distinct from top-level created_at |
email_id | string | Unique email identifier |
broadcast_id | string | Broadcast ID associated with the email, when sent as part of a broadcast |
template_id | string | Template ID used to send the email, when applicable |
tags | json | Tag key/value metadata attached to the email (payload data.tags) |
from | string | Sender email address |
subject | string | Email subject line |
to | json | Array of recipient email addresses |
data | json | Raw event data from Resend (shape varies by event type: email, contact, domain, etc.) |
Trigger on Resend webhook events we subscribe to (email lifecycle, contacts, domains—see Resend docs). Flattened email fields may be null for non-email events; use data for the full payload.
| Parameter | Type | Required | Description |
|---|
apiKey | string | Yes | Required to create the webhook in Resend. |
| Parameter | Type | Description |
|---|
type | string | Event type (e.g., email.sent, email.delivered) |
created_at | string | Webhook event creation timestamp (ISO 8601), top-level created_at |
data_created_at | string | Email record timestamp from payload data.created_at (ISO 8601), when present — distinct from top-level created_at |
email_id | string | Unique email identifier |
broadcast_id | string | Broadcast ID associated with the email, when sent as part of a broadcast |
template_id | string | Template ID used to send the email, when applicable |
tags | json | Tag key/value metadata attached to the email (payload data.tags) |
from | string | Sender email address |
subject | string | Email subject line |
to | json | Array of recipient email addresses |
data | json | Raw event data from Resend (shape varies by event type: email, contact, domain, etc.) |
bounceType | string | Bounce type (e.g., Permanent) |
bounceSubType | string | Bounce sub-type (e.g., Suppressed) |
bounceMessage | string | Bounce error message |
clickIpAddress | string | IP address of the click |
clickLink | string | URL that was clicked |
clickTimestamp | string | Click timestamp (ISO 8601) |
clickUserAgent | string | Browser user agent string |