Delete Segment

customer_io.delete_segment
ActionCRM & salesconnection required

Calls the Customer.io API with the connection's credentials.

Delete a segment. The people in it are not deleted, and anything that referenced the segment stops matching.

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

1 field, 1 required. A dotted path is a nested object and name[] an array of objects — the editor renders the same tree.

FieldTypeRequiredDefaultConstraintsExample
segment_id
The numeric id of the segment, from its page in the dashboard under Usage.
stringYes——12

Example configuration

Every value below is the contract’s own example or default — nothing invented.

{
  "segment_id": "12"
}

Output

One shape.

result

FieldTypeExample
deleted
Always true; Customer.io accepted the delete.
boolean—
segment_id
The segment that was deleted.
number—
{
  "deleted": false,
  "segment_id": 0
}

See Delete Segment 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.