Templates / Invoice verification and validation with Gmail, Drive, Sheets and OCR AI

Invoice verification and validation with Gmail, Drive, Sheets and OCR AI

Needs changes

by Dhrumil Patel ✓ · 664 views · created 2025-06-10 · 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 this workflow does

This AI workflow has 34 nodes and runs on a schedule (every day). Along the way it connects OpenRouter Chat Model, Google Sheets, Google Drive and Gmail.

How it runs

Trigger: On a schedule (every day).

  1. Date & Time: formats or calculates dates
  2. Today's Date (Code): runs custom JavaScript code
  3. Gmail: uses Gmail
  4. Date From Email Subject (Code): runs custom JavaScript code
  5. Merge: merges the data from its input branches
  6. Read Message (Gmail): uses Gmail
  7. Get Attachments (Code): runs custom JavaScript code
  8. Search Month Folder (Google Drive): uses Google Drive
  9. Upload Invoices (Google Drive): uses Google Drive
  10. Extract from File: extracts data from a file

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

Services it uses

OpenRouter Chat ModelGoogle SheetsGoogle DriveGmail

Before you upgrade to n8n 3.0

1 thing in this workflow is removed in n8n 3.0. Fix it before you upgrade:

  • AI Agent v1 (old agent modes) in Text Extractor (v1.8): replace with Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent.

Rather not rewrite it? Many of these flows can be rebuilt in Make (free plan).

Removed in 3.0Replace with
AI Agent v1 (old agent modes)
Text Extractor (v1.8)
Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent.

Nodes used (15)

From the author

📝 Description (Full, User-Centric & Sales-Driven): Tired of manually verifying purchase order invoices every single day? This plug-and-play n8n automation template saves your accounts team hours of work by automatically downloading, storing, extracting, and…

Excerpt from Dhrumil Patel'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.