Extract Invoice Data from Google Drive to Sheets with AI OCR

Automates OCR extraction of invoice data from PDFs/images in Google Drive using Mistral and Gemini, appending structured rows to Google Sheets schema-agnostically.

n8n
Extract Invoice Data from Google Drive to Sheets with AI OCR

This n8n workflow transforms invoice processing by automatically detecting new PDFs or images dropped into a designated Google Drive 'Invoices Inbox' folder. It leverages Mistral's OCR API to extract text from documents in any supported language, then uses Gemini to intelligently match and structure the data based on headers in the first row of your Google Sheets. The result is a clean, appended row with fields like date, vendor, amount, and more—no manual entry required.

Key benefits include massive time savings for freelancers, agencies, and small finance teams on Google Workspace. It's fully schema-agnostic, adapting to any invoice format without coding. Self-hosted or cloud-compatible, it's free to modify and scales effortlessly. Works with phone snapshots or scanned PDFs, eliminating data entry errors and enabling quick reconciliation.

Ideal use cases: Freelancers logging client payments, agencies tracking vendor bills, or businesses automating AP workflows. Upcoming pro add-ons (pre-order available) add error alerts, currency conversion, and VAT breakdowns for enterprise needs. Import the JSON template and activate in minutes for instant productivity gains.

$19.99
Last updated October 17, 2026
30-day money-back guarantee
Instant download
Lifetime updates included

New buyers can create an account from the cart to unlock a controlled $10 first-purchase credit on eligible orders of $25+.

Secure checkout powered by Stripe

Support

How to import this workflow into n8n

  1. 1Purchase or download the workflow to get the n8n workflow JSON file.
  2. 2In your n8n instance, open Workflows and choose "Import from File" (or paste the JSON with Ctrl+V on the canvas).
  3. 3Open each node marked with a credential warning and connect your own accounts and API keys.
  4. 4Run the workflow once manually to verify the data flow, then toggle it to Active.

Related Productivity workflows

More from Matt Buds

Need this deployed? We'll set it up for you.

Our automation experts deploy this workflow in your stack, connect your accounts, and verify it works — or build a custom solution from scratch.