Resend icon

Resend

Interact with Resend API for emails, domains, API keys, broadcasts, audiences, and contacts

Actions25

Overview

This node integrates with the Resend API to manage various email-related resources, including contacts. Specifically, for the Contact - Delete operation, it allows users to delete a contact from their email audience by specifying the contact's unique ID.

Common scenarios where this node is beneficial include:

  • Cleaning up outdated or invalid contacts from an email list.
  • Automating contact management workflows where contacts need to be removed based on certain triggers or conditions.
  • Maintaining compliance with data privacy regulations by removing user data upon request.

Example use case:

  • A marketing automation workflow that removes unsubscribed or bounced contacts automatically from the audience to keep the mailing list healthy.

Properties

Name Meaning
Contact ID The unique identifier of the contact to delete (e.g., "con_123456"). This is required.

Output

The output JSON contains the response from the Resend API after attempting to delete the specified contact. Typically, this will confirm successful deletion or provide error details if the operation failed.

The structure is:

{
  // Response object from the Resend API for contact deletion
}

No binary data is output by this operation.

Dependencies

  • Requires an active connection to the Resend API using an API key credential.
  • The node must be configured with valid API authentication credentials to authorize requests.
  • Network access to https://api.resend.com is necessary.

Troubleshooting

  • Common issues:

    • Invalid or missing Contact ID: Ensure the Contact ID provided exists and is correctly formatted.
    • Authentication errors: Verify that the API key credential is valid and has sufficient permissions.
    • Network connectivity problems: Confirm that the n8n instance can reach the Resend API endpoint.
  • Error messages:

    • "error": "Contact not found": The specified Contact ID does not exist; verify the ID.
    • "error": "Unauthorized" or similar: Check API key validity and permissions.
    • HTTP timeout or network errors: Check internet connectivity and firewall settings.

Resolving these typically involves verifying input parameters, credentials, and network configuration.

Links and References

Discussion