Extract Details from Receipts via Telegram with Tesseract and Llama
UnknownWhat this workflow does
This AI workflow has 13 nodes and runs on Telegram events (message). Along the way it connects Telegram, OpenRouter Chat Model and Tesseractjs (community).
How it runs
Trigger: On Telegram events (message).
- Check for Image (If): checks a condition and branches into true / false
- Get Telegram File (HTTP Request): calls an HTTP API
- Extract Text Input (Edit Fields (Set)): sets 1 field: message
- Download Image (HTTP Request): calls an HTTP API
- AI Categorizer (Basic LLM Chain): sends a prompt to an LLM, with model: AI Analyzer; output parser: Receipt Parser
- Extract Value From Image (Tesseract Node): uses Tesseract Node
- Format Summary Message (Code): runs custom JavaScript code
- Check Invalid Input (If): checks a condition and branches into true / false
- Send Error Message (Telegram): uses Telegram
- Send Expense Summary (Telegram): uses Telegram
Services it uses
Before you upgrade to n8n 3.0
We can't fully verify this one: it relies on 1 community package, and n8n 3.0 turns unverified community packages off by default (N8N_UNVERIFIED_PACKAGES_ENABLED=false).
- Check that n8n-nodes-tesseractjs is verified or supports 3.0 (used in Extract Value From Image).
Nodes used (10)
- Code
n8n-nodes-base.code - HTTP Request
n8n-nodes-base.httpRequest - Telegram Trigger
n8n-nodes-base.telegramTrigger - Basic LLM Chain
@n8n/n8n-nodes-langchain.chainLlm - If
n8n-nodes-base.if - Edit Fields (Set)
n8n-nodes-base.set - Structured Output Parser
@n8n/n8n-nodes-langchain.outputParserStructured - OpenRouter Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenRouter - Telegram
n8n-nodes-base.telegram - Tesseract Node
n8n-nodes-tesseractjs.tesseractNode
From the author
Tesseract - Money Mate Workflow Description Disclaimer: This template requires the n8n-nodes-tesseractjs community node, which is only available on self-hosted n8n instances. You’ll need a self-hosted n8n setup to use this workflow. Snap a receipt, get a…