Thanks to visit codestin.com
Credit goes to docs.sim.ai

Resend

Resend is a modern email service designed for developers to send transactional and marketing emails with ease. It provides a simple, reliable API and dashboard for managing email delivery, templates, and analytics, making it a popular choice for integrating email functionality into applications and workflows.

With Resend, you can:

  • Send transactional emails: Deliver password resets, notifications, confirmations, and more with high deliverability
  • Manage templates: Create and update email templates for consistent branding and messaging
  • Track analytics: Monitor delivery, open, and click rates to optimize your email performance
  • Integrate easily: Use a straightforward API and SDKs for seamless integration with your applications
  • Ensure security: Benefit from robust authentication and domain verification to protect your email reputation

In Sim, the Resend integration allows your agents to programmatically send emails as part of your automated workflows. This enables use cases such as sending notifications, alerts, or custom messages directly from your Sim-powered agents. By connecting Sim with Resend, you can automate communication tasks, ensuring timely and reliable email delivery without manual intervention. The integration leverages your Resend API key, keeping your credentials secure while enabling powerful email automation scenarios.

Usage Instructions

Integrate Resend into your workflow. Send emails, retrieve email status, manage contacts, and view domains. Requires API Key.

Actions

resend_send

Send an email using your own Resend API key and from address

Input

ParameterTypeRequiredDescription
fromAddressstringYesEmail address to send from (e.g., "[email protected]" or "Sender Name <[email protected]>")
tostringYesRecipient email address (e.g., "[email protected]" or "Recipient Name <[email protected]>")
subjectstringYesEmail subject line
bodystringYesEmail body content (plain text or HTML based on contentType)
contentTypestringNoContent type for the email body: "text" for plain text or "html" for HTML content
ccstringNoCarbon copy recipient email address
bccstringNoBlind carbon copy recipient email address
replyTostringNoReply-to email address
scheduledAtstringNoSchedule email to be sent later in ISO 8601 format
tagsstringNoComma-separated key:value pairs for email tags (e.g., "category:welcome,type:onboarding")
resendApiKeystringYesResend API key for sending emails

Output

ParameterTypeDescription
successbooleanWhether the email was sent successfully
idstringEmail ID returned by Resend
tostringRecipient email address
subjectstringEmail subject
bodystringEmail body content

resend_get_email

Retrieve details of a previously sent email by its ID

Input

ParameterTypeRequiredDescription
emailIdstringYesThe ID of the email to retrieve
resendApiKeystringYesResend API key

Output

ParameterTypeDescription
idstringEmail ID
fromstringSender email address
toarrayRecipient email addresses
subjectstringEmail subject
htmlstringHTML email content
textstringPlain text email content
ccarrayCC email addresses
bccarrayBCC email addresses
replyToarrayReply-to email addresses
lastEventstringLast event status (e.g., delivered, bounced)
createdAtstringEmail creation timestamp
scheduledAtstringScheduled send timestamp
tagsarrayEmail tags as name-value pairs
namestringTag name
valuestringTag value

resend_create_contact

Create a new contact in Resend

Input

ParameterTypeRequiredDescription
emailstringYesEmail address of the contact
firstNamestringNoFirst name of the contact
lastNamestringNoLast name of the contact
unsubscribedbooleanNoWhether the contact is unsubscribed from all broadcasts
resendApiKeystringYesResend API key

Output

ParameterTypeDescription
idstringCreated contact ID

resend_list_contacts

List all contacts in Resend

Input

ParameterTypeRequiredDescription
resendApiKeystringYesResend API key

Output

ParameterTypeDescription
contactsarrayArray of contacts
idstringContact ID
emailstringContact email address
first_namestringContact first name
last_namestringContact last name
created_atstringContact creation timestamp
unsubscribedbooleanWhether the contact is unsubscribed
hasMorebooleanWhether there are more contacts to retrieve

resend_get_contact

Retrieve details of a contact by ID or email

Input

ParameterTypeRequiredDescription
contactIdstringYesThe contact ID or email address to retrieve
resendApiKeystringYesResend API key

Output

ParameterTypeDescription
idstringContact ID
emailstringContact email address
firstNamestringContact first name
lastNamestringContact last name
createdAtstringContact creation timestamp
unsubscribedbooleanWhether the contact is unsubscribed

resend_update_contact

Update an existing contact in Resend

Input

ParameterTypeRequiredDescription
contactIdstringYesThe contact ID or email address to update
firstNamestringNoUpdated first name
lastNamestringNoUpdated last name
unsubscribedbooleanNoWhether the contact should be unsubscribed from all broadcasts
resendApiKeystringYesResend API key

Output

ParameterTypeDescription
idstringUpdated contact ID

resend_delete_contact

Delete a contact from Resend by ID or email

Input

ParameterTypeRequiredDescription
contactIdstringYesThe contact ID or email address to delete
resendApiKeystringYesResend API key

Output

ParameterTypeDescription
idstringDeleted contact ID
deletedbooleanWhether the contact was successfully deleted

resend_list_domains

List all verified domains in your Resend account

Input

ParameterTypeRequiredDescription
resendApiKeystringYesResend API key

Output

ParameterTypeDescription
domainsarrayArray of domains
idstringDomain ID
namestringDomain name
statusstringDomain verification status
regionstringRegion the domain is configured in
createdAtstringDomain creation timestamp
hasMorebooleanWhether there are more domains to retrieve

Triggers

A Trigger is a block that starts a workflow when an event happens in this service.

Resend Email Bounced

Trigger workflow when an email bounces

Configuration

ParameterTypeRequiredDescription
apiKeystringYesRequired to create the webhook in Resend.

Output

ParameterTypeDescription
typestringEvent type (e.g., email.sent, email.delivered)
created_atstringWebhook event creation timestamp (ISO 8601), top-level created_at
data_created_atstringEmail record timestamp from payload data.created_at (ISO 8601), when present — distinct from top-level created_at
email_idstringUnique email identifier
broadcast_idstringBroadcast ID associated with the email, when sent as part of a broadcast
template_idstringTemplate ID used to send the email, when applicable
tagsjsonTag key/value metadata attached to the email (payload data.tags)
fromstringSender email address
subjectstringEmail subject line
tojsonArray of recipient email addresses
datajsonRaw event data from Resend (shape varies by event type: email, contact, domain, etc.)
bounceTypestringBounce type (e.g., Permanent)
bounceSubTypestringBounce sub-type (e.g., Suppressed)
bounceMessagestringBounce error message

Resend Email Clicked

Trigger workflow when a link in an email is clicked

Configuration

ParameterTypeRequiredDescription
apiKeystringYesRequired to create the webhook in Resend.

Output

ParameterTypeDescription
typestringEvent type (e.g., email.sent, email.delivered)
created_atstringWebhook event creation timestamp (ISO 8601), top-level created_at
data_created_atstringEmail record timestamp from payload data.created_at (ISO 8601), when present — distinct from top-level created_at
email_idstringUnique email identifier
broadcast_idstringBroadcast ID associated with the email, when sent as part of a broadcast
template_idstringTemplate ID used to send the email, when applicable
tagsjsonTag key/value metadata attached to the email (payload data.tags)
fromstringSender email address
subjectstringEmail subject line
tojsonArray of recipient email addresses
datajsonRaw event data from Resend (shape varies by event type: email, contact, domain, etc.)
clickIpAddressstringIP address of the click
clickLinkstringURL that was clicked
clickTimestampstringClick timestamp (ISO 8601)
clickUserAgentstringBrowser user agent string

Resend Email Complained

Trigger workflow when an email is marked as spam

Configuration

ParameterTypeRequiredDescription
apiKeystringYesRequired to create the webhook in Resend.

Output

ParameterTypeDescription
typestringEvent type (e.g., email.sent, email.delivered)
created_atstringWebhook event creation timestamp (ISO 8601), top-level created_at
data_created_atstringEmail record timestamp from payload data.created_at (ISO 8601), when present — distinct from top-level created_at
email_idstringUnique email identifier
broadcast_idstringBroadcast ID associated with the email, when sent as part of a broadcast
template_idstringTemplate ID used to send the email, when applicable
tagsjsonTag key/value metadata attached to the email (payload data.tags)
fromstringSender email address
subjectstringEmail subject line
tojsonArray of recipient email addresses
datajsonRaw event data from Resend (shape varies by event type: email, contact, domain, etc.)

Resend Email Delivered

Trigger workflow when an email is delivered

Configuration

ParameterTypeRequiredDescription
apiKeystringYesRequired to create the webhook in Resend.

Output

ParameterTypeDescription
typestringEvent type (e.g., email.sent, email.delivered)
created_atstringWebhook event creation timestamp (ISO 8601), top-level created_at
data_created_atstringEmail record timestamp from payload data.created_at (ISO 8601), when present — distinct from top-level created_at
email_idstringUnique email identifier
broadcast_idstringBroadcast ID associated with the email, when sent as part of a broadcast
template_idstringTemplate ID used to send the email, when applicable
tagsjsonTag key/value metadata attached to the email (payload data.tags)
fromstringSender email address
subjectstringEmail subject line
tojsonArray of recipient email addresses
datajsonRaw event data from Resend (shape varies by event type: email, contact, domain, etc.)

Resend Email Failed

Trigger workflow when an email fails to send

Configuration

ParameterTypeRequiredDescription
apiKeystringYesRequired to create the webhook in Resend.

Output

ParameterTypeDescription
typestringEvent type (e.g., email.sent, email.delivered)
created_atstringWebhook event creation timestamp (ISO 8601), top-level created_at
data_created_atstringEmail record timestamp from payload data.created_at (ISO 8601), when present — distinct from top-level created_at
email_idstringUnique email identifier
broadcast_idstringBroadcast ID associated with the email, when sent as part of a broadcast
template_idstringTemplate ID used to send the email, when applicable
tagsjsonTag key/value metadata attached to the email (payload data.tags)
fromstringSender email address
subjectstringEmail subject line
tojsonArray of recipient email addresses
datajsonRaw event data from Resend (shape varies by event type: email, contact, domain, etc.)

Resend Email Opened

Trigger workflow when an email is opened

Configuration

ParameterTypeRequiredDescription
apiKeystringYesRequired to create the webhook in Resend.

Output

ParameterTypeDescription
typestringEvent type (e.g., email.sent, email.delivered)
created_atstringWebhook event creation timestamp (ISO 8601), top-level created_at
data_created_atstringEmail record timestamp from payload data.created_at (ISO 8601), when present — distinct from top-level created_at
email_idstringUnique email identifier
broadcast_idstringBroadcast ID associated with the email, when sent as part of a broadcast
template_idstringTemplate ID used to send the email, when applicable
tagsjsonTag key/value metadata attached to the email (payload data.tags)
fromstringSender email address
subjectstringEmail subject line
tojsonArray of recipient email addresses
datajsonRaw event data from Resend (shape varies by event type: email, contact, domain, etc.)

Resend Email Sent

Trigger workflow when an email is sent

Configuration

ParameterTypeRequiredDescription
apiKeystringYesRequired to create the webhook in Resend.

Output

ParameterTypeDescription
typestringEvent type (e.g., email.sent, email.delivered)
created_atstringWebhook event creation timestamp (ISO 8601), top-level created_at
data_created_atstringEmail record timestamp from payload data.created_at (ISO 8601), when present — distinct from top-level created_at
email_idstringUnique email identifier
broadcast_idstringBroadcast ID associated with the email, when sent as part of a broadcast
template_idstringTemplate ID used to send the email, when applicable
tagsjsonTag key/value metadata attached to the email (payload data.tags)
fromstringSender email address
subjectstringEmail subject line
tojsonArray of recipient email addresses
datajsonRaw event data from Resend (shape varies by event type: email, contact, domain, etc.)

Resend Webhook (All Events)

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.

Configuration

ParameterTypeRequiredDescription
apiKeystringYesRequired to create the webhook in Resend.

Output

ParameterTypeDescription
typestringEvent type (e.g., email.sent, email.delivered)
created_atstringWebhook event creation timestamp (ISO 8601), top-level created_at
data_created_atstringEmail record timestamp from payload data.created_at (ISO 8601), when present — distinct from top-level created_at
email_idstringUnique email identifier
broadcast_idstringBroadcast ID associated with the email, when sent as part of a broadcast
template_idstringTemplate ID used to send the email, when applicable
tagsjsonTag key/value metadata attached to the email (payload data.tags)
fromstringSender email address
subjectstringEmail subject line
tojsonArray of recipient email addresses
datajsonRaw event data from Resend (shape varies by event type: email, contact, domain, etc.)
bounceTypestringBounce type (e.g., Permanent)
bounceSubTypestringBounce sub-type (e.g., Suppressed)
bounceMessagestringBounce error message
clickIpAddressstringIP address of the click
clickLinkstringURL that was clicked
clickTimestampstringClick timestamp (ISO 8601)
clickUserAgentstringBrowser user agent string

On this page