Update Segment

mautic.update_segment
ActionCRM & salesconnection required

Calls the Mautic API with the connection's credentials.

Update the named fields on an existing segment, leaving the rest alone.

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

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

FieldTypeRequiredDefaultConstraintsExample
segment_id
The segment to update.
stringYes——4
properties
The segment fields to change, such as name, description or filters.
objectYes——{"description":"Everyone who attended"}

Example configuration

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

{
  "properties": {
    "description": "Everyone who attended"
  },
  "segment_id": "4"
}

Output

One shape.

result

FieldTypeExample
record
The Mautic record, exactly as the API returned it.
object—
id
The record's Mautic id.
number—
{
  "id": 0,
  "record": {}
}

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