Invoice data extraction with LlamaParse and OpenAI — n8n Workflow
Overview
This n8n workflow automates the process of parsing and extracting data from PDF invoices. With this workflow, accounts and finance people can realise huge time and cost savings in their busy schedules.
Read the Blog: https://blog.n8n.io/how-to-extract-data-from-pdf-to-excel-spreadsheet-advance-parsing-with-n8n-io-and-llamaparse/
How it works
This workflow will watch an email inbox for incoming invoices from suppliers It will download the attached PDFs and processing them through a third party
Nodes used
Workflow Preview
How it Works
- 1
Trigger
The workflow starts with a trigger trigger.
- 2
Process
Data flows through 17 nodes, connecting aggregate, chainllm, gmail.
- 3
Output
The workflow completes its automation and delivers the result to the configured destination.
Node Details (17)
Google Sheets
googleSheets
HTTP Request
httpRequest
Gmail
gmail
Basic LLM Chain
n8n-nodes-langchain.chainLlm
OpenAI Model
n8n-nodes-langchain.lmOpenAi
Structured Output Parser
n8n-nodes-langchain.outputParserStructured
How to Import This Workflow
- 1Click Download JSON button on the right to save the workflow file.
- 2Open your n8n instance. Go to Workflows → New → Import from file.
- 3Select the downloaded
invoice-data-extraction-with-llamaparse-and-openaifile and click Import. - 4Set up credentials for each service node (API keys, OAuth, etc.).
- 5Click Test Workflow to verify everything works, then activate it.
Or paste directly in n8n → Import from JSON:
Integrations
Created by
Jimleuk
@jimleuk
Tags
New to n8n?
n8n is a free, open-source workflow automation tool. Self-host it or use the cloud version.
Get n8n Free →