Templates / AI-powered PDF invoice parser with Google Drive, Google Sheets & OpenAI

AI-powered PDF invoice parser with Google Drive, Google Sheets & OpenAI

Needs changes

by Billy Christi ✓ · 5,989 views · created 2025-05-28 · 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 7 nodes and runs on Google Drive events (file created). Along the way it connects OpenAI Chat Model, Google Drive and Google Sheets.

How it runs

Trigger: On Google Drive events (file created).

  1. Download Invoice PDF (Google Drive): download
  2. PDF Text Extractor (Extract from File): extracts data from a file (pdf)
  3. Invoice Parser AI Agent (AI Agent): runs an AI agent, with model: OpenAI Chat Model; output parser: Structured Output Parser
  4. Insert Invoice Data (Google Sheets): append

Services it uses

OpenAI Chat ModelGoogle DriveGoogle Sheets

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 Invoice Parser AI Agent (v1.9): 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)
Invoice Parser AI Agent (v1.9)
Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent.

Nodes used (7)

From the author

Who is this for? This workflow is perfect for: Companies that manage invoices through Google Drive Business owners who want to minimize manual data entry and maximize accuracy Accounting teams and finance departments seeking to automate invoice processing…

Excerpt from Billy Christi'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.