Resend icon

Resend

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

Segment → List Contacts

AI-generated

Overview

This node operation lists contacts within a specified segment in the Resend email platform. It is useful for scenarios where you need to retrieve and manage contacts grouped by segments, such as for targeted email campaigns or contact analysis. For example, you can list all contacts in a marketing segment or retrieve a limited number of contacts for review.

Use Case Examples

  1. List all contacts in a segment to export them for a marketing campaign.
  2. Retrieve a limited number of contacts from a segment to analyze recent subscribers.

Properties

Name Meaning
Segment The segment from which to list contacts. You can select a segment from a list or specify its ID using an expression.
Return All Whether to return all contacts in the segment or limit the number of results.
Limit The maximum number of contacts to return when 'Return All' is false.

Output

JSON

  • contacts - An array of contact objects belonging to the specified segment.

Dependencies

  • Requires an API key credential for the Resend email platform to authenticate requests.

Troubleshooting

  • Ensure the segment ID is correct and accessible with the provided API credentials.
  • If 'Return All' is false and the limit is set too low, you may not retrieve all desired contacts.
  • API rate limits or network issues may cause request failures; check credentials and connectivity.

Links

Discussion