Skip to content

Pappers ​

Reads a French company’s legal record and fetches its official documents (INPI extract, articles of association, INSEE notice) from its SIREN.

The Pappers node checks a French business client from its SIREN: legal record, officers, and official documents attached to the case or to the reply. It serves the know-your-customer needs of a broker, a firm or an insurer.

It works with a Pappers connection created once in Connections. See Pappers.

At a glance ​

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

Connection ​

This node needs a Pappers connection.

Parameters ​

connection ​

Pappers connection — The Pappers 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
  • Options:
    • company — Get a company record: Name, legal form, head office, officers, from the SIREN or SIRET.
    • search — Search for a company: By company name, or by an entrepreneur’s first and last name.
    • document — Fetch an official document: INPI extract, Pappers extract, INSEE notice or articles of association, added to the attachments.
    • credits — Get the remaining credits

identifier ​

SIREN or SIRET — 9 digits for a SIREN, 14 for a SIRET. Spaces are ignored.

  • Type: Text (string)
  • Required: Yes
  • Default: "" (empty)
  • 30 characters at most
  • Example: {{ data.extract.siren }}
  • Shown when: action is one of company, document
  • Expressions: {{ }} accepted

documentType ​

Document

  • Type: One choice (options)
  • Required: No
  • Default: extrait_inpi
  • Options:
    • extrait_inpi — INPI extract (K-bis equivalent)
    • extrait_pappers — Pappers extract
    • avis_situation_insee — INSEE status notice
    • statuts — Articles of association
  • Shown when: action is document

query ​

Search

  • Type: Text (string)
  • Required: Yes
  • Default: "" (empty)
  • 200 characters at most
  • Example: {{ data.extract.company }}
  • Shown when: action is search
  • Expressions: {{ }} accepted

limit ​

Maximum count

  • Type: Number (number)
  • Required: No
  • Default: 5
  • Whole number, from 1 to 20
  • Shown when: action is search

Outputs ​

  • main — Taken once the Pappers call succeeds, whatever the action (a search with no result too). An error response from Pappers 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>.company }} — { siren, name, legalForm, createdOn, capital, nafCode, nafLabel, rcsStatus, ceased, vatNumber, headOffice, officers }. Get a company record only: the company. headOffice carries siret, address, postalCode, city; officers the officers (name, role).
  • {{ data.<step>.raw }} — object. Get a company record only: Pappers’s full response.
  • {{ data.<step>.companies }} — array of company. Search only: the companies found.
  • {{ data.<step>.siren }} — string. Search only: the SIREN of the first company found, empty otherwise.
  • {{ data.<step>.count }} — number. Search only: the number of companies returned.
  • {{ data.<step>.attachmentPosition }} — number. Fetch a document only: the position of the added PDF, to cite in Compose.
  • {{ data.<step>.remaining }} — number. Get the credits only: the remaining credits (plan and pay as you go).
  • {{ data.<step>.summary }} — string. The one-line summary in the member’s language (with summaryKey and summaryParams).

Operations ​

  • Get a company record (company, the default), from the SIREN or SIRET (identifier).
  • Search for a company (search): Search (query), Maximum count (limit, 20 at most).
  • Fetch an official document (document): Document (documentType: INPI extract, Pappers extract, INSEE status notice, articles of association), added to the run’s attachments.
  • Get the remaining credits (credits).

Example ​

A broker receives an insurance request from a company; Extract pulls the SIREN, then:

text
action        document
documentType  extrait_inpi
identifier    {{ data.extract.siren }}

and the extract is attached to the case.

Tips ​

  • Credits. Each record and each document uses credits; even on a test run, reads and downloads go out for real.

Loop & Roll — the workflow builder for email.