List a Contact's Segments
mautic.list_contact_segments
ActionCRM & salesconnection required
Calls the Mautic API with the connection's credentials.
List the segments a contact currently belongs to.
Connection
- Required
- Yes — the node will not save without one
- Auth type
- OAuth 2.0
- Providers
- Mautic
- Secret shape
- {"client_id": "…", "client_secret": "…", "refresh_token": "…"}
- Config it needs
- base_url
- 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.
| Field | Type | Required | Default | Constraints | Example |
|---|---|---|---|---|---|
contact_id The contact whose segments to list. | string | Yes | — | — | 42 |
Example configuration
Every value below is the contract’s own example or default — nothing invented.
{
"contact_id": "42"
}Output
One shape.
result
| Field | Type | Example |
|---|---|---|
records The records on this page, as Mautic returned them. | array | — |
returned How many records this page contains. | number | — |
total How many records match the query in total. | number | — |
{
"records": [],
"returned": 0,
"total": 0
}See List a Contact's Segments run in a workflow.
In a technical demo we add the Mautic connection, drop the node on the canvas and let Workflow Health pre-flight it before the first real run.