Skip to content
MORNINGMETHOD
When clicking ‘Te…OCR recognizeUnserialize respo…On new file in Go…Load files from G…Filter processed …Download file for…Save OCR result i…Get already proce…
The workflow you get9 nodes
  • n8n
  • HTTP Request
  • Google Drive
  • Google Sheets

OCR Receipts from Google Drive

Drop receipt photos in Google Drive, and it reads the numbers for you.

Best for: Anyone digitising paper bills

$19.00Regular price $49.0061% off
  • Card or PayPal
  • Instant download
  • Setup guide included
Delivery
Download after payment
Format
n8n workflow + guide (ZIP)
Access
Re-download any time

Setup

What you need, and how to set it up

It starts when you click the button. No code needed. Follow the steps in order.

What you need

  • An n8n account

    The app that runs the automation.

    Free to self-host, or a free trial on n8n Cloud.

  • API key for a web service

    A secret password for the website this workflow talks to.

    Get it: Sign up on that service, find its API key page and copy the key. The node name tells you which service. Show me how to connect API key for a web service (opens n8n docs)

    Used by: OCR recognize

  • Google DriveFree

    Lets n8n open and save files in your Drive.

    Get it: Click Sign in with Google inside n8n and say yes. On self-hosted n8n you first make a Google Cloud app (the link shows how). Show me how to connect Google Drive (opens n8n docs)

    Used by: On new file in Google Driv, Load files from Google Dri, Download file for OCR

  • Google SheetsFree

    Lets n8n read and write your spreadsheets.

    Get it: Click Sign in with Google inside n8n and say yes. On self-hosted n8n you first make a Google Cloud app (the link shows how). Show me how to connect Google Sheets (opens n8n docs)

    Used by: Save OCR result into Sheet, Get already processed rows

Setup in 6 easy steps

  1. Step 1: Get n8n

    n8n is the app that runs your automation. Make a free account at n8n.io. That is the easy way. You can also put it on your own computer for free.

  2. Step 2: Download your file

    After you pay, open My downloads and download the ZIP. Double-click it to open it. Inside is a file called workflow.json.

  3. Step 3: Put it in n8n

    In n8n, click Create workflow. Click the three dots (⋯) at the top, then Import from file, and pick workflow.json. Now you see the same boxes as in the picture above.

  4. Step 4: Connect your accounts

    Some boxes show a little red triangle. That means they need a key. Click the box, click Create new credential, and paste the key from your list. Do this for each red box.

  5. Step 5: Try it once

    Click Test workflow. Green ticks on the boxes mean it worked.

  6. Step 6: Use it

    Click Save. Each time you want it to run, open it and click Test workflow.

Stuck? Email support@morningmethod.co and we will help you.

Category: Automations › Invoicing & Accounting · Best for: Anyone digitising paper bills · Platform: n8n · Steps: 9

What it does

Drop receipt photos in Google Drive, and it reads the numbers for you.

https://rapidapi.com/restyler/api/receipt-and-invoice-ocr-api

Works with: Google Drive, Google Sheets

What you get

  • The n8n workflow file (workflow.json), ready to import
  • This setup guide
  • The list of fields to change for your own accounts (see Install below)
  • Email support if you get stuck

Before you start

  1. An n8n account. Easiest: n8n Cloud (free trial). Self-host for free with Docker: docker run -it --rm -p 5678:5678 -v n8n_data:/home/node/.n8n docker.n8n.io/n8nio/n8n, then open http://localhost:5678.

  2. Accounts and API keys for these services:

    • API key sent as an HTTP header (see the node for which service): how to connect (used by OCR recognize)
    • Google (Sheets, Gmail, Drive, Calendar, Docs): how to connect (used by On new file in Google Drive, Load files from Google Drive folder, Download file for OCR, Save OCR result into Sheets, Get already processed rows from Sheets)

Install

  1. In n8n, click Create workflow (top right).
  2. Click the ⋯ menu → Import from file and choose workflow.json. Or open the file, copy everything and paste it onto the empty canvas with Ctrl/Cmd + V.
  3. Open each node with a red warning triangle and pick or create the matching credential from the list above.
  4. Point these fields at your own sheets, chats and accounts:
    • Save OCR result into Sheets → sheetName: choose your own
    • Save OCR result into Sheets → documentId: choose your own
    • Get already processed rows from Sheets → sheetName: choose your own
    • Get already processed rows from Sheets → documentId: choose your own
  5. Click Save.

Test it

  1. Click Test workflow (or Execute workflow). When clicking ‘Test workflow’ starts it. Trigger it once with real sample data.
  2. Click each node to check its output. A green tick means the step worked.
  3. Fix any red node: it's almost always a credential or a field that still points at a sheet or chat that isn't yours.

Go live

Toggle Active (top right). From now on it runs on its own. Check Executions in the left sidebar to see every run.

How it works, step by step

  1. When clicking ‘Test workflow’ starts the workflow (Manual).
  2. On new file in Google Drive starts the workflow (Google Drive).
  3. Load files from Google Drive folder uses Google Drive to fileFolder.
  4. Get already processed rows from Sheets uses Google Sheets.
  5. Filter processed files uses Merge.
  6. Download file for OCR uses Google Drive to download.
  7. OCR recognize calls an external API (https://receipt-and-invoice-ocr-api.p.rapidapi.com/recognize).
  8. Unserialize response JSON reshapes the data for the next step.
  9. Save OCR result into Sheets uses Google Sheets to appendOrUpdate.

India & US notes

India: add GSTIN, HSN/SAC and GST amount columns to your sheet so the AI extracts them too. US: add sales-tax and EIN columns as needed.

Extra setup notes

These notes are also on the canvas as yellow sticky notes:

Recognize invoices and convert them into structured JSON

Video Demo

https://youtu.be/mGPt7fqGQD8

Quick OCR playground

1. Get your OakPDF OCR API key here:

https://rapidapi.com/restyler/api/receipt-and-invoice-ocr-api

2. Poceed to the OCR Playground and upload your document or use example files:

https://ocr.oakpdf.com/

The API can recognize any document format: medical, financial, legal -- let me know which format you want to try and I will be happy to add it to the Playground!

Running the n8n Workflow

This workflow allows you to recognize a folder with receipts or invoices (make sure your files are in .pdf, .png, or .jpg format). The workflow can be triggered via the "Test workflow" button, and it also monitors the folder for new files, automatically recognizing them.

1. n8n import glitch

After import, the trigger node "When clicking 'Test workflow'" might be disconnected. You need to connect it via 2 arrows to "Google Sheets1" and "Google Drive" nodes. So, the workflow has 2 triggers - via button, and via Google Sheets "new file" event - both of these triggers should be connected to 2 nodes. Here is how it should looks like: https://ocr.oakpdf.com/n8n_fix.png

2. Set up RapidAPI HTTP auth key

Create new "HTTP header" n8n credential and paste your RapidAPI key from https://rapidapi.com/restyler/api/receipt-and-invoice-ocr-api into it. https://ocr.oakpdf.com/n8n_api_key.png

Make sure "HTTP Request" node uses this credential.

3. Set up your Google Auth

You need a Google connection to work with your Google Sheets and Google Drive accounts: https://docs.n8n.io/integrations/builtin/credentials/google/oauth-generic/#finish-your-n8n-credential

4. Set up Google Sheets

Copy this Google Sheets document: https://docs.google.com/spreadsheets/d/1G0w-OMdFRrtvzOLPpfFJpsBVNqJ9cfRLMKCVWfrTQBg/edit?usp=sharing

Custom document formats and advanced usage

Email: you@yourbusiness.com Linkedin:

Troubleshooting

  • "Credentials not found": open the node and select your credential again.
  • Google "access blocked": in Google Cloud, add your email as a test user on the OAuth consent screen.
  • Webhook not firing: copy the node's Production URL (not Test URL) into the other app, and make sure the workflow is Active.
  • AI node errors: check your API key has billing enabled and the model name exists on your plan.
  • Nothing happens on schedule: the workflow must be Active, and self-hosted n8n must stay running.

Need help?

Reply to your Morning Method order email and we'll help you get it running.


© Morning Method

$19.00Regular price $49.0061% off
OCR Receipts from Google Drive | n8n Automation | Morning Method