Automated Invoice Data Extraction with LlamaParse, Gemini 2.5 & Google Sheets β n8n Workflow
Overview
This n8n template demonstrates how to automate invoice data extraction from PDF attachments received via Gmail. Using LlamaParse and Gemini LLM, this workflow parses structured fields like PO numbers, line items, tax amounts, and totals β and stores them neatly into a Google Sheet.
Perfect for use cases such as: πΌ Finance teams managing vendor invoices π Bookkeeping workflows π Automating monthly reconciliation
Good to Know At the time of writing, LlamaParse and Gemini may involve API usage co
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
Structured Output Parser
n8n-nodes-langchain.outputParserStructured
Google Gemini Chat Model
n8n-nodes-langchain.lmChatGoogleGemini
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
automated-invoice-data-extraction-with-llamaparse-gemini-25-google-sheetsfile 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
Agentick AI
@arpanjain29
Tags
New to n8n?
n8n is a free, open-source workflow automation tool. Self-host it or use the cloud version.
Get n8n Free β