5,334,782 AI resources indexedWorking toward the world’s largest AI resource index.

PDF

Extract invoice data from Google Drive to Sheets with Mistral OCR and Gemini

Documents & extraction workflow for n8n with 20 active steps. Starts with Manual Trigger, Google Drive Trigger. Uses Mistral AI, Google Gemini. Integrations include Google Drive, Google Sheets, Mistral AI, Google Gemini.

What it does

20 active nodes · Starts with Manual Trigger, Google Drive Trigger.

Steps in the template include:

  • When clicking ‘Test workflow’ (Manual Trigger)
  • On new file in Google Drive (Google Drive Trigger)
  • Load files from Google Drive folder (Google Drive) — fileFolder
  • Filter processed files (Merge)

Nodes and integrations

  • Manual Trigger
  • Google Drive Trigger
  • Google Drive ×2
  • Merge
  • Google Sheets ×3
  • HTTP Request ×6
  • Code ×3
  • Google Gemini Chat Model
  • If
  • AI Agent
See the author’s step names
  • When clicking ‘Test workflow’ (Manual Trigger)
  • On new file in Google Drive (Google Drive Trigger)
  • Load files from Google Drive folder (Google Drive) — fileFolder
  • Filter processed files (Merge)
  • Download file for OCR (Google Drive) — download
  • Get already processed rows from Sheets (Google Sheets)
  • Save data to Google Sheets (Google Sheets) — append
  • Mistral Upload (HTTP Request)
  • Mistral Signed URL (HTTP Request)
  • Mistral DOC OCR (HTTP Request)
  • extract schema (Code)
  • Join OCR Pages and remove id field (Code)
  • Add google drive Id back (Code)
  • Google Gemini Chat Model (Google Gemini Chat Model)
  • Mistral Upload1 (HTTP Request)
  • Mistral Signed URL1 (HTTP Request)
  • Mistral IMAGE OCR (HTTP Request)
  • If (If)
  • Field Extractor (AI Agent)
  • Get Fields Schema (Google Sheets)

Accounts and credentials

  • Google Drive
  • Google Sheets
  • Mistral AI access
  • Mistral AI
  • Google Gemini access

Credential types in the graph: googleDriveOAuth2Api, googleSheetsOAuth2Api, mistralCloudApi, googlePalmApi

Check the HTTP request steps for any additional service accounts or API keys.

AI models and swaps

Mistral AI · Model or API operation

Model ID not specified in the template in Mistral Upload. Provider-specific step. A different provider requires edits and testing.

Mistral AI · Model or API operation

Model ID not specified in the template in Mistral DOC OCR. Provider-specific step. A different provider requires edits and testing.

Google Gemini · Chat

models/gemini-2.5-flash-preview-05-20 in Google Gemini Chat Model. Potentially swappable with a compatible n8n chat model node. Test the replacement with the next step.

Mistral AI · Model or API operation

Model ID not specified in the template in Mistral Upload1. Provider-specific step. A different provider requires edits and testing.

Mistral AI · Model or API operation

Model ID not specified in the template in Mistral IMAGE OCR. Provider-specific step. A different provider requires edits and testing.

Resource information

Credit basis
Author listed by n8n
Pricing
Template access shown on n8n
License
Not specified
Last record update
Nov 5, 2026