Skip to content
Get Friday PicksSubmit

Extract Invoice Data from Google Drive to Sheets with Mistral OCR and Gemini

Free n8n template by Ysqander. Connects Google Drive, Google Gemini, Google Sheets; import it and run it.

In short: Free n8n template by Ysqander. Connects Google Drive, Google Gemini, Google Sheets; import it and run it. It is for n8n users who want a ready-made work & operations workflow they can copy and run.

Checked on · Added

Works with

Agent / toolAccess / costLink
n8nFree self-hosted / paid cloudn8n.io
n8n templateTemplate is free. Self-hosted n8n is free; AI and API calls (OpenAI, Gemini etc.) are billed by those providers.n8n.io

What they did

Ysqander published this as a ready-made n8n workflow. It chains these steps: AI Agent, Code, Google Drive, Google Gemini Chat Model, Google Sheets, HTTP Request. You import it, connect your accounts and it runs on a trigger or schedule.

How it went

Live on the official n8n template library, free to use, 4,880 views so far. Checked 2026-10-15.

How the workflow works

Good for: Finance or ops teams who drop invoice PDFs or images into a Drive folder and want structured rows in Google Sheets without retyping.

  1. A Google Drive Trigger (or a manual test) lists files in the watched folder; a Merge against existing Sheet rows skips files already processed.
  2. Each new file is downloaded; an If node checks the MIME type. Image files go through Mistral image OCR; other files go through Mistral document OCR (upload → signed URL → /v1/ocr).
  3. OCR pages are joined into one text blob. A Field Extractor agent on Google Gemini reads a field schema from a Google Sheet tab and returns only raw JSON for those fields, including line items.
  4. The Drive file id is written back onto the JSON and the row is appended to the results sheet.

What you need: Google Drive and Sheets OAuth, a Mistral API key, and a Google Gemini credential. Put your field names in the schema sheet the Get Fields Schema node reads; point both Drive and Sheets nodes at your own folder and spreadsheet.

Summarised in our own words from the template's page in the official n8n library.

Step by step

  1. Open the template on n8n.io and click "Use for free" (or copy the workflow JSON).
  2. Import it into your n8n. Self-hosted n8n is free; n8n Cloud is paid.
  3. Connect the accounts it needs: Google Drive, Google Gemini, Google Sheets.
  4. Run it once with test data and check every node's output.
  5. Turn it on (activate) and review the first real results before trusting it fully.

Watch out for

Templates call paid APIs with your own keys. Set usage limits first and keep a human check before anything is posted or sent.

Common questions

What is this n8n use case?

Free n8n template by Ysqander. Connects Google Drive, Google Gemini, Google Sheets; import it and run it. Ysqander published this as a ready-made n8n workflow. It chains these steps: AI Agent, Code, Google Drive, Google Gemini Chat Model, Google Sheets, HTTP Request. You import it, connect your accounts and it runs on a trigger or schedule.

How did it go?

Live on the official n8n template library, free to use, 4,880 views so far. Checked 2026-10-15.

What do I need to try it?

n8n. Cost: Template is free. Self-hosted n8n is free; AI and API calls (OpenAI, Gemini etc.) are billed by those providers. Then follow the 5 steps on this page.

Sources & credit

All credit to the original authors. We rewrite in our own words and link back. Something wrong? Report it.

Related skills and use cases in Work & Operations

See all Work & Operations entries →

Related

Invoice Processor & Validator with OCR, AI & Google Sheets thumbnailAGENT USE CASE

Invoice Processor & Validator with OCR, AI & Google Sheets

Free n8n template by Dhrumil Patel. Connects Google Sheets, OpenRouter; import it and run it.

n8n logon8n
Automated PDF Invoice Processing & Approval Flow using OpenAI and Google Sheets thumbnailAGENT USE CASE

Automated PDF Invoice Processing & Approval Flow using OpenAI and Google Sheets

Free n8n template by Billy Christi. Connects Gmail, Google Drive, Google Sheets, OpenAI; import it and run it.

n8n logon8n
Parse Gmail Inbox and Transform into Todoist tasks with Solve Propositions thumbnailAGENT USE CASE

Parse Gmail Inbox and Transform into Todoist tasks with Solve Propositions

Free n8n template by Łukasz. Connects Gmail, OpenAI, Todoist; import it and run it.

n8n logon8n
Update Hubspot engagement by parsing inbox mail with AI thumbnailAGENT USE CASE

Update Hubspot engagement by parsing inbox mail with AI

Free n8n template by PollupAI. Connects HubSpot, OpenAI; import it and run it.

n8n logon8n
PPT Master: documents into editable PowerPoint decks thumbnailSKILL

PPT Master: documents into editable PowerPoint decks

Give your agent a PDF, Word file, web page or just a topic and it builds a real .pptx you can keep editing in PowerPoint: native shapes, charts backed by data, tables, speaker notes and transitions, not flat pictures of slides.

Claude Code logoCodex logoCursor logoClaude Code +2★ 65.9k
AI Job Search: a job hunt run by Claude Code thumbnailSKILL

AI Job Search: a job hunt run by Claude Code

Fill in your profile once, then let Claude Code search job boards, score each posting against you, and write a tailored CV and cover letter that a second agent reviews.

Claude Code logoCodex logoClaude Code +1★ 63.8k

Free newsletter

Friday Picks

New AI tools you can use right away, in plain words. Every Friday.

Free. No spam. Unsubscribe anytime.