Skip to content

Axonaut invoice ​

Starts the workflow when an Axonaut invoice is created, paid or changed, checking at a regular interval. The invoice lands in data.axonaut, with no triggering email.

The Axonaut invoice trigger checks Axonaut invoices at regular intervals and starts one run per invoice created, paid or changed, depending on the setting.

The run has no triggering email: nodes that act on the triggering email cannot follow this trigger. Send works when you choose the sending mailbox on the node.

At a glance ​

  • Type: trigger.axonaut · version 1
  • Category: Triggers
  • Kind: Trigger — starts a run
  • Effect: No external effect (none) — nothing is written outside Loop & Roll; safe to replay
  • Needs a carrier email: No
  • Connection: Axonaut
  • Outputs: main
The ports of “Axonaut invoice”: what comes in on the left, what goes out on the rightIt starts runs: no input. Outputs: main. It needs a Axonaut connection.Axonaut invoicetrigger.axonautEventmainConnection: Axonaut
The ports of “Axonaut invoice”: 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)

event ​

Trigger on

  • Type: One choice (options)
  • Required: Yes
  • Default: paid
  • Options:
    • created — A new invoice
    • paid — An invoice paid
    • updated — Any change to an invoice

everyMinutes ​

Check every (minutes)

  • Type: Number (number)
  • Required: No
  • Default: 30
  • Whole number, from 5 to 1440

Outputs ​

  • main — Taken once per new item found by a check: each item starts its own run.

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.axonaut.id }} — string. The Axonaut id of the invoice.
  • {{ data.axonaut.event }} — string. What the trigger watches: created, paid or updated.
  • {{ data.axonaut.number }} — string. The invoice number.
  • {{ data.axonaut.total }} — number. The amount including tax.
  • {{ data.axonaut.paidDate }} — string. The payment date (ISO 8601), empty when unpaid.
  • {{ data.axonaut.companyName }} — string. The invoiced customer.

Example ​

To thank a customer as soon as their invoice is paid, set Trigger on to “An invoice paid” and quote {{ data.axonaut.number }}.

Tips ​

  • Start position. On publication the trigger starts “from now”: nothing earlier is replayed. Publishing again keeps the position already reached.
  • Cadence. Between 5 and 1,440 minutes. The instance may impose a higher floor; each check uses requests from the connection’s quota.
  • Testing. Testing from this trigger really queries Axonaut and runs the draft on the most recent items, without ever moving the position.
  • Errors. A temporary error leaves the position unchanged and the next check retries. A permanent error (revoked connection, incomplete settings) sends you a notification, once per outage.

Loop & Roll — the workflow builder for email.