See llms.txt for all machine-readable content.

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 clean expense summary back. This Telegram-based workflow reads receipt photos with Tesseract OCR, understands text messages directly, and uses AI (LLaMA via OpenRouter) to categorize spending and reply with a structured recap. Free tools only, no tech skills needed.
Last updated: September 2026.
Individuals, freelancers, or small business owners who want an easy way to track expenses over Telegram. Ideal if you want to digitize receipts, from photos or text messages, using free tools and without advanced technical skills.
Typing receipt details into a spreadsheet is slow and error-prone. This workflow extracts the info from receipt images or text messages sent via Telegram, categorizes the expense, and sends back a clear summary. Less time, fewer errors, effortless expense tracking.
The workflow listens for messages sent to a Telegram bot, either text descriptions of expenses or photos of receipts. Photos go through Tesseract (an open-source text recognition tool); text is processed directly. An AI model (LLaMA via OpenRouter) analyzes the input, categorizes it (e.g., Food & Beverages, Household, Transport), and builds a structured summary with store name, date, items, total, and category, sent back to your Telegram chat.
Follow these step-by-step instructions to set up the workflow. No advanced technical knowledge is required, but you’ll need a self-hosted n8n instance.
Set Up a Self-Hosted n8n Instance:
Install the Tesseract Community Node:
n8n-nodes-tesseractjs in the search bar.Create a Telegram Bot:
/start to BotFather, then /newbot to create your bot.23872837287:ExampleExampleExample). Copy this token.Set Up OpenRouter for AI Processing:
Import and Configure the Workflow:
Test the Workflow:
/start.Activate for Continuous Use:
To help the workflow process your data accurately, use clear and structured inputs. Below are examples of valid inputs:
Send a message to your Telegram bot like this:
Bought coffee at Starbucks, Jalan Sudirman, yesterday. Total Rp 50,000. 2 lattes, each Rp 25,000.
Expected Output:
hello [Your Name]
Ini Rekap Belanjamu
📋 Store: Starbucks
📍 Location: Jalan Sudirman
📅 Date: 2025-05-26
🛒 Items:
- Latte: Rp 25,000
- Latte: Rp 25,000
💸 Total: Rp 50,000
📌 Category: Food & Beverages
Upload a photo of a receipt to your Telegram bot. The receipt should contain:
Expected Output:
hello [Your Name]
Ini Rekap Belanjamu
📋 Store: Alfamart
📍 Location: Jl. Gatot Subroto, Jakarta
📅 Date: 2025-05-27 14:00
🛒 Items:
- Bread: Rp 15,000
- Milk: Rp 20,000
💸 Total: Rp 35,000
📌 Category: Household
Tips for Images:
This workflow is 100% free! It leverages:
Enjoy automating your expense tracking without any cost!
Is it really free?
Yes. Telegram Bot API is free, Tesseract is open-source, and the LLaMA model on OpenRouter has a free tier.
Do I need coding skills?
No. Setup is all clicking through settings, credentials, and import.
Does it run on n8n Cloud?
No. The Tesseract community node needs a self-hosted n8n instance.
Made by: khmuhtadin
Need a custom? contact me on LinkedIn or Web
Built with n8n. Need an assessment on your business? Feel free to reach out at https://khmuhtadin.com/consultation/