Templates / Extract & process invoices with Gemini AI, Google Sheets & Gmail notifications

Extract & process invoices with Gemini AI, Google Sheets & Gmail notifications

Ready for 3.0

by Yashraj singh sisodiya ✓ · 846 views · created 2025-09-13 · Invoice Processing, AI Summarization

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-10-19.

What this workflow does

This AI workflow has 16 nodes and runs when a chat message arrives. Along the way it connects Google Gemini, Google Gemini Chat Model, Google Sheets and Google Drive and 1 more.

How it runs

Trigger: When a chat message arrives.

  1. Analyze image (Google Gemini): analyze (image)
  2. Upload invoice to drive (Google Drive): uses Google Drive
  3. AI Agent: runs an AI agent, with model: Google Gemini Chat Model
  4. Make data in json structure format (Edit Fields (Set)): sets 1 field: output
  5. Get data (Google Sheets): uses Google Sheets
  6. check if Data exist or not in table (If): checks a condition and branches into true / false
  7. New data add using payload (Code): runs custom JavaScript code
  8. Duplicate entry send mail (Gmail): uses Gmail
  9. Check Mandatory fields (Code): runs custom JavaScript code
  10. If: checks a condition and branches into true / false

…plus 4 more steps. See the full node list below.

Services it uses

Google GeminiGoogle Gemini Chat ModelGoogle SheetsGoogle DriveGmail

Before you upgrade to n8n 3.0

Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.

Nodes used (10)

From the author

AI-Powered Invoice Extraction & Automation System Workflow Aim The aim of the Invoice Data Automation workflow is to streamline invoice processing by extracting, validating, and storing invoice details automatically. It uses AI to read invoices (from…

Excerpt from Yashraj singh sisodiya's description on n8n.io.

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.