Resend icon

Resend

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

Contact → Update

AI-generated

Overview

This node updates an existing contact in the Resend email platform. It allows users to identify the contact either by their unique Contact ID or by their email address. Users can update various fields of the contact such as first name, last name, unsubscribe status, and custom properties. This node is useful for managing and maintaining accurate contact information for email campaigns and personalization.

Use Case Examples

  1. Updating a contact's first and last name using their Contact ID.
  2. Marking a contact as unsubscribed using their email address.
  3. Adding or modifying custom properties for a contact to store additional metadata.

Properties

Name Meaning
Update By Choose how to identify the contact: by their unique ID or their email address. Use ID for precise matching, email for convenience.
Contact The unique identifier of the contact to update. Required if updating by Contact ID.
Contact Email The email address of the contact to update. Required if updating by email address.
Update Fields Fields to update on the contact, including first name, last name, unsubscribe status, and custom properties.

Output

JSON

  • id - The unique identifier of the updated contact.
  • email - The email address of the updated contact.
  • firstName - The updated first name of the contact.
  • lastName - The updated last name of the contact.
  • unsubscribed - The updated unsubscribe status of the contact.
  • properties - The updated custom properties of the contact.

Dependencies

  • Requires an API key credential for the Resend email platform to authenticate and perform contact updates.

Troubleshooting

  • Ensure the contact exists before attempting to update; updating a non-existent contact will result in an error.
  • If updating by email, verify the email address is correct and corresponds to an existing contact.
  • Check that the API key credential is valid and has the necessary permissions to update contacts.
  • Common error messages may include 'Contact not found' or 'Invalid identifier'; verify the chosen update method and input values.

Discussion