Create Record

invoiceninja.create_record
ActionBusiness appsconnection required

Calls the Invoice Ninja API with the connection's credentials.

Create a client, invoice, payment, quote, task or expense from a JSON body, and return the record Invoice Ninja stored.

Connection

Required
Yes — the node will not save without one
Auth type
API key
Providers
Invoice Ninja
Secret shape
the API token, or {"api_token": "…", "api_secret": "…"}
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.

FieldTypeRequiredDefaultConstraintsExample
resource
Which Invoice Ninja entity to act on.
stringYes—one of "clients", "invoices", "payments", "quotes", "tasks", "expenses"—
data
The record's fields, as Invoice Ninja names them — a client takes name and contacts, an invoice takes client_id and line_items.
objectYes—≥ 1 characters{"name":"Acme Corporation"}

Example configuration

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

{
  "data": {
    "name": "Acme Corporation"
  }
}

Output

One shape.

result

The provider's response object, as returned.

Extra keys beyond the ones listed can appear.

{}

See Create Record run in a workflow.

In a technical demo we add the Invoice Ninja connection, drop the node on the canvas and let Workflow Health pre-flight it before the first real run.