Collins Opeyemi
Hire me
n8nAI agentsDocuments and data
Published October 10, 2026

n8n AI Receipt Tracker: Telegram Photo to Google Sheets with OCR

n8n Automation Expert | OCR, Mistral AI, Gemini, Google Sheets, Expense Tracking Automation

Telegram photo, Mistral OCR, Gemini extraction, and a Google Sheets row linked to the original receipt.

1 photois all you send
0receipts typed by hand

Video, 0:42, 2 MB. It only downloads when you press play.

In short

An n8n expense tracker that starts with a photo. Send a receipt to a Telegram bot and the workflow saves the image to Google Drive, reads it with Mistral OCR, and uses Gemini to pull out the date, store, tax number, total, tax amount and payment method. Each receipt becomes one row in Google Sheets with a link back to the original image, ready for bookkeeping, expense claims or tax time. Nothing is typed by hand, and the original receipt stays one click away from its row.

Project description

Receipts pile up in wallets, inboxes and camera rolls until someone has to type them into a spreadsheet at the end of the month. This n8n workflow does that typing the moment a receipt arrives. A photo sent to a Telegram bot is stored, read, understood and logged, and the spreadsheet row links straight back to the image it came from.

Tools & Deliverables

  • Telegram trigger: send a receipt photo to a private bot from any phone
  • Google Drive storage of every original image in a dedicated receipts folder
  • Mistral OCR through its API: upload, signed URL and OCR request, returning the full receipt text
  • Gemini information extractor with a fixed schema: date, vendor name, vendor tax ID, total, tax amount, payment method, expense category and a deductible flag
  • Google Sheets append, one row per receipt, with a link to the original file
  • Handles long receipts photographed in hand, not only flat scans

The problem

  • Receipts get lost. Paper fades and gets thrown away long before it is needed for a claim or a tax return.
  • Typing them in is tedious. Dates, totals, tax numbers and payment methods copied by hand take time and invite mistakes.
  • Numbers without proof are weak. A spreadsheet total is hard to defend when the receipt behind it cannot be found.
  • Plain OCR returns a wall of text. Raw text from a receipt still needs someone to find the total, the tax and the store name inside it.

Approach

The workflow splits the job into reading and understanding, because they are different problems. The Telegram trigger receives the photo and the workflow fetches the file, then uploads it to a Google Drive folder, so the original is stored before anything else happens. The image then goes to Mistral's OCR API in three calls: upload the image, get a signed URL, and request the OCR result, which comes back as the full text of the receipt.

Understanding happens next. An information extractor running on Gemini reads that text and fills a fixed set of fields: date, vendor name, vendor tax ID, total amount, tax amount, payment method, expense category and whether it is deductible. The fixed schema matters, because every row gets the same columns whatever the receipt looks like. The workflow then appends the row to Google Sheets with the Drive link to the original image in the last column.

Solution

In the demo, a long clothing-store receipt photographed in hand becomes a single row: the purchase date, the store name, its tax number, the total, the tax amount and the card type, with a link that opens the original photo in Google Drive. The whole process starts with one photo sent from a phone.

The spreadsheet becomes the expense log, and the Drive folder becomes the archive behind it. From there it is a short step to monthly totals by category, a currency conversion column, an alert when a receipt has no tax number, or an export to accounting software such as Xero or QuickBooks. For a team, everyone sends receipts to the same bot and the sheet records who submitted each one.

FAQ

Does it work with any receipt?

It reads printed receipts photographed on a phone, including long ones. Faded or handwritten receipts may need a quick check in the sheet.

Why use two AI steps?

Mistral OCR is good at reading text from images, and Gemini is good at understanding that text. Splitting them makes each step easier to check and replace.

Where are the receipt images kept?

In a Google Drive folder you own, and every row links to its image.

Can it categorise expenses?

Yes. The extractor has expense category and deductible fields, and the categories can be set to match your accounts.

Can it send the data to accounting software?

Yes. Xero, QuickBooks or any tool with an API can take the same fields, instead of or as well as Google Sheets.

Related skills and services for this project

n8n workflow development

n8n, n8n automation, n8n expert, n8n developer, n8n specialist, n8n consultant, n8n workflow, n8n workflows, n8n automation expert, n8n OCR, n8n information extractor, n8n Gemini, n8n Mistral, n8n Telegram, n8n Google Drive, n8n Google Sheets, n8n HTTP request, n8n self hosted, n8n cloud, fix n8n workflow, n8n retainer, build n8n workflow, automate with n8n

OCR and document extraction

OCR, OCR automation, receipt OCR, invoice OCR, Mistral OCR, Mistral AI API, Google Document AI, AWS Textract, document extraction, data extraction, AI data extraction, structured data extraction, receipt scanning, receipt parsing, invoice parsing, image to text, photo to spreadsheet, document processing automation, intelligent document processing, IDP

AI extraction and schemas

information extractor, structured output, JSON schema, field extraction, Google Gemini, Gemini API, OpenAI, ChatGPT API, Claude API, LLM extraction, AI parsing, entity extraction, vendor detection, tax extraction, total amount extraction, data validation, generative AI, AI workflow

Expense and bookkeeping automation

expense tracking, expense tracker, expense management automation, receipt tracker, receipt management, bookkeeping automation, accounting automation, expense claims, employee expenses, tax deductible expenses, GST tracking, VAT tracking, Xero integration, QuickBooks integration, Expensify alternative, Dext alternative, finance operations automation, small business accounting

Google workspace

Google Sheets, Google Sheets automation, Google Sheets API, Google Drive, Google Drive automation, Google Drive API, file upload automation, receipts folder, spreadsheet logging, file links in sheets, Google Workspace automation, Apps Script alternative, Looker Studio reporting

Make.com and other platforms

Make.com, Makecom, Make.com automation, Make.com expert, Make.com OCR, Make.com Google Sheets, n8n vs Make.com, Zapier, Zapier automation, Zapier OCR, Zapier alternative, Telegram bot, WhatsApp bot, email to spreadsheet, no code automation, low code automation

API and integration

API integration, REST API, HTTP request, signed URLs, file uploads, multipart upload, Mistral API, Gemini API, Telegram Bot API, Google Drive API, Google Sheets API, webhook, webhooks, JSON, data mapping, OAuth, system integration, SaaS integration

Reliability and data handling

original file retention, audit trail, source links, fixed schema, data validation, duplicate prevention, error handling, retry logic, monitoring, execution history, logging, data privacy, client owned accounts, credential management, documentation, handover, Loom walkthrough, maintainable automation, production ready automation

Industries and business types

freelancer, consultant, small business, sole trader, accountant, bookkeeper, accounting firm, agency, sales team, field service company, construction company, trades business, restaurant, retail business, nonprofit, startup, finance team, operations team

How clients search for this work

automate receipt entry, scan receipts to Google Sheets, receipt OCR automation, AI expense tracker, extract data from receipts, invoice data extraction, n8n OCR expert, document processing automation expert, AI automation expert, workflow automation, business process automation, fixed price automation, MVP build, long term automation support, ongoing retainer

Work with me

Tell me what is eating your week. I will show you what can run itself.

Send a short message describing the task. I reply within a few hours with an honest view on whether automation fits, which tool is right, and what a clean build looks like.

Top Rated · 95% Job Success

Upwork

Hire me with Upwork's payment protection, verified reviews and milestone billing.

Hire me on Upwork
Level 2 seller · 4.9 from 74+ orders

Fiverr

Prefer a set scope and price? Order a package on Fiverr and we start right away.

Order on Fiverr
Talk it through

Book a call

Prefer to talk? Pick a time on my calendar and walk me through what you want to automate.

Book a call

↑↓ move↵ openmatches your words against my case studies