Extract Invoice Data from PDFs with Gemini AI to Google Sheets π β n8n Workflow
Overview
π Automated Invoice Processing (n8n + AI + Google Workspace)
This workflow automates the extraction and processing of invoice data from PDFs stored in a Google Drive folder. It leverages Google Drive, Google Sheets, and Gemini AI to streamline invoice management.
Key Features Automatic Detection:** Monitors a Google Drive folder for new invoices. AI-Powered Extraction:** Uses Gemini AI to extract structured data including Supplier, Buyer, Items, Total Amount, Tax, and Payment Terms. Data Loggi
Nodes used
Workflow Preview
How it Works
- 1
Trigger
The workflow starts with a trigger trigger.
- 2
Process
Data flows through 17 nodes, connecting agent, code, comparedatasets.
- 3
Output
The workflow completes its automation and delivers the result to the configured destination.
Node Details (17)
Google Sheets
googleSheets
HTTP Request
httpRequest
Google Drive
googleDrive
Gmail
gmail
Code
code
AI Agent
n8n-nodes-langchain.agent
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
extract-invoice-data-from-pdfs-with-gemini-ai-to-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
Louis
@louisdl
Tags
New to n8n?
n8n is a free, open-source workflow automation tool. Self-host it or use the cloud version.
Get n8n Free β