Resend icon

Resend

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

Segment → Get

AI-generated

Overview

This node operation retrieves a specific segment from the Resend email platform by its ID. It is useful for scenarios where you need to fetch detailed information about a particular contact segment, such as for targeted email campaigns or segment management within an automation workflow.

Use Case Examples

  1. Fetching a segment by selecting it from a list to view its details.
  2. Using an expression to specify a segment ID dynamically and retrieve its data during workflow execution.

Properties

Name Meaning
Segment The ID of the segment to retrieve. Can be selected from a list or specified directly using an expression.

Output

JSON

  • id - The unique identifier of the retrieved segment.
  • name - The name of the segment.
  • criteria - The criteria or conditions defining the segment.
  • createdAt - The timestamp when the segment was created.
  • updatedAt - The timestamp when the segment was last updated.

Dependencies

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

Troubleshooting

  • Ensure the segment ID provided is valid and exists in the Resend platform to avoid errors.
  • If selecting from the list, verify that the list retrieval method is working and returning segments correctly.
  • Common errors may include authentication failures due to invalid API credentials or network issues; verify credentials and connectivity.

Discussion