Resend icon

Resend

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

Contact → Remove From Segment

AI-generated

Overview

This node operation removes a specified contact from a specified segment within the Resend email platform. It is useful for managing contact memberships in segments, ensuring that the contact no longer receives broadcasts targeted to that segment. For example, if a contact should no longer receive promotional emails sent to a particular segment, this operation can be used to remove them from that segment.

Use Case Examples

  1. Removing a contact from a marketing segment to stop receiving promotional broadcasts.
  2. Managing contact lists by segment membership dynamically based on user actions or preferences.

Properties

Name Meaning
Contact The unique identifier of the contact to remove from the segment. This can be selected from a list of contacts or specified by ID.
Segment The unique identifier of the segment from which the contact will be removed. This can be selected from a list of segments or specified by ID.

Output

JSON

  • success - Indicates whether the contact was successfully removed from the segment.
  • contactId - The unique identifier of the contact that was removed.
  • segmentId - The unique identifier of the segment from which the contact was removed.

Dependencies

  • Requires an API key credential for the Resend email platform to authenticate and authorize the operation.

Troubleshooting

  • Ensure the contact ID and segment ID are valid and exist in the Resend platform.
  • Check that the API key credential has the necessary permissions to modify contact segment memberships.
  • Common errors may include 'Contact not found', 'Segment not found', or 'Unauthorized access' which indicate issues with identifiers or credentials.

Discussion