Templates / Extract invoice data from Google Drive PDFs with Mistral OCR and Sheets

Extract invoice data from Google Drive PDFs with Mistral OCR and Sheets

Ready for 3.0

by Tim Kramny · 20 views · created 2026-09-10 · 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 workflow has 9 nodes and runs on Google Drive events (file created). Along the way it connects Google Drive and Google Sheets. It also calls api.mistral.ai over HTTP.

How it runs

Trigger: On Google Drive events (file created).

  1. Download File from Drive (Google Drive): download
  2. Extract Data from File (Extract from File): extracts data from a file (pdf)
  3. Extract Invoice Fields (Code): runs custom JavaScript code
  4. Append Invoice to Sheet (Google Sheets): append
  5. Move Processed File (Google Drive): move
  6. Upload File for Analysis (HTTP Request): calls api.mistral.ai (POST)
  7. Fetch File URL (HTTP Request): calls an HTTP API
  8. Obtain OCR Results (HTTP Request): calls api.mistral.ai (POST)

Services it uses

Google DriveGoogle Sheets

HTTP calls to: api.mistral.ai

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

From the author

Quick overview This workflow watches a Google Drive folder for new invoice PDFs, extracts key invoice fields from the document text via Mistral OCR (free), writes the structured data to Google Sheets, and then moves the processed file to a separate Google…

Excerpt from Tim Kramny'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.