Templates / Extract invoice data from PDFs with Gemini AI to Google Sheets πŸ“„

Extract invoice data from PDFs with Gemini AI to Google Sheets πŸ“„

Needs changes

by Louis βœ“ Β· 162 views Β· created 2025-10-04 Β· Invoice Processing, AI Summarization

Needs changes. This template uses 1 thing(s) that n8n 3.0 removes: AI Agent v1 (old agent modes). 1 breaking item(s) found. Static check, last run 2026-10-19.

What to replace before upgrading

Removed in 3.0Replace with
AI Agent v1 (old agent modes)
AI Agent - get targeted elements from text1 (v1.9)
Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent.

Nodes used (13)

Google Gemini Chat ModelGoogle SheetsAI AgentGoogle DriveStructured Output ParserGmail

What it does

πŸ“„ 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 Logging: Appends extracted invoice information to a Google Sheet and tracks processed documents to avoid duplicates. - Notifications: Sends email alerts once invoices are successfully processed. - Flexible & Extensible: Can be integrated with ERP/CRM systems, Slack/Telegram notifications, or OCR for scanned PDFs. πŸ’‘ Perfect for: Small to medium businesses, accountants, and operations teams looking to reduce manual invoice data entry and improve accuracy.

View the original on n8n.io β†’ Check your own copy

Get the weekly β€œwhat broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.