Extract & Structure Invoice Data with Google Vision OCR, Gemini LLM & Google Sheets — n8n Workflow
Overview
Automated Invoice Collection & Data Extraction Using Vision API and LLM
This workflow automates the process of collecting uploaded invoices, extracting text using Google Vision API, and processing the extracted text with an LLM to produce structured data containing key transaction details such as date, voucher number, transaction detail, vendor, and transaction value.
The final data is saved to Google Sheets and a notification is sent to Telegram in real time.
✨ Key Features Invoice Upload F
Nodes used
Workflow Preview
How it Works
- 1
Trigger
The workflow starts with a trigger trigger.
- 2
Process
Data flows through 12 nodes, connecting chainllm, code, formtrigger.
- 3
Output
The workflow completes its automation and delivers the result to the configured destination.
Node Details (12)
Google Sheets
googleSheets
HTTP Request
httpRequest
Telegram
telegram
Google Drive
googleDrive
Code
code
Basic LLM Chain
n8n-nodes-langchain.chainLlm
Structured Output Parser
n8n-nodes-langchain.outputParserStructured
OpenRouter Chat Model
n8n-nodes-langchain.lmChatOpenRouter
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
extract-structure-invoice-data-with-google-vision-ocr-gemini-llm-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
Budi SJ
@budisj
Tags
New to n8n?
n8n is a free, open-source workflow automation tool. Self-host it or use the cloud version.
Get n8n Free →