Add Contact to Company
mautic.add_contact_to_company
ActionCRM & salesconnection required
Calls the Mautic API with the connection's credentials.
Attach a contact to a company as one of its people.
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 |
|---|---|---|---|---|---|
company_id The company to attach the contact to. | string | Yes | — | — | 7 |
contact_id The contact to attach. | string | Yes | — | — | 42 |
Example configuration
Every value below is the contract’s own example or default — nothing invented.
{
"company_id": "7",
"contact_id": "42"
}Output
One shape.
result
| Field | Type | Example |
|---|---|---|
success True when Mautic reported the membership change applied. | boolean | — |
company_id The company id the change was applied to. | number | — |
contact_id The contact id the change was applied to. | number | — |
{
"company_id": 0,
"contact_id": 0,
"success": false
}See Add Contact to Company 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.