gitwtfhub

wtf is invoice-ocr-using-gemini?

moomoo9172/invoice-ocr-using-gemini — explained in plain English

Analysis updated 2026-05-18

1Audience · pm founderComplexity · 2/5Setup · moderate

TL;DR

An n8n workflow that reads invoice PDFs from a Google Form with Gemini AI and logs the data to Google Sheets.

Mindmap

mindmap
  root((Invoice OCR))
    What it does
      Reads invoice PDFs
      Gemini Vision OCR
      Logs to Sheets
    Tech stack
      n8n
      Gemini 2.5 Flash
      Google Drive
    Use cases
      Automate invoice intake
      Expense categorization
      Email confirmation
    Audience
      Small business owners
      Automation builders

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

Why would anyone build with this?

REASON 1

Automatically extract supplier, date, and line items from invoice PDFs

REASON 2

Collect invoices from staff or vendors through a simple Google Form

REASON 3

Log every invoice line item into a Google Sheet for bookkeeping

REASON 4

Send an automatic confirmation email once an invoice is processed

What's in the stack?

n8nGemini 2.5 FlashGoogle SheetsGoogle DriveGmail

How it stacks up

moomoo9172/invoice-ocr-using-gemini0xkinno/neuralvault0xlocker/d17-contracts
Stars111
LanguageTypeScriptSolidity
Setup difficultymoderatehardhard
Complexity2/54/55/5
Audiencepm founderdeveloperdeveloper

Figures from each repo's GitHub metadata at analysis time.

How do you spin it up?

Difficulty · moderate Time to first run · 30min

Requires an n8n instance, a Gemini API key, and Google Sheets/Drive/Gmail OAuth credentials.

Wtf does this do

Invoice OCR using Gemini is a ready made automation workflow built for n8n, a tool that lets people connect different apps and services together without writing code, in order to save and run repeatable tasks. This particular workflow is designed to pull the information out of invoice PDF files automatically, using an AI vision model called Gemini 2.5 Flash from Google. The way it works starts with a Google Form. Someone fills out the form and attaches one or more invoice PDF files. The workflow then downloads each of those files from Google Drive, where the form submissions are stored, and sends them to Gemini so the AI can read the invoice and pull out details such as the supplier's name, the date, the individual line items, and an expense category for each one. Once that is done, the extracted information is written into a Google Sheet, with each line item from the invoice becoming its own row, so the data ends up organized and ready to review or analyze. Finally, the person who submitted the form receives a confirmation email letting them know the process is complete. Setting it up requires importing the workflow file into your own n8n instance, then filling in a couple of placeholder values: your own Google Sheet ID and a Gemini API key, which you can get for free from Google AI Studio. You also need to connect your Google Sheets, Google Drive, and Gmail accounts to n8n using OAuth so the workflow is allowed to read and write to them on your behalf. Once those credentials are in place, you simply turn the workflow on. The README is brief and mostly serves as setup instructions rather than a detailed explanation, and the project is described as part of a small collection of automation workflows the author calls Myvan Automation Lab, aimed at giving small and medium sized businesses access to AI powered automation without custom software development.

Yoink these prompts

Prompt 1
Help me import this n8n invoice OCR workflow and connect my Google Sheet ID
Prompt 2
Explain how to get a Gemini API key from Google AI Studio for this workflow
Prompt 3
Walk me through connecting Google Drive and Gmail OAuth credentials in n8n for this workflow
Prompt 4
Show me how to customize this workflow to add a new invoice field to extract

Frequently asked questions

wtf is invoice-ocr-using-gemini?

An n8n workflow that reads invoice PDFs from a Google Form with Gemini AI and logs the data to Google Sheets.

How hard is invoice-ocr-using-gemini to set up?

Setup difficulty is rated moderate, with roughly 30min to a first successful run.

Who is invoice-ocr-using-gemini for?

Mainly pm founder.

View the repo → Decode another repo

This repo across BitVibe Labs

Don't trust strangers blindly. Verify against the repo.