Resend

Resend é um serviço moderno de e-mail projetado para desenvolvedores enviarem e-mails transacionais e de marketing com facilidade. Ele oferece uma API e um dashboard simples e confiáveis para gerenciar entrega de e-mail, templates e analytics, tornando-se uma escolha popular para integrar funcionalidade de e-mail em aplicações e fluxos de trabalho.

Com o Resend, você pode:

  • Enviar e-mails transacionais: Entregue redefinições de senha, notificações, confirmações e muito mais com alta deliverability
  • Gerenciar templates: Crie e atualize templates de e-mail para branding e mensagens consistentes
  • Acompanhar analytics: Monitore taxas de entrega, abertura e clique para otimizar o desempenho do e-mail
  • Integrar com facilidade: Use uma API e SDKs diretos para integração seamless com suas aplicações
  • Garantir segurança: Beneficie-se de autenticação robusta e verificação de domínio para proteger a reputação do seu e-mail

No Zoen, a integração do Resend permite que seus agentes enviem e-mails de forma programática como parte dos seus fluxos de trabalho automatizados. Isso habilita casos de uso como envio de notificações, alertas ou mensagens personalizadas diretamente a partir dos seus agentes powered by Zoen. Ao conectar o Zoen ao Resend, você automatiza tarefas de comunicação, garantindo entrega de e-mail pontual e confiável sem intervenção manual. A integração usa sua API key do Resend, mantendo suas credenciais seguras enquanto habilita cenários poderosos de automação de e-mail.

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., "sender@example.com" or "Sender Name <sender@example.com>")
tostringYesRecipient email address (e.g., "recipient@example.com" or "Recipient Name <recipient@example.com>")
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_cancel_email

Cancel a scheduled email before it is sent

Input

ParameterTypeRequiredDescription
cancelEmailIdstringYesThe ID of the scheduled email to cancel
resendApiKeystringYesResend API key

Output

ParameterTypeDescription
idstringCanceled email ID

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_create_audience

Create a new audience in Resend

Input

ParameterTypeRequiredDescription
audienceNamestringYesThe name of the audience to create
resendApiKeystringYesResend API key

Output

ParameterTypeDescription
idstringCreated audience ID
namestringAudience name

resend_get_audience

Retrieve details of an audience by ID

Input

ParameterTypeRequiredDescription
audienceIdstringYesThe ID of the audience to retrieve
resendApiKeystringYesResend API key

Output

ParameterTypeDescription
idstringAudience ID
namestringAudience name
createdAtstringAudience creation timestamp

resend_list_audiences

List all audiences in Resend

Input

ParameterTypeRequiredDescription
resendApiKeystringYesResend API key

Output

ParameterTypeDescription
audiencesarrayArray of audiences
idstringAudience ID
namestringAudience name
created_atstringAudience creation timestamp
hasMorebooleanWhether there are more audiences to retrieve

resend_delete_audience

Delete an audience from Resend by ID

Input

ParameterTypeRequiredDescription
audienceIdstringYesThe ID of the audience to delete
resendApiKeystringYesResend API key

Output

ParameterTypeDescription
idstringDeleted audience ID
deletedbooleanWhether the audience was successfully deleted

resend_create_broadcast

Create a broadcast email for an audience in Resend

Input

ParameterTypeRequiredDescription
audienceIdstringYesThe ID of the audience to send the broadcast to
broadcastFromstringYesSender email address (e.g., "sender@example.com" or "Sender Name <sender@example.com>")
broadcastSubjectstringYesBroadcast email subject line
broadcastHtmlstringNoHTML content of the broadcast
broadcastTextstringNoPlain text content of the broadcast
broadcastReplyTostringNoReply-to email address
broadcastNamestringNoFriendly internal name for the broadcast
broadcastPreviewTextstringNoPreview text shown in the inbox before the email is opened
resendApiKeystringYesResend API key

Output

ParameterTypeDescription
idstringCreated broadcast ID

resend_send_broadcast

Send a broadcast immediately or schedule it for later

Input

ParameterTypeRequiredDescription
broadcastIdstringYesThe ID of the broadcast to send
broadcastScheduledAtstringNoSchedule delivery in natural language (e.g., "in 1 min") or ISO 8601 format. Sends immediately if omitted
resendApiKeystringYesResend API key

Output

ParameterTypeDescription
idstringBroadcast ID

resend_get_broadcast

Retrieve details of a broadcast by ID

Input

ParameterTypeRequiredDescription
broadcastIdstringYesThe ID of the broadcast to retrieve
resendApiKeystringYesResend API key

Output

ParameterTypeDescription
idstringBroadcast ID
namestringBroadcast name
audienceIdstringAudience ID (legacy)
segmentIdstringSegment ID (the current recipient field)
fromstringSender email address
subjectstringBroadcast subject
replyTostringReply-to email address
previewTextstringInbox preview text
statusstringBroadcast status (e.g., draft, sent)
createdAtstringBroadcast creation timestamp
scheduledAtstringScheduled send timestamp
sentAtstringTimestamp the broadcast was sent

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