Integration · Free n8n workflows

Extract invoice and PDF data in n8n

Four free, ready-to-import workflows send invoices from Gmail, Google Drive, a folder or a webhook to ParserBee and write the fields to Google Sheets or a CSV file. They use n8n's own nodes, so there is nothing to install.

Free on GitHub n8n Cloud and self-hosted Built-in nodes only
Import and runOCR for scans and photosMIT licensed
Start with 25 free pages. No credit card. Stuck? Our team sets it up with you.
01

Ready in minutes

Import a workflow, add your API key once as a credential, paste your template ID and click Test workflow.

02

Real OCR, structured output

ParserBee reads digital PDFs, scans and phone photos and returns your Parser Template's fields as JSON, not a wall of text.

03

Spreadsheet-ready rows

A Code node turns each invoice into one row per line item, so Google Sheets or CSV gets clean columns.

How it connects
Free workflows
Set-up time
About 10 minutes
You need
n8n Cloud or self-hosted n8n
Best for
Self-hosted automation and teams that want full control of each step
Step by step

Set up the n8n workflows

  1. 1

    Build a Parser Template

    A Parser Template is the list of fields you want from each invoice. Upload one sample and the AI suggests the fields, or start from a ready-made one in the template library. Every supplier's layout then comes back with the same fields.

    New accounts get 25 free pages, no credit card.

  2. 2

    Copy your API key and template ID

    In the ParserBee dashboard, open Settings > API Keys and copy your key (it starts with pk_). Then open your Parser Template and copy its template ID.

  3. 3

    Import a workflow

    Pick a workflow from the list below and download its JSON file. In n8n, open a new workflow, click the ... menu, choose Import from File and select it. You can also paste the JSON straight onto the canvas.

  4. 4

    Add the API key as a credential

    Open the ParserBee: extract data node. Under Credential for Header Auth, create a new credential named ParserBee API key, with the name x-api-key and your key as the value. Every ParserBee node in your workflows can reuse it.

    Header Auth credential
    Credential name: ParserBee API key
    Name:  x-api-key
    Value: pk_your_api_key
  5. 5

    Paste your template ID and test

    In the same node, replace PASTE_YOUR_TEMPLATE_ID in the template_id field. Connect your Google account in the Drive, Gmail or Sheets nodes, then click Test workflow.

    The node sends the file as form data and gets back your fields in data. Activate the workflow and it runs on every new file or email.

Set-up help from real people

Stuck, or short on time? We will set it up with you.

Send us one sample document and tell us where the data should go. Our team builds the Parser Template, connects n8n and checks the first rows with you, end to end. Stuck halfway? Send a message and we pick it up from exactly where you are.

  • We build or fine-tune the Parser Template for your documents
  • We connect n8n and test it with a real document
  • We fix whatever is blocking you, at any step

Talk to the ParserBee team

Tell us about your documents and your tool. We reply with the next step, or set it up together with you.

Chat with our team →Email support@parserbee.com

Run your first n8n workflow today

Create a free account, copy your API key and import a workflow. 25 free pages, no credit card.

Start free →Or see pricing

Workflows

Pick a ready-made workflow

All four are free under the MIT license in the parserbee-n8n repository. Each one is a JSON file you can import.

WorkflowStarts whenResult
Gmail invoice attachments to Google SheetsA new email arrives with a PDF or image attachmentRows added to a sheet
Google Drive invoices to Google SheetsA new file lands in a Drive folderRows added to a sheet
Extract invoices in a folder to CSVYou run it by hand (self-hosted n8n)One CSV, one row per line item
Extract a document from a URL (webhook)Your app sends a POST with a file_urlThe extracted data as JSON
Good to know

Tips for a smooth set-up

Any document type

The workflows work with any Parser Template. The Code node treats the first list in the result (such as line_items) as the rows.

Folder workflow needs self-hosted n8n

It reads files from the n8n server's disk. If you set N8N_RESTRICT_FILE_ACCESS_TO, the folder must be inside it. The other three also run on n8n Cloud.

Send it anywhere

Swap the last node for Airtable, Xero, QuickBooks, Slack, Postgres or any other n8n node; the ParserBee step stays the same.

Files and limits

PDF, PNG, JPG, WebP and HEIC files up to 50 MB. Each extraction costs 1 page credit per page.

Already online?

Send JSON with template_id and file_url instead of a file, as the webhook workflow does. The link must open without a login.

Prefer Zapier?

ParserBee also has a Zapier app with an Extract Data From Document action. See the Zapier guide.

FAQ

n8n questions

Put n8n on autopilot

Invoices, receipts, purchase orders and more, read once and sent where your team works.