Remove Contact from Segment
mautic.remove_contact_from_segment
ActionCRM & salesconnection required
Calls the Mautic API with the connection's credentials.
Remove one contact from a segment.
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.
| Field | Type | Required | Default | Constraints | Example |
|---|---|---|---|---|---|
segment_id The segment to remove the contact from. | string | Yes | — | — | 4 |
contact_id The contact to remove. | string | Yes | — | — | 42 |
Example configuration
Every value below is the contract’s own example or default — nothing invented.
{
"contact_id": "42",
"segment_id": "4"
}Output
One shape.
result
| Field | Type | Example |
|---|---|---|
success True when Mautic reported the membership change applied. | boolean | — |
segment_id The segment id the change was applied to. | number | — |
contact_id The contact id the change was applied to. | number | — |
{
"contact_id": 0,
"segment_id": 0,
"success": false
}See Remove Contact from 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.