Actions12
- Mail Actions
- Contact Actions
- Broadcast Actions
Overview
This node integrates with the Resend API to retrieve contact information. Specifically, the "Get Contact" operation fetches details about a single contact within a specified audience by using their unique Contact ID and Audience ID. This is useful in scenarios where you need to access or verify contact data before performing further actions such as sending emails, segmenting audiences, or updating contact records.
Practical examples:
- Fetching a subscriber's details to personalize an email campaign.
- Verifying if a contact exists in a particular audience before adding or removing them.
- Retrieving contact metadata for reporting or analytics purposes.
Properties
| Name | Meaning |
|---|---|
| Contact ID | The unique identifier of the contact to retrieve. Example: 479e3145-dd38-476b-932c-529ceb705947 |
| Audience ID | The unique identifier of the audience that the contact belongs to. Example: 479e3145-dd38-476b-932c-529ceb705947 |
Output
The node outputs JSON data representing the contact's details retrieved from the Resend API. This typically includes fields such as contact identifiers, email address, subscription status, metadata, and any other attributes associated with the contact in the specified audience.
If the node supports binary data output (not indicated here), it would represent attachments or files related to the contact, but this is not applicable for the "Get Contact" operation.
Dependencies
- Requires an API key credential for authenticating with the Resend API.
- The node depends on the Resend service being available and accessible.
- Proper configuration of the API key credential in n8n is necessary for successful execution.
Troubleshooting
Common issues:
- Invalid or missing Contact ID or Audience ID will result in errors or empty responses.
- Incorrect or expired API key credentials will cause authentication failures.
- Network connectivity problems can prevent the node from reaching the Resend API.
Error messages and resolutions:
- "Contact not found": Verify that the Contact ID and Audience ID are correct and exist in your Resend account.
- "Authentication failed": Check that the API key credential is correctly configured and has the necessary permissions.
- Timeout or network errors: Ensure stable internet connection and that the Resend API endpoint is reachable.
Links and References
- Resend API Documentation — Official API docs for detailed information on contacts and other resources.
- n8n Documentation — For guidance on setting up credentials and using custom nodes.