Resend icon

Resend

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

Contact → Update Topics

AI-generated

Overview

This node operation updates the topic subscription status for a specified contact in the Resend email platform. It allows users to manage whether a contact is opted in or opted out of receiving emails related to specific topics. This is useful for email marketing and communication workflows where segmenting contacts by their topic preferences is important.

Use Case Examples

  1. Updating a contact's subscription to multiple topics at once, such as opting them into a newsletter topic and opting them out of a promotional offers topic.
  2. Managing contact preferences dynamically based on user interactions or external data updates.

Properties

Name Meaning
Contact The contact whose topic subscriptions are to be updated. This can be selected from a list or specified by ID.
Topics A list of topics to update subscription status for. Each topic requires its ID and a subscription value indicating whether the contact should be opted in or opted out of that topic.

Output

JSON

  • contactId - The ID of the contact whose topics were updated.
  • updatedTopics - An array of topics with their updated subscription statuses for the contact.

Dependencies

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

Troubleshooting

  • Ensure the contact ID is valid and exists in the Resend system to avoid errors.
  • Verify that the topic IDs provided are correct and available in the system.
  • Check API credentials and permissions if the update operation fails due to authentication issues.
  • Common error messages may include invalid contact or topic IDs, or permission denied errors, which can be resolved by verifying inputs and credentials.

Links

Discussion