List Segments

mautic.list_segments
ActionCRM & salesconnection required

Calls the Mautic API with the connection's credentials.

Search and page the segments defined in Mautic.

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

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

FieldTypeRequiredDefaultConstraintsExample
search
Mautic search string or search command, for example 'email:*@acme.com'.
stringNo———
start
Row to start from; 0 is the first record of the result set.
numberNo0≥ 0—
limit
How many records to return in one call; Mautic's own default is 30.
numberNo30≥ 1—
order_by
Column to sort by, written as Mautic stores it, for example 'date_modified'.
stringNo———
order_by_dir
Sort direction for 'order_by'.
stringNo—one of "ASC", "DESC"—
published_only
Return only records that are currently published in Mautic.
booleanNo———
minimal
Return each record without its nested lists, which is much cheaper on large accounts.
booleanNo———

Example configuration

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

{
  "limit": 30,
  "start": 0
}

Output

One shape.

result

FieldTypeExample
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 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.