Update Contact
mautic.update_contact
ActionCRM & salesconnection required
Calls the Mautic API with the connection's credentials.
Update the named fields on an existing contact, 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
3 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 |
|---|---|---|---|---|---|
contact_id The contact to update. | string | Yes | — | — | 42 |
contact The fields to change, keyed by the field alias this instance defines. | object | Yes | — | — | {"firstname":"Ada"} |
create_if_missing Send PUT instead of PATCH: creates the contact when that id does not exist, but clears every contact field you do not send. | boolean | No | false | — | — |
Example configuration
Every value below is the contract’s own example or default — nothing invented.
{
"contact": {
"firstname": "Ada"
},
"contact_id": "42",
"create_if_missing": false
}Output
One shape.
result
| Field | Type | Example |
|---|---|---|
record The Mautic record, exactly as the API returned it. | object | — |
id The record's Mautic id. | number | — |
{
"id": 0,
"record": {}
}See Update Contact 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.