Create Contacts (Batch)

mautic.batch_create_contacts
ActionCRM & salesconnection required

Calls the Mautic API with the connection's credentials.

Create many contacts in one call and report the outcome of each one separately.

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

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

FieldTypeRequiredDefaultConstraintsExample
contacts
The contacts to create, each a JSON object of field aliases.
arrayYes—array of object[{"email":"ada@example.com"},{"email":"grace@example.com"}]

Example configuration

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

{
  "contacts": [
    {
      "email": "ada@example.com"
    },
    {
      "email": "grace@example.com"
    }
  ]
}

Output

One shape.

result

FieldTypeExample
records
The records Mautic processed, in the order they were sent.
array—
status_codes
Mautic's per-record HTTP status code, one per record sent.
array—
errors
Mautic's per-record error entries; empty when nothing failed.
array—
succeeded
How many records Mautic answered with a status below 400.
number—
failed
How many records Mautic refused.
number—
partial
True when the same batch both wrote and refused records.
boolean—
{
  "errors": [],
  "failed": 0,
  "partial": false,
  "records": [],
  "status_codes": [],
  "succeeded": 0
}

See Create Contacts (Batch) 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.