Templates / Automated invoice-PO matching with Google Gemini AI and email notifications

Automated invoice-PO matching with Google Gemini AI and email notifications

Ready for 3.0

by Abdul Matheen ✓ · 2,405 views · created 2025-10-24 · 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 14 nodes and runs on Google Drive events (file created). Along the way it connects Google Drive, Google Gemini Chat Model, Google Sheets and Microsoft Outlook.

How it runs

Trigger: On Google Drive events (file created).

  1. Download file (Google Drive): download
  2. Extract from File: extracts data from a file (pdf)
  3. Information Extractor: extracts structured fields from text with AI, with model: Google Gemini Chat Model
  4. Switch: routes items into 2 branches
  5. AI Agent: runs an AI agent, with model: Google Gemini Chat Model; 2 tools (PO_DB, Update_Row); output parser: Structured Output Parser
  6. Append row in sheet (Google Sheets): append
  7. If: checks a condition and branches into true / false
  8. Send a message (Microsoft Outlook): uses Microsoft Outlook

Services it uses

Google DriveGoogle Gemini Chat ModelGoogle SheetsMicrosoft Outlook

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 (12)

From the author

Automated Invoice-Processing AI Agent for n8n Overview The Automated Invoice-Processing AI Agent in n8n is designed to streamline and optimize invoice management for finance teams and accounts payable (AP) professionals. This solution addresses the common…

Excerpt from Abdul Matheen'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.