Resend icon

Resend

Send emails, manage contacts, create broadcasts, handle templates, domains, segments, topics, and webhooks using the Resend email platform

Email → Send and Wait for Response

AI-generated

Overview

This node operation sends an email to a single recipient and waits for their response before continuing execution. It supports two types of responses: approval (where the user can approve or disapprove directly from the message) and free text (where the user can submit a response via a form). This is useful for workflows requiring user feedback or approval, such as approval requests, surveys, or confirmations.

Use Case Examples

  1. Sending an approval request email to a manager and waiting for their approval or disapproval.
  2. Sending a survey email where the recipient can provide free text feedback and the workflow waits for the response before proceeding.

Properties

Name Meaning
From Sender email address, can include a friendly name in the format 'Your Name sender@domain.com'.
To Recipient email address (single recipient only).
Subject Subject line of the email message.
Message Body content of the email message.
Response Type Type of response expected from the recipient, either approval or free text.
Approval Options Options for configuring approval buttons when response type is approval, including approval type (approve only or approve and disapprove), button labels, and button styles.
Options (Approval) Additional options for approval response type, such as limiting wait time for response and appending an automatic attribution message.
Options (Free Text) Additional options for free text response type, including message button label, form title, form description, form button label, limit wait time, and appending n8n attribution.

Output

JSON

  • responseStatus - Status of the user response (e.g., approved, disapproved, or submitted text).
  • responseData - Data containing the user's response content or approval choice.
  • emailDetails - Details of the sent email including sender, recipient, subject, and message content.

Dependencies

  • Resend email platform API
  • An API key credential for authentication

Troubleshooting

  • Ensure the sender and recipient email addresses are valid and correctly formatted.
  • If the node waits indefinitely, check the limit wait time settings to ensure execution resumes appropriately.
  • For approval responses, verify that the approval options are configured correctly to match the desired buttons and labels.
  • If the response is not captured, confirm that the webhook URL is correctly set up and accessible for receiving user responses.

Links

Discussion