Resend icon

Resend

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

Contact → Add to Segment

AI-generated

Overview

This node operation adds a specified contact to a specified segment within the Resend email platform. It is useful for managing contact groupings for targeted email broadcasts, allowing users to organize contacts into segments for more effective communication campaigns. For example, a user can add a contact to a segment representing a specific customer group to send tailored promotional emails.

Use Case Examples

  1. Add a contact to a marketing segment to target them with specific promotional emails.
  2. Organize contacts into segments based on their interests or behavior for personalized email campaigns.

Properties

Name Meaning
Contact The unique identifier of the contact to add to the segment. This can be selected from a list of contacts or provided directly by ID.
Segment The unique identifier of the segment to which the contact will be added. Segments group contacts for targeted broadcasts. This can be selected from a list of segments or provided directly by ID.

Output

JSON

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

Dependencies

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

Troubleshooting

  • Ensure the contact ID and segment ID are valid and exist in the Resend platform to avoid errors.
  • Check API key credentials and permissions if the operation fails due to authentication issues.
  • Common error messages may include invalid contact or segment IDs, or insufficient permissions to modify segments. Verify inputs and credentials accordingly.

Discussion