Mark Do Not Contact
mautic.add_dnc
ActionCRM & salesconnection required
Calls the Mautic API with the connection's credentials.
Add a do-not-contact flag on one channel so Mautic stops messaging.
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, 1 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 suppress. | string | Yes | — | — | 42 |
channel The channel to suppress. | string | No | one of "email", "sms" | — |
Example configuration
Every value below is the contract’s own example or default — nothing invented.
{
"channel": "email",
"contact_id": "42"
}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 | — |
channel The channel the flag was set on. | string | — |
do_not_contact Always true for this node. | boolean | — |
{
"channel": "",
"do_not_contact": false,
"id": 0,
"record": {}
}See Mark Do Not 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.