Templates / Extract invoice data from PDFs with AI - Google Sheets Email alerts

Extract invoice data from PDFs with AI - Google Sheets Email alerts

Ready for 3.0

by Aashit Sharma ✓ · 1,364 views · created 2025-06-07 · 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 10 nodes and runs on Google Drive events. Along the way it connects Gmail, Ollama Model, Postgres PGVector Store and Google Drive and 2 more.

How it runs

Trigger: On Google Drive events.

  1. Download Binary - file (Google Drive): uses Google Drive
  2. Extract from PDF (Extract from File): extracts data from a file
  3. Update DB - spreadsheet (Google Sheets): uses Google Sheets
  4. Information Extractor: extracts structured fields from text with AI, with model: Ollama Model
  5. Create Email Agent (OpenAI): uses OpenAI, with 1 tool (Postgres PGVector Store)
  6. Send Email (Gmail): uses Gmail

Services it uses

GmailOllama ModelPostgres PGVector StoreGoogle DriveOpenAIGoogle Sheets

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

Built by Setidure Technologies This smart n8n automation extracts invoice details from PDF files uploaded to Google Drive using AI, logs them to a Google Sheet, and notifies the billing team via email — all without manual intervention. ⚠️ Note: This workflow…

Excerpt from Aashit Sharma'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.