Process Receipts with Google Vision OCR, AI & Telegram to Google Sheets

Go to Workflow
0 views
Built by Budi SJ Budi SJ
Created on June 05, 2026

Description

Automated Financial Reporting Using Google Vision OCR, Telegram & Google Sheets


This workflow automates the process of recording financial transactions from photos of receipts or shopping receipts. Users simply send an image of the receipt via Telegram. The image is processed using the Google Vision API to detect text, then extracted and structured by LLM via OpenRouter. The final result is saved to Google Sheets and also displayed to the user via a Telegram bot.

🧾 Google Sheets Template
Create a Google Sheet using this template: Financial Reporting

🛠️ Key Features
The workflow starts when a user sends a photo of a receipt to the Telegram bot.
The image is converted to text using the Google Vision API's OCR.
Data processing with LLM (OpenRouter) helps identify and structure transaction elements such as: date, vendor name & address, receipt/invoice number, item list (product name, quantity, unit price, total), and transaction category.
Cleaned and structured data is automatically recorded to Google Sheets per item.
The system also sends a summary of the recording results in an easy to read text format.
Users can also send text messages to the bot to query stored transaction data, which will be answered by a Google Sheets-based AI Agent.

🔧 Requirements
Active Telegram Bot + API Token
Google Vision API Key
OpenRouter Account + API Key
Google Sheets connected to n8n

🧩 Setup Instructions
Replace all API keys and tokens with your own in the relevant nodes.
Google Vision API Key: Set in 'Set Vision API' node.
Telegram Bot Token: Set in 'Set Telegram Token' node and all Telegram nodes.
OpenRouter API Key: Set in all OpenRouter nodes.
Google Sheets: Connect your own Google Sheets credential.
Use the provided Google Sheets template or your own.
Activate the workflow after configuration.
(Optional) Review sticky notes for step-by-step explanations.

Nodes Used (9)

AI Agent
@n8n/n8n-nodes-langchain.agent
Basic LLM Chain
@n8n/n8n-nodes-langchain.chainLlm
Code
n8n-nodes-base.code
Google Sheets
n8n-nodes-base.googleSheets
HTTP Request
n8n-nodes-base.httpRequest
OpenRouter Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenRouter
Simple Memory
@n8n/n8n-nodes-langchain.memoryBufferWindow
Structured Output Parser
@n8n/n8n-nodes-langchain.outputParserStructured
Telegram
n8n-nodes-base.telegram