List Segments
customer_io.list_segments
ActionCRM & salesconnection required
Calls the Customer.io API with the connection's credentials.
List every segment in the workspace, manual and data-driven alike.
Connection
- Required
- Yes — the node will not save without one
- Auth type
- API key
- Providers
- Customer.io
- Secret shape
- {"site_id": "…", "api_key": "…", "app_api_key": "…"} — the Site ID and Track API key for the Track nodes, the App API key for the rest
- Config it needs
- region, workspace_id
- Resolved by
- config.connection_id, else node.connection_id
Configuration
This node takes no configuration beyond its connection.
Output
One shape.
result
| Field | Type | Example |
|---|---|---|
segments One object per segment. | array | — |
segments[].id The segment's numeric id. | number | — |
segments[].name The segment name. | string | — |
segments[].type 'manual' or 'dynamic'. | string | — |
segments[].state The segment's build state. | string | — |
count How many segments the workspace holds. | number | — |
{
"count": 0,
"segments": [
{
"id": 0,
"name": "",
"state": "",
"type": ""
}
]
}See List Segments run in a workflow.
In a technical demo we add the Customer.io connection, drop the node on the canvas and let Workflow Health pre-flight it before the first real run.