Resend icon

Resend

Resend API node

Overview

This node integrates with the Resend API to manage contacts, emails, and broadcasts. Specifically, for the Delete Contact operation under the Contact resource, it allows users to delete a contact from a specified audience by providing either the contact's ID or email address. This is useful in scenarios where you want to remove outdated or unsubscribed contacts from your mailing lists to maintain clean and compliant audience data.

Practical examples include:

  • Automatically removing bounced or unsubscribed contacts from an email marketing list.
  • Cleaning up contact lists before sending new campaigns.
  • Managing audience membership dynamically based on user actions or external triggers.

Properties

Name Meaning
Audience ID The unique identifier of the audience (mailing list) from which the contact will be deleted.
Update Value The identifier of the contact to delete; can be either the contact's ID or their email address.

Output

The node outputs JSON data representing the result of the delete operation. Typically, this includes confirmation that the contact was successfully deleted or details about any error encountered. The exact structure depends on the Resend API response but generally contains status information and possibly metadata about the deleted contact.

No binary data output is involved in this operation.

Dependencies

  • Requires an API key credential for authenticating with the Resend API.
  • The node expects proper configuration of this API key within n8n credentials.
  • Network access to the Resend API endpoint is necessary.

Troubleshooting

  • Common issues:

    • Providing an invalid or non-existent Audience ID or contact identifier will cause the deletion to fail.
    • Missing or incorrect API authentication will result in authorization errors.
    • Network connectivity problems can prevent the node from reaching the Resend API.
  • Error messages and resolutions:

    • "Unauthorized" or similar: Check that the API key credential is correctly set up and has the required permissions.
    • "Contact not found": Verify that the provided contact ID or email exists in the specified audience.
    • "Invalid Audience ID": Confirm the audience ID is correct and active.
    • Timeouts or network errors: Ensure stable internet connection and that the Resend API service is reachable.

Links and References

Discussion