Use this powerful n8n workflow to track expenses instantly. Capture receipts via Telegram, extract text using Tesseract OCR, and categorize expenses using AI parsing via OpenRouter/LangChain.
Download this n8n workflow template and start using it instantly.
-
Individuals seeking better budgeting: Those who want a fast, hands-free method to log daily expenses.
N8n power users: Developers looking for advanced n8n templates combining OCR, LLMs, and custom code.
Automation enthusiasts: Users who want to leverage Telegram as a primary input channel for data logging.
Financial professionals: Anyone needing structured, categorized data extraction from unstructured receipt photos.
This advanced n8n workflow solves the common problem of manual expense data entry by leveraging a series of specialized nodes. By utilizing the Telegram n8n trigger, users can simply snap a photo of a receipt or type an expense entry. The subsequent process intelligently detects images, uses Tesseract OCR to extract text from physical receipts, and then passes this complex data to an AI model (via OpenRouter/LangChain nodes) for structured parsing and categorization (e.g., Food & Beverages, Transport). The final output is a clean, comprehensive summary sent back to the user. This sophisticated n8n template demonstrates how to build robust, multi-modal automations, ensuring high accuracy and efficiency in your personal or business financial tracking.
The entire process begins with the Telegram n8n trigger. Once activated by a user message or photo, the n8n workflow proceeds as follows:
Check for Image n8n node determines if the input is text or a photo, routing the execution path accordingly.Get Telegram File and Download Image) to retrieve the photo data. The Extract Value From Image n8n node (Tesseract OCR) converts the visual data into raw text.Extract Text Input n8n node prepares the raw message.AI Categorizer n8n node, which uses the LLM (AI Analyzer / OpenRouter) alongside the Receipt Parser to extract structured details like store name, total, date, and expense category.Format Summary Message Code n8n node converts the complex structured JSON into a simple, human-readable string, performing essential checks like verifying that the total expense is greater than zero.Check Invalid Input n8n node filters out potential errors (like zero-value totals). The n8n workflow then sends the final, categorized summary or an error message back to the user using the Send Expense Summary or Send Error Message Telegram n8n nodes.To deploy this comprehensive n8n workflow, follow these steps:
Telegram Trigger n8n node and the two Telegram output n8n nodes.AI Analyzer n8n node. This particular n8n template uses OpenRouter, requiring an API key for access to powerful LLMs.Telegram Trigger n8n node. You may need to manually configure your Telegram bot webhook URL to point to your n8n webhook address if running in production.message updates, enabling the receipt of both text and photo inputs from any authorized Telegram chat.AI Categorizer sets the system prompt (acting as a financial planner expert), while the AI Analyzer uses the configured OpenRouter credentials to perform the actual parsing and categorization based on defined options.store, transaction, items, and summary objects. This standardization is vital for reliable subsequent processing in the n8n workflow.Use this n8n workflow to securely expose a NetSuite SuiteQL endpoint. Execute dynamic database queries via an n8n webhook trigger, ideal for complex reporting and data extraction.

Use this powerful n8n workflow to automatically scrape the latest AI research papers from arXiv via Decodo, summarize PDFs with OpenAI, and build a research database in Google Sheets. Install this n8n template today.

An advanced n8n workflow using an LLM router to direct user queries to either a RAG vector database (Pinecone) or a structured SQL database (MySQL) for precise tech radar advice.

Automate Gmail customer support responses using this powerful n8n workflow. It leverages local Ollama models and Pinecone RAG for accurate, context-aware replies. Easily set up these n8n templates.

Deploy a powerful n8n workflow acting as an AI Agent Tool Server for Gmail. Enable large language models to search, reply, label, manage drafts, and manipulate threads using this robust n8n node setup.








































