AcademyWorkflowsFinance

Invoice data extraction with LlamaParse and OpenAI

Finance and accounting teams that receive supplier invoices by email and want the data in a spreadsheet.

  • Recommendedour rating
  • 37,004views on n8n
Open on n8n.io ↗

Paste it straight onto an n8n canvas with Ctrl+V or Cmd+V.

invoice-data-extraction-with-llamaparse-and-openai.json

Loading the file...

What it does

An n8n workflow that watches an email inbox for supplier invoices, sends the PDF attachments to LlamaParse to turn them into markdown, and has an OpenAI model extract the fields. The extracted data is written to Google Sheets.

Use cases

  1. 01Log supplier invoices from a shared inbox into a sheet
  2. 02Pull line items from PDF tables into structured rows
  3. 03Send extracted data on to accounting software

Connects

Google Sheets · HTTP Request · Gmail · Basic LLM Chain · OpenAI Model · Structured Output Parser

Questions about
Invoice data extraction with LlamaParse and OpenAI.

What is Invoice data extraction with LlamaParse and OpenAI used for?

Finance and accounting teams that receive supplier invoices by email and want the data in a spreadsheet. An n8n workflow that watches an email inbox for supplier invoices, sends the PDF attachments to LlamaParse to turn them into markdown, and has an OpenAI model extract the fields. The extracted data is written to Google Sheets.

How do I import Invoice data extraction with LlamaParse and OpenAI into n8n?

Copy the workflow JSON from this page and paste it onto the n8n canvas with Ctrl+V or Cmd+V. Then connect your credentials in each node.

Is Invoice data extraction with LlamaParse and OpenAI safe to use?

It passed our automatic scan for credential theft, hidden instructions and risky install commands. Third party open source software. Sabemos AI does not maintain it. Check the code and permissions before you connect it to company data.