Resend icon

Resend

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

Contact → List Segments

AI-generated

Overview

This node operation retrieves the segment memberships of a specified contact. It is useful for scenarios where you need to understand or manage the segments a contact belongs to, such as targeted marketing campaigns or personalized communication strategies. For example, you can use this operation to fetch all segments associated with a particular contact to tailor email content or analyze contact grouping.

Use Case Examples

  1. Retrieve all segments for a contact to analyze their group memberships.
  2. Fetch segment memberships to update or manage contact segmentation in a marketing workflow.

Properties

Name Meaning
Contact The contact whose segment memberships to retrieve. It supports selecting a contact from a list or specifying by ID.
Return All Whether to return all segment memberships or limit the number of results.
Limit The maximum number of segment memberships to return when 'Return All' is false.

Output

JSON

  • segments - List of segments the contact belongs to, including segment details such as ID and name.

Dependencies

  • An API key credential for authenticating with the Resend email platform.

Troubleshooting

  • Ensure the contact ID or selected contact exists; otherwise, the node may return an error or empty results.
  • If the API key credential is invalid or missing, authentication errors will occur.
  • When 'Return All' is false, the limit must be a positive number; otherwise, the node may throw an error.

Discussion