AI Receipt Extractor: Receipts to Google Sheets with n8n
Updated . Built against the tool’s current screens and checked step by step. How we check this lesson
Typing receipts into a spreadsheet is slow and easy to get wrong. In this free tutorial you build an AI receipt extractor in n8n: drop a photo of a receipt into a chat, and the agent reads it, chooses a category and adds a row to your Invoices sheet.
In the course: Part 9 · n8n Automation Toolkit (Module 9 of the full course)
Practice it step by step
You do every step yourself in a practice copy of n8n. It checks your work as you go, and “Do it for me” finishes any step you get stuck on. Free, about 12 minutes, and nothing touches your real accounts.

AI Receipt Extractor: Receipts to Google Sheets with n8n: step-by-step guide with screenshots
About the screenshots. They come from Stepthrough’s simulated practice environment (a practice copy of n8n), not the live tool, so no real account appears. The buttons and labels match the real screens the lesson was built against. Practice it yourself free at learn.ynteractive.com.
- Tools: n8n
- Time: about 12 minutes, 63 steps in 11 parts
- Level: beginner, no coding needed
Part 1: New workflow
Step 1: Create a workflow
In Module 2 your agent wrote ideas into a spreadsheet. This time it reads. You'll drop a photo of a receipt into a chat, and the agent pulls out the date, the store, the total, picks a category, and adds a row to a sheet. You already have n8n and an OpenAI key from Module 2, so we start right here on the Overview page.

Part 2: Chat trigger
Step 2: Add the first step
An empty canvas. Every workflow starts with a trigger, the thing that kicks it off.

Step 3: On chat message
We want to hand the agent a receipt by chatting with it, and n8n's chat lets you attach files. So pick on chat message.

Step 4: Close the node
The defaults are fine. The chat stays private to you while you build. Close it.

Part 3: AI Agent
Step 5: Add the next step
Now, what happens when a message comes in.

Step 6: Search for the agent
There are hundreds of nodes, so search.

Step 7: AI Agent
AI Agent. This is the part that looks at the receipt and decides what to do with it.

Step 8: Close the node
See how the prompt already comes from the chat trigger? Whatever you type in the chat goes straight to the agent. We'll give it instructions at the end, once it has everything it needs. Close it for now.

Part 4: Chat model
Step 9: Give it a brain
That red warning means the agent has no brain.

Step 10: Search for OpenAI

Step 11: OpenAI Chat Model
OpenAI chat model.

Step 12: Pick your credential
Here's the payoff from Module 2. You don't need a new key.

Step 13: Reuse your OpenAI key
Pick OpenAI account. That's the key you saved in Module 2. n8n keeps it, so every workflow can reuse it. If you skipped Module 2, you'd choose create new credential and paste a key instead.

Step 14: Change the model
Now the model. The default is fine for text, but this agent has to read a picture.

Step 15: gpt-4o
Pick gpt-4o. It reads images reliably and quickly, and it's the model we used when we built this for real.

Step 16: Close the node
Brain's in. Close it.

Part 5: Memory
Step 17: Add memory
Next, memory. It lets you say things like, actually, call that one office supplies, and the agent knows which receipt you mean.

Step 18: Simple Memory
Simple memory. It lives inside n8n, so there is nothing to sign up for.

Step 19: Close the node
It keys the memory to your chat session and remembers the last five messages. That's plenty. Close it.

Part 6: Sheets tool
Step 20: Add a tool
Now the part that makes it an agent and not just a chatbot: a tool. This is how it writes to your spreadsheet.

Step 21: Search for Sheets

Step 22: Google Sheets Tool
Google sheets tool.

Part 7: Connect Google
Step 23: Open the credential list
It opens set to get rows, which reads a sheet. We'll change that. But first, n8n needs permission to touch your Google account.

Step 24: New credential
Create new credential.

Step 25: Sign in with Google
Leave it on managed OAuth. That's the easy way, n8n handles the setup.

Step 26: Pick your account
A Google window pops up. Pick the account that owns the Drive you want the spreadsheet in.

Step 27: Allow access
Google checks that you trust n8n dot cloud. You'll see connection successful, and the window closes on its own.

Part 8: Create the sheet
Step 28: Go to Google Drive
Connected. Now the tool needs a spreadsheet to write to, and we haven't made one. Leave this open and switch to the Google Drive tab.

Step 29: New
This is a bookkeeping folder, shared with an accountant. Keeping the sheet here means they see every receipt as it lands.

Step 30: Google Sheets
Google sheets.

Step 31: Blank spreadsheet
Blank spreadsheet.

Step 32: Create and share
Because the folder is shared, Google asks before making something new in it. That's what we want. If your folder isn't shared, you won't see this.

Step 33: Name it
A new tab opens. Name it first, so you can find it in n8n's list.

Step 34: Header: Date
Now the column headers. These matter. The agent fills the sheet column by column, so these names tell it what goes where. A1, Date.

Step 35: Header: Category
B1, Category.

Step 36: Header: Vendor
C1, Vendor.

Step 37: Header: Amount
And D1, Amount. Four columns. That is the whole spreadsheet.

Part 9: Point the tool at it
Step 38: Back to n8n
Back to the n8n tab. The sheets tool is still open, right where you left it.

Step 39: Change the operation
First, fix the operation. Get rows reads from a sheet. We want to add to it.

Step 40: Append Row
Append row. Every receipt becomes a new row at the bottom. Notice the node on the canvas renames itself to match.

Step 41: Pick the document
Now which spreadsheet.

Step 42: Invoices
There's Invoices, the one you just made. n8n can see it because of the Google account you connected.

Step 43: Pick the tab
Now the tab inside it.

Step 44: Sheet1
Sheet one. n8n reads the header row and lists your four columns.

Step 45: Let the model fill Date
Here's the clever bit. Each column has a little sparkle button.

Step 46: Category
Category.

Step 47: Vendor
Vendor.

Step 48: Amount
And amount. All four now say defined automatically by the model.

Step 49: Close the node
The tool is wired to the sheet. Close it.

Part 10: Instructions
Step 50: Open the agent
Last piece. Right now the agent has a brain, a memory and a tool, but no idea what it's for. Double click the AI agent.

Step 51: Add an option

Step 52: System Message
System message. This is the standing instruction it reads before every chat.

Step 53: Write the instructions
It's three short lines. You'll get a receipt. Pull out the date, vendor and amount. Come up with a category yourself. Then use the sheets tool to add it. Notice we never say where each value goes. The column names in the sheet take care of that.

You are a helpful assistant. You will receive a receipt. Extract the date, vendor, and amount. Come up with a category. Use the google sheets tool to add the receipt to the sheet.
Step 54: Close the node
That's the whole workflow. Close it and let's try it.

Part 11: Test it
Step 55: Open the chat

Step 56: Say hello
It doesn't need to be clever, the instructions already say what to do. Heres a receipt is enough.

Step 57: Attach the receipt
Now the receipt.

Step 58: Find it

Step 59: receipt.png
Pick receipt dot png. The photo, not the PDF.

Step 60: Open
It sits under the message, ready to go.

Step 61: Send it
Send. Watch the canvas. The trigger fires, the agent reads the picture with gpt-4o, and then calls the sheets tool. It takes a few seconds.

Step 62: Check the receipt
Everything turned green. Before you trust it, check its work. Corner Mart, April twenty fourth, total thirty one fifty seven.

Step 63: See the row
Now switch to the Invoices tab. There's the row. Date, groceries, Corner Mart, thirty one fifty seven. It matches the receipt, and it picked groceries without being told. Drop in another receipt and you get another row.

Now do it yourself, free
Reading the steps is a start. Doing them is how it sticks. The interactive lesson puts you in a practice copy of n8n: you do every step yourself, it checks your work, and “Do it for me” finishes any step you get stuck on. Nothing touches your real accounts.
Practice “AI Receipt Extractor: Receipts to Google Sheets with n8n” step by stepWatch it in 11 seconds
A box full of receipts?
Got a box full of receipts? Snap a picture and the AI reads the store, the date and the total, then adds the row to your spreadsheet.
What you will build
You will build an n8n workflow with a chat trigger and an AI agent that can see images. You attach a receipt photo in the n8n chat, and the agent pulls out the date, the vendor and the total, decides what kind of expense it is, and uses a Google Sheets tool to append the result. In the lesson it reads a Corner Mart receipt from April 24, files it as Groceries without being told, and writes the date, category, vendor and 31.57 to the sheet.
The spreadsheet lives in a shared Bookkeeping folder in Google Drive, so an accountant can see each receipt as it lands.
Who this is for
This module is for small business owners, bookkeepers, contractors and anyone who ends the month with a pile of paper receipts. It is the first module in the Business Automations section. It reuses the OpenAI key you created in the n8n AI agent module, so it moves quickly through setup and spends its time on the part that is new: getting AI to read a picture.
It is also a gentle introduction to AI that works with files instead of just text. Once you have seen an agent turn a photo into a clean row of data, you will start to spot other paperwork it could handle for you.
What you need
- An n8n account and the OpenAI credential you saved in the n8n AI agent module. If you skipped that module, you will need an OpenAI API key with some credit on it.
- A Google account with Google Drive and Google Sheets. A shared folder is optional but handy if someone else does your books.
- A clear photo of a receipt. Flat, well lit and in focus gives the model the best chance.
Why three lines of instructions are enough
The system message never says which value goes in which column. It does not need to. Because each Sheets column is set to be filled by the model, the agent reads the header names (Date, Category, Vendor, Amount) and matches what it found on the receipt to the right place. Clear column names do the mapping for you.
Choosing the right model matters too. The receipt is a photo, not text, so the lesson switches the model to gpt-4o, which can look at images. Asking the agent to invent a category is a small touch that saves real time: you get a grouped expense list without building a set of rules first.
How to use this in your business
Snap a photo of each receipt on your phone, drop it into the chat, and your expense sheet fills itself. Keep the sheet in a folder your accountant can see and month-end gets shorter. You can add columns such as Payment Method or Job Number, and the agent will try to fill them as long as the name is clear. Always spot-check the first batch, as the lesson does, before you trust totals for taxes or reports.
How the practice works
Each step is shown on the left under Watch, then you do it on the right under Your turn, in practice copies of n8n, Google Drive and Google Sheets. Every click is checked, and Do it for me finishes a step if you get stuck. No workflow is saved, no Google account is connected and no file leaves your computer.
Try it yourself, free
Reading the steps is a start. Doing them is how it sticks. The interactive module walks you through every click in a practice copy of n8n, checks each step, and never touches your real accounts.
Start “AI Receipt Extractor: Receipts to Google Sheets with n8n”Screenshots



Frequently asked questions
- Can n8n read receipts from photos?
- Yes, when the AI Agent uses a model that accepts images. The lesson uses gpt-4o through the OpenAI Chat Model node so the agent can read the receipt picture.
- Is this course really free?
- Yes. Stepthrough is completely free, and the practice copy needs no accounts. To build it for real you need your own n8n, OpenAI and Google accounts, and some of those cost money once you use them for real work.
- How does the agent know which column is which?
- Each Google Sheets column is set so the model defines its value. The agent reads the header names, like Date and Vendor, and fills them from what it sees on the receipt.
- Does it pick an expense category by itself?
- Yes. The instructions tell it to come up with a category. In the lesson it files a Corner Mart receipt as Groceries without being told.
- Should I trust the numbers without checking?
- Check them, at least at first. The lesson ends by comparing the receipt with the new row. AI can misread a blurry photo, so review before using the sheet for taxes.
More in Business Automations
Daily Job Alerts: Email Each Tech Their Jobs from Google Sheets with n8nEvery morning at 7, n8n reads a plumbing company's jobs sheet, skips anything not assigned yet, and emails each job to the tech it's assigned to — customer, address…
Free · Live ~10 min
◷AI Appointment Scheduler with Lovable and n8nComing soon: build a booking form in Lovable connected to an n8n AI agent that confirms, reschedules and sends appointment reminders. Free, step by step.
Coming soon ~15 min
◷AI Content Pipeline: Blog Post Drafts from a Topic ListComing soon: build an n8n pipeline that turns a list of topics into formatted blog post drafts, queued for your review. A free, step by step course.
Coming soon ~12 min
◷AI Quote Replies: Answer Price Emails from Your Price ListComing soon: build an n8n workflow that answers "how much for..." emails with an AI-drafted quote based on your own price list. Free and step by step.
Coming soon ~12 min
◷Build an AI Customer Service Bot with ChatGPTComing soon: build a ChatGPT assistant that answers customer questions from your company knowledge base, and says so when it does not know. Free course.
Coming soon ~10 min
All 7 modules in Business Automations
More n8n tutorials
n8n AI Agent Tutorial: Save Social Media Ideas to Google SheetsBuild an AI agent for BrightPath Marketing that generates social media post ideas and saves them to Google Sheets — chat trigger, AI Agent, system prompt, model…
Free · Live ~12 min
Lovable + n8n: Build a Web App with an AI BackendBuild a contact form in Lovable and connect it to an n8n workflow — webhook trigger, AI Agent, Google Sheets, Gmail, and a Respond node that ties it all together.
Free · Live ~15 min
Build an AI Follow-Up Agent for HVAC Service CallsBuild an AI agent for Cedar Ridge Heating & Air that writes follow-up messages for completed service calls and saves them to Google Sheets — chat trigger, AI Agent…
Free · Live ~12 min
Build an AI Service Request Form for Your HVAC CompanyBuild a service request form in Lovable for Cedar Ridge Heating & Air and connect it to n8n — the AI agent sorts each job into repair, maintenance, install or…
Free · Live ~15 min
Build an AI Job Follow-Up Agent for ElectriciansBuild an AI agent for Oak & Wire Electric that writes follow-up messages after completed jobs and tracks them in Google Sheets — chat trigger, AI Agent, system prompt…
Free · Live ~12 min
Build an AI Quote Request Form for Electrical ContractorsBuild a quote request form in Lovable and connect it to an n8n workflow — webhook trigger, an AI Agent that drafts an initial estimate note, Google Sheets, Gmail, and a…
Free · Live ~15 min
From the blog
How to Start Using AI in a Small Business: 5 ProjectsHow to start using AI in a small business: five first projects, from better prompts to an inbox agent, with what each saves and what it costs.
Oct 1, 2026 6 min read
Learn n8n from Zero: Free Projects in the Right OrderLearn n8n for beginners with six free, hands-on projects in a sensible order, from templates to AI agents to a web form, plus what you need for real.
Oct 1, 2026 7 min read
Get Receipts into Google Sheets with AI and n8nReceipts to Google Sheets without typing: build an n8n agent that reads a receipt photo, picks a category and adds a row. Plus an expense categorizer.
Oct 1, 2026 6 min read
Visual guides
This lesson’s key ideas as quick visual guides: swipe through the slides, or read the same guide as text.
5 Steps to Turn a Receipt Photo into a Google Sheets RowA visual guide: an n8n AI agent reads a receipt photo, pulls out the date, vendor and total, picks a category and adds a row to Google Sheets.
Step-by-step guide 7 slides
What Is AI Data Extraction? A Visual GuideA visual guide to AI data extraction: pulling the date, vendor and total out of a receipt photo and into Google Sheets, from a real n8n lesson.
AI term explained 4 slides
Free cheat sheets
Print it or save the PDF: the key steps and checks from this lesson on one page, free.
AI Receipt Extractor in n8n Cheat SheetA free one-page cheat sheet: attach a receipt photo in n8n chat, and an AI agent pulls the date, vendor and amount into a Google Sheets row.
Lesson cheat sheet Free PDF
AI Quick-Start for Accounting Firms: Cheat SheetA free one-page cheat sheet for accounting firms: the free AI lessons in order, a tone-fix prompt and what AI must never promise a client.
Industry quick-start Free PDF
AI Quick-Start for Finance Teams: Cheat SheetA free one-page cheat sheet for finance teams: the free AI lessons in order, an invoice dispute prompt and what AI must never approve.
Industry quick-start Free PDF
All free printable cheat sheets
Related terms
Plain-English definitions, each with an example from a free lesson.
Related prompts
- Receipt details extraction prompt: Pull date, vendor, tax, total and job from receipt photos into a table, with "Unreadable" instead of guesses and a check that…
- Expense categorization prompt: Sort a batch of expenses into your own categories, with a short note each and a Needs Review bucket for anything unclear…
- Expense report summary prompt: Summarize a month of expense or reimbursement rows for the owner: totals by category and status, what's waiting, and flags to…
- Google Sheets columns plan prompt: Plan the Google Sheets columns for an n8n automation: header names, what goes in each, who fills it, and which must match your…