rembrembdocs

Documentation Index

Fetch the complete documentation index at: https://resend.com/docs/llms.txt

Use this file to discover all available pages before exploring further.

This step adds the current contact to a specified Segment when reached in the Automation flow. Common use cases:

[​

](#how-it-works)

How it works

Using the dashboard

Define a Add to segment step and select the segment from the dropdown.Automation Add to Segment

Using the API

The add_to_segment step accepts a single segment_id field.

[​

](#configuration)

Configuration

[​

](#param-config-segment-id)

config.segment_id

string

required

The ID of the segment to add the contact to.

Example

{
  "key": "add_to_vip",
  "type": "add_to_segment",
  "config": {
    "segment_id": "83a1e324-26dc-47eb-9b28-ba8b6d1fe808"
  }
}