Skip to content

Axonaut ​

Finds or creates Axonaut companies and contacts, creates an opportunity, logs an exchange, creates quotes and invoices, finds an invoice with its PDF, records a payment or an expense.

The Axonaut node connects the mailbox to Axonaut’s CRM and invoicing: it finds or creates a company (customer, prospect, supplier) and its contacts, creates an opportunity, logs the exchange on the record, creates quotes and invoices, marks a quote as accepted or refused, finds an invoice with its PDF, records a payment and records a supplier expense.

See Axonaut to create the connection.

At a glance ​

  • Type: axonaut.api · version 1
  • Category: Data
  • Kind: Step — one stage of a run
  • Effect: Writes outside (external_write) — writes outside Loop & Roll; described instead of performed during a test run
  • Needs a carrier email: No
  • Connection: Axonaut
  • Inputs: main
  • Outputs: main
The ports of “Axonaut”: what comes in on the left, what goes out on the rightInput: main. Outputs: main. An error output appears when its failure setting is “Follow the Error output”. It needs a Axonaut connection.Axonautaxonaut.apimainmainerror · only with “Follow the Error output”Connection: Axonaut
The ports of “Axonaut”: what comes in on the left, what goes out on the right

Connection ​

This node needs a Axonaut connection.

Parameters ​

connection ​

Axonaut connection — The Axonaut connection to use. Create it once in Connections; its key never appears in the workflow.

  • Type: Connection (credential)
  • Required: Yes
  • Default: "" (empty)

action ​

Action

  • Type: One choice (options)
  • Required: Yes
  • Default: company.find
  • Options:
    • company.find — Find a company: By name or SIRET, among customers, prospects or suppliers.
    • company.create — Create a company: Customer, prospect or supplier, with a first contact.
    • quotation.create — Create a quote: One line, for an existing company.
    • quotation.accept — Mark a quote as accepted: When the agreement arrives by email.
    • quotation.refuse — Mark a quote as refused: When the refusal arrives by email.
    • invoice.create — Create an invoice: One line, for an existing company.
    • invoice.list — Search invoices: By number, payment state or update date.
    • invoice.get — Get an invoice: Amounts, amount due, link to the PDF.
    • payment.create — Record a payment: On an invoice, for instance when a transfer notice arrives.
    • expense.create — Record an expense: A supplier invoice received: amount before tax and VAT.
    • company.upsert — Find or create a company: By exact name; created as a prospect.
    • employee.upsert — Create or update a contact: By email address.
    • opportunity.create — Create an opportunity
    • event.create — Log an exchange: A note, an email, a call… on the company record.
    • invoice.find — Find an invoice: By number, with its PDF attached to the run if asked.

Name (or part of it)

  • Type: Text (string)
  • Required: No
  • Default: "" (empty)
  • 200 characters at most
  • Shown when: action is company.find
  • Expressions: {{ }} accepted

siret ​

SIRET

  • Type: Text (string)
  • Required: No
  • Default: "" (empty)
  • 20 characters at most
  • Shown when: action is one of company.find, company.create
  • Expressions: {{ }} accepted

companyKind ​

Company type

  • Type: One choice (options)
  • Required: No
  • Default: customer
  • Options:
    • customer — Customer
    • prospect — Prospect
    • supplier — Supplier
    • all — All
  • Shown when: action is one of company.find, company.create

name ​

Company name

  • Type: Text (string)
  • Required: Yes
  • Default: "" (empty)
  • 250 characters at most
  • Shown when: action is company.create
  • Expressions: {{ }} accepted

street ​

Street address

  • Type: Text (string)
  • Required: No
  • Default: "" (empty)
  • 250 characters at most
  • Shown when: action is company.create
  • Expressions: {{ }} accepted

zipCode ​

Postal code

  • Type: Text (string)
  • Required: No
  • Default: "" (empty)
  • 20 characters at most
  • Shown when: action is company.create
  • Expressions: {{ }} accepted

city ​

City

  • Type: Text (string)
  • Required: No
  • Default: "" (empty)
  • 100 characters at most
  • Shown when: action is company.create
  • Expressions: {{ }} accepted

contactFirstName ​

Contact first name

  • Type: Text (string)
  • Required: No
  • Default: "" (empty)
  • 100 characters at most
  • Shown when: action is company.create
  • Expressions: {{ }} accepted

contactLastName ​

Contact last name

  • Type: Text (string)
  • Required: No
  • Default: "" (empty)
  • 100 characters at most
  • Shown when: action is company.create
  • Expressions: {{ }} accepted

contactEmail ​

Contact email address

  • Type: Text (string)
  • Required: No
  • Default: "" (empty)
  • 320 characters at most
  • Example: {{ email.from.address }}
  • Shown when: action is company.create
  • Expressions: {{ }} accepted

companyId ​

Company (id) — The Axonaut id returned by “Find a company”: {{ data.<step>.id }}. Optional when searching invoices.

  • Type: Text (string)
  • Required: No
  • Default: "" (empty)
  • 20 characters at most
  • Shown when: action is one of quotation.create, invoice.create, invoice.list, employee.upsert, opportunity.create, event.create
  • Expressions: {{ }} accepted

supplierId ​

Supplier (id) — The supplier’s Axonaut id, returned by “Find a company”.

  • Type: Text (string)
  • Required: Yes
  • Default: "" (empty)
  • 20 characters at most
  • Shown when: action is expense.create
  • Expressions: {{ }} accepted

date ​

Date — 2026-11-15 or 15/11/2026.

  • Type: Text (string)
  • Required: Yes
  • Default: "" (empty)
  • 40 characters at most
  • Shown when: action is one of quotation.create, invoice.create, payment.create, expense.create
  • Expressions: {{ }} accepted

dueDate ​

Due date (or quote expiry)

  • Type: Text (string)
  • Required: No
  • Default: "" (empty)
  • 40 characters at most
  • Shown when: action is one of quotation.create, invoice.create
  • Expressions: {{ }} accepted

lineName ​

Line label

  • Type: Text (string)
  • Required: Yes
  • Default: "" (empty)
  • 500 characters at most
  • Shown when: action is one of quotation.create, invoice.create
  • Expressions: {{ }} accepted

quantity ​

Quantity

  • Type: Text (string)
  • Required: No
  • Default: 1
  • 20 characters at most
  • Shown when: action is one of quotation.create, invoice.create
  • Expressions: {{ }} accepted

unitPrice ​

Unit price before tax

  • Type: Text (string)
  • Required: Yes
  • Default: "" (empty)
  • 40 characters at most
  • Shown when: action is one of quotation.create, invoice.create
  • Expressions: {{ }} accepted

taxRate ​

VAT rate (%)

  • Type: Text (string)
  • Required: No
  • Default: 20
  • 10 characters at most
  • Shown when: action is one of quotation.create, invoice.create, expense.create
  • Expressions: {{ }} accepted

documentId ​

Id — The quote’s or the invoice’s, as an earlier step returns it.

  • Type: Text (string)
  • Required: Yes
  • Default: "" (empty)
  • 20 characters at most
  • Shown when: action is one of quotation.accept, quotation.refuse, invoice.get, payment.create
  • Expressions: {{ }} accepted

amount ​

Amount — Payment: the amount received. Expense: the amount before tax.

  • Type: Text (string)
  • Required: Yes
  • Default: "" (empty)
  • 40 characters at most
  • Shown when: action is one of payment.create, expense.create
  • Expressions: {{ }} accepted

taxAmount ​

Tax amount

  • Type: Text (string)
  • Required: No
  • Default: "" (empty)
  • 40 characters at most
  • Shown when: action is expense.create
  • Expressions: {{ }} accepted

title ​

Expense title

  • Type: Text (string)
  • Required: Yes
  • Default: "" (empty)
  • 250 characters at most
  • Shown when: action is expense.create
  • Expressions: {{ }} accepted

nature ​

Payment method

  • Type: One choice (options)
  • Required: No
  • Default: 2
  • Options:
    • 1 — Direct debit
    • 2 — Transfer
    • 3 — Check
    • 4 — Credit card
    • 5 — Cash
    • 6 — Other
  • Shown when: action is payment.create

reference ​

Payment reference

  • Type: Text (string)
  • Required: No
  • Default: "" (empty)
  • 200 characters at most
  • Shown when: action is payment.create
  • Expressions: {{ }} accepted

number ​

Invoice number

  • Type: Text (string)
  • Required: No
  • Default: "" (empty)
  • 100 characters at most
  • Shown when: action is invoice.list
  • Expressions: {{ }} accepted

Payment state

  • Type: One choice (options)
  • Required: No
  • Default: any
  • Options:
    • any — All
    • true — Paid
    • false — Unpaid
  • Shown when: action is invoice.list

updatedFrom ​

Updated after

  • Type: Text (string)
  • Required: No
  • Default: "" (empty)
  • 40 characters at most
  • Shown when: action is invoice.list
  • Expressions: {{ }} accepted

companyName ​

Company name

  • Type: Text (string)
  • Required: Yes
  • Default: "" (empty)
  • 300 characters at most
  • Shown when: action is company.upsert
  • Expressions: {{ }} accepted

email ​

Contact email address

  • Type: Text (string)
  • Required: No
  • Default: "" (empty)
  • 320 characters at most
  • Example: {{ email.from.email }}
  • Shown when: action is one of employee.upsert, event.create, opportunity.create
  • Expressions: {{ }} accepted

firstName ​

First name

  • Type: Text (string)
  • Required: No
  • Default: "" (empty)
  • 200 characters at most
  • Shown when: action is employee.upsert
  • Expressions: {{ }} accepted

lastName ​

Last name

  • Type: Text (string)
  • Required: No
  • Default: "" (empty)
  • 200 characters at most
  • Shown when: action is employee.upsert
  • Expressions: {{ }} accepted

phone ​

Phone

  • Type: Text (string)
  • Required: No
  • Default: "" (empty)
  • 60 characters at most
  • Shown when: action is employee.upsert
  • Expressions: {{ }} accepted

subject ​

Title — The opportunity name, or the event title.

  • Type: Text (string)
  • Required: Yes
  • Default: "" (empty)
  • 500 characters at most
  • Example: {{ email.subject }}
  • Shown when: action is one of opportunity.create, event.create
  • Expressions: {{ }} accepted

opportunityAmount ​

Amount

  • Type: Text (string)
  • Required: No
  • Default: "" (empty)
  • 40 characters at most
  • Shown when: action is opportunity.create
  • Expressions: {{ }} accepted

probability ​

Probability (%)

  • Type: Number (number)
  • Required: No
  • Default: 50
  • Whole number, from 0 to 100
  • Shown when: action is opportunity.create

pipeName ​

Pipe — The pipe name as written in Axonaut. Empty = the default pipe.

  • Type: Text (string)
  • Required: No
  • Default: "" (empty)
  • 200 characters at most
  • Shown when: action is opportunity.create
  • Expressions: {{ }} accepted

pipeStepName ​

Step

  • Type: Text (string)
  • Required: No
  • Default: "" (empty)
  • 200 characters at most
  • Shown when: action is opportunity.create
  • Expressions: {{ }} accepted

opportunityDueDate ​

Due date — An ISO 8601 date. Empty = not set.

  • Type: Text (string)
  • Required: No
  • Default: "" (empty)
  • 40 characters at most
  • Shown when: action is opportunity.create
  • Expressions: {{ }} accepted

eventNature ​

Kind

  • Type: One choice (options)
  • Required: No
  • Default: email
  • Options:
    • email — Email
    • note — Note
    • call — Call
    • meeting — Meeting
    • letter — Letter
    • sms — Text message
  • Shown when: action is event.create

content ​

Content — The event content, or the opportunity comment.

  • Type: Long text (text)
  • Required: No
  • Default: "" (empty)
  • 50000 characters at most
  • Example: {{ data.summary.summary }}
  • Shown when: action is one of event.create, opportunity.create
  • Expressions: {{ }} accepted

invoiceNumber ​

Invoice number

  • Type: Text (string)
  • Required: Yes
  • Default: "" (empty)
  • 100 characters at most
  • Example: {{ data.extraction.invoice }}
  • Shown when: action is invoice.find
  • Expressions: {{ }} accepted

attachPdf ​

Attach the PDF — Brings the invoice PDF into the run, so a reply can attach it.

  • Type: Yes / no (boolean)
  • Required: No
  • Default: false
  • Shown when: action is invoice.find

Outputs ​

  • main — Taken once the call to Axonaut succeeds, whatever the action. An error response from Axonaut fails the step instead.

Data produced ​

What this node adds to the run data, and how to read it in an expression. <step> stands for the step key: the node name turned into an identifier (see Data and expressions).

  • {{ data.<step>.id }} — string. The Axonaut id of the first company found or of the object created.
  • {{ data.<step>.found }} — boolean. Searches only: true when at least one item matches.
  • {{ data.<step>.invoices }} — array of { id, number, date, paid, total, outstandingAmount, pdfUrl }. Search invoices only.
  • {{ data.<step>.firstPageOnly }} — boolean. Searches: always true, only the first page is read.
  • {{ data.<step>.companyId }} — string. Find or create a company: the Axonaut company ID, to pass to the other actions.
  • {{ data.<step>.created }} — boolean. Find or create a company, Create or update a contact: true when the item was created.
  • {{ data.<step>.employeeId }} — string. Create or update a contact: the contact ID.
  • {{ data.<step>.opportunityId }} — string. Create an opportunity: its ID.
  • {{ data.<step>.eventId }} — string. Log an exchange: the event ID.
  • {{ data.<step>.invoice }} — object. Find an invoice: the invoice as Axonaut returns it (amounts, dates, customer…).
  • {{ data.<step>.pdfUrl }} — string. Find an invoice: the public link to its PDF, empty if there is none.
  • {{ data.<step>.attachmentPosition }} — number. Find an invoice with Attach the PDF: the attachment position in the run, to cite in Compose. null otherwise.
  • {{ data.<step>.simulated }} — boolean. true when the action was described instead of done: in a test run, creations and changes are not sent; reads always go out for real.
  • {{ data.<step>.summary }} — string. The one-line summary in the member’s language (with summaryKey and summaryParams).

Operations ​

The node has a single Action parameter (action). Each action calls the Axonaut API with the connection’s key.

  • Find a company (company.find, the default) by name or SIRET; suppliers are searched in their own list. Create a company (company.create), with a first contact.
  • Create a quote and Create an invoice (quotation.create, invoice.create) with one line; Mark a quote as accepted / refused (quotation.accept, quotation.refuse).
  • Search invoices and Get an invoice (invoice.list, invoice.get), Record a payment (payment.create), Record an expense (expense.create).

On the CRM side:

  • Find or create a company (company.upsert): by exact name (Axonaut search is a “contains”, the node keeps only the identical name); created as a prospect.
  • Create or update a contact (employee.upsert): by address, attached to the Company.
  • Create an opportunity (opportunity.create): Title, Amount, Probability, Pipe and Step by name, Due date.
  • Log an exchange (event.create): Kind (email, note, call, meeting, letter, text message), Title, Content.
  • Find an invoice (invoice.find) by number; Attach the PDF brings its public PDF into the run.

Example ​

A transfer notice arrives for invoice FAC-2026-0042. An invoice node finds it (invoice.list, number FAC-2026-0042) and a second one records the payment:

text
action      payment.create
documentId  {{ data.invoice.invoices.0.id }}
amount      {{ data.read.amount }}
date        {{ data.read.date }}
nature      2

Tips ​

  • Test runs. Reads go out for real in a test run; creations and changes are only described (simulated is true).
  • Amounts and dates. Amounts accept 1234.50 as well as 1 234,50 €; dates 2026-11-15 as well as 15/11/2026. An unreadable value is never guessed.
  • Cadence. Axonaut documents no limit: Loop & Roll sends at most two requests per second per connection.
  • No idempotency in Axonaut. Search before creating: a retry after a successful creation creates a duplicate.
  • Errors. integration.unauthorized: the key was refused or revoked, replace it in the connection. integration.rejected: Axonaut refused the request (missing field, invalid value), fix the settings. integration.rate_limited and integration.unavailable are retried automatically. An empty required parameter or an unreadable amount fails the step with node_invalid_param, before any call. See Error handling.

Loop & Roll — the workflow builder for email.