Process receipts with Google Vision OCR, AI & Telegram to Google Sheets
Ready for 3.0What this workflow does
This AI workflow has 23 nodes and runs on Telegram events (message). Along the way it connects Telegram, OpenRouter Chat Model and Google Sheets.
How it runs
Trigger: On Telegram events (message).
- If: checks a condition and branches into true / false
- Set Telegram Token (Edit Fields (Set)): sets 1 field: telegramToken
- AI Agent: runs an AI agent, with model: OpenRouter Chat Model; 1 tool (Get row(s) in sheet in Google Sheets); memory: Simple Memory
- Get Path (HTTP Request): calls an HTTP API
- Send a text message (Telegram): uses Telegram
- Get URL (HTTP Request): calls an HTTP API
- Code: runs custom JavaScript code
- Set Vision API (Edit Fields (Set)): sets 1 field: visionAPI
- HTTP Request: calls an HTTP API (POST)
- Send a text message (Telegram): uses Telegram
…plus 6 more steps. See the full node list below.
Services it uses
Other Telegram + Google Sheets templates (674) · Other Google Sheets + OpenRouter templates (210) · Other Telegram + OpenRouter templates (136)
Before you upgrade to n8n 3.0
Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.
- Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
Nodes used (14)
- Telegram Trigger
n8n-nodes-base.telegramTrigger - If
n8n-nodes-base.if - HTTP Request
n8n-nodes-base.httpRequest - Edit Fields (Set)
n8n-nodes-base.set - Code
n8n-nodes-base.code - Basic LLM Chain
@n8n/n8n-nodes-langchain.chainLlm - OpenRouter Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenRouter - Structured Output Parser
@n8n/n8n-nodes-langchain.outputParserStructured - Google Sheets
n8n-nodes-base.googleSheets - Split Out
n8n-nodes-base.splitOut - Telegram
n8n-nodes-base.telegram - AI Agent
@n8n/n8n-nodes-langchain.agent - Google Sheets Tool
n8n-nodes-base.googleSheetsTool - Simple Memory
@n8n/n8n-nodes-langchain.memoryBufferWindow
From the author
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…