Skip to content

Evoliz ​

Finds or creates a client, finds an invoice and its PDF, attaches an email’s files to an Evoliz purchase, invoice, quote or client.

The Evoliz node connects the mailbox to Evoliz invoicing and pre-accounting: it finds or creates a client, finds an invoice by its number with its PDF, and attaches an email’s files to a purchase, an invoice, a quote or a client — for example to file a purchase receipt received by email.

See Evoliz to create the connection.

At a glance ​

  • Type: evoliz.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: Evoliz
  • Inputs: main
  • Outputs: main
The ports of “Evoliz”: 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 Evoliz connection.Evolizevoliz.apimainmainerror · only with “Follow the Error output”Connection: Evoliz
The ports of “Evoliz”: what comes in on the left, what goes out on the right

Connection ​

This node needs a Evoliz connection.

Parameters ​

connection ​

Evoliz connection — The Evoliz 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: client.find
  • Options:
    • client.find — Find a client
    • client.create — Create a client
    • invoice.find — Find an invoice by number
    • document.attach — Attach files to a purchase, invoice, quote or client

Search — A name, a code or a VAT number.

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

name ​

Client name

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

clientType ​

Client kind

  • Type: One choice (options)
  • Required: No
  • Default: Professionnel
  • Options:
    • Professionnel — Business
    • Particulier — Individual
    • Administration publique — Public administration
  • Shown when: action is client.create

street ​

Street address

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

postcode ​

Postcode

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

town ​

Town

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

country ​

Country (two-letter ISO code)

  • Type: Text (string)
  • Required: No
  • Default: FR
  • 2 characters at most
  • Shown when: action is client.create
  • Expressions: {{ }} accepted

phone ​

Phone

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

invoiceNumber ​

Invoice number

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

attachPdf ​

Fetch the PDF — Adds the invoice PDF to the run, so an email can attach it.

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

document ​

Attach to

  • Type: One choice (options)
  • Required: No
  • Default: buys
  • Options:
    • buys — A purchase
    • invoices — An invoice
    • quotes — A quote
    • clients — A client
  • Shown when: action is document.attach

documentId ​

Evoliz ID

  • Type: Text (string)
  • Required: Yes
  • Default: "" (empty)
  • 20 characters at most
  • Example: {{ data.evoliz.id }}
  • Shown when: action is document.attach
  • Expressions: {{ }} accepted

attachmentPosition ​

Attachment — The position of one attachment of the run. Empty: all the email’s attachments (ten at most).

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

Outputs ​

  • main — Taken once the call to Evoliz succeeds, whatever the action. An error response from Evoliz 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>.found }} — boolean. Find a client, Find an invoice: true when an item matches.
  • {{ data.<step>.client }} — { id, code, name, type, vatNumber, postcode, town }. Find a client: the first one found (null otherwise). Create a client: the client created.
  • {{ data.<step>.clientId }} — string. Find or create a client: its Evoliz ID. Empty when nothing is found.
  • {{ data.<step>.clients }} — array of { id, code, name, type, vatNumber, postcode, town }. Find a client: the clients found, ten at most.
  • {{ data.<step>.invoice }} — { id, number, date, dueDate, status, object, clientId, clientName, totalVatExcluded, totalVatIncluded, webdoc }. Find an invoice: the invoice, null when none has that number.
  • {{ data.<step>.invoiceId }} — string. Find an invoice: its ID, empty when nothing is found.
  • {{ data.<step>.attachmentPosition }} — number. Find an invoice with Fetch the PDF: the PDF position in the run, to cite in Compose. null otherwise.
  • {{ data.<step>.count }} — number. Attach files: the number of files sent.
  • {{ data.<step>.simulated }} — boolean. Create a client and Attach: true when the write was described instead of done (test run).
  • {{ 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 Evoliz API with the connection’s session token.

  • Find a client (client.find, the default): Search by name, code or VAT number, ten results at most.
  • Create a client (client.create): Client name, Postcode and Town required; Client kind business (default), individual or public administration; street address, Country (two-letter ISO code, FR by default), phone.
  • Find an invoice by number (invoice.find); Fetch the PDF adds its PDF to the run.
  • Attach files (document.attach) to a purchase (default), an invoice, a quote or a client, by its Evoliz ID. Attachment empty: all the email’s attachments, ten at most; otherwise the attachment at that position.

Example ​

A supplier emails the receipt for a purchase already entered in Evoliz. A read step extracted the purchase ID; an Evoliz node attaches all the email’s attachments to it:

text
action              document.attach
document            buys
documentId          {{ data.read.purchase_id }}

Tips ​

  • Testing. Reads go out for real in a test run; creating a client and uploading files are only described (simulated is true).
  • Files. 10 MB at most per file. No matching attachment fails the step with node_invalid_param.
  • Search before creating. Retrying the step after a successful creation can create a duplicate.
  • Errors. integration.unauthorized: the keys were refused or revoked, replace them in the connection. integration.rejected: Evoliz 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 ID that is not a whole number fails the step with node_invalid_param, before any call. See Error handling.

Loop & Roll — the workflow builder for email.