Track expenses automatically with Telegram Bot using GPT-4o, OCR and voice recognition
Personal Expense Tracker Bot π° AI-powered Telegram bot for effortless expense tracking. Send receipts, voice messages, or text - the bot automatically extracts and categorizes your expenses. β¨ Key Features - πΈ Receipt & Invoice OCR - Send photos of receipts or PDF invoices, AI extracts expense data automatically - π€ Voice Messages - Speak your expenses naturally, audio is transcribed and processed - π¬ Natural Language - Just type "spent 50 on groceries" or any text format -
At a glance
Track expenses automatically with Telegram Bot using GPT-4o, OCR and voice recognition is a ready-made n8n workflow you import as a workflow JSON file β no build required. It connects OpenAI, Telegram. It's free to download. Follow the 5-step import below to go live in minutes.
- Platform
- n8n
- Connects
- OpenAI, Telegram
- Modules
- 40
- Price
- Free
- Version
- v1.0

About this workflow
Personal Expense Tracker Bot π° AI-powered Telegram bot for effortless expense tracking. Send receipts, voice messages, or text - the bot automatically extracts and categorizes your expenses. β¨ Key Features - πΈ Receipt & Invoice OCR - Send photos of receipts or PDF invoices, AI extracts expense data automatically - π€ Voice Messages - Speak your expenses naturally, audio is transcribed and processed - π¬ Natural Language - Just type "spent 50 on groceries" or any text format - π Multilingual - Processes documents in any language (EN, DE, PT, etc.) - π Smart Statistics - Get monthly totals, category breakdowns, multi-month comparisons - π Private & Secure - Single-user authorization, only you can access your data - β‘ Zero Confirmation - Expenses are added instantly, no annoying "confirm?" prompts π― How It Works 1. Send expense data via Telegram: - Photo of receipt - PDF invoice - Voice message - Text message 2. AI processes automatically: - Extracts amount, date, vendor - Categorizes expense - Stores in organized format 3. Query your expenses: - "Show my expenses for November" - "How much did I spend on groceries?" - "Compare last 3 months" π Expense Categories Groceries, Transportation, Housing, Utilities, Healthcare, Entertainment, Dining Out, Clothing, Education, Subscriptions, Personal Care, Gifts, Travel, Sports, Other π§ Setup Requirements 1. Telegram Bot Create a Telegram bot via @BotFather and get your API token. Configure credentials for nodes: - Input, WelcomeMessage, - GetAudioFile, GetAttachedFile, GetAttachedPhoto - ReplyText, NotAuthorizedMessage, DeleteProcessing 2. OpenRouter API Get API key from OpenRouter for AI processing. Configure credentials for: - Gpt4o (main processing) - Sonnet45 (expense assistant) 3. Ainoflow API Get API key from Ainoflow for storage and OCR. Configure Bearer credentials for: - GetConfig, SaveConfig - ExtractFileText, ExtractImageText - TranscribeRecording - JsonStorageMcp (MCP tool) ποΈ Workflow Architecture | Section | Description | |---------|-------------| | Message Trigger | Receives all Telegram messages | | Bot Privacy | Locks bot to first user, rejects unauthorized access | | Chat Message / Audio | Routes text and voice messages to AI | | Document / Photo | Extracts text from files via OCR and forwards to AI | | Root Agent | Routes messages to Expense Assistant, validates responses | | Expense Assistant | Core logic: stores expenses, calculates statistics | | Result / Reply | Sends formatted response back to Telegram | | Cleanup / Reset | Manual trigger to delete all data (β οΈ use with caution) | π¬ Usage Examples Adding Expenses Querying Expenses π¦ Data Storage Expenses are stored in JSON format organized by month (YYYY-MM): β οΈ Important Notes - First user locks the bot - Run /start to claim ownership - Default currency is EUR - AI auto-detects other currencies - Cleanup deletes ALL data - Use manual trigger with caution - No confirmation for adding - Only delete operations ask for confirmation π οΈ Customization - Change default currency in agent prompts - Add/modify expense categories in ExpenseAssistant - Extend Root Agent with additional assistants - Adjust AI models (swap GPT-4o/Sonnet as needed) π Related Resources - Create Telegram Bot - OpenRouter Credentials - Ainoflow Platform πΌ Need Customization? Want to adapt this template for your specific needs? Custom integrations, additional features, or enterprise deployment? Contact us at Ainova Systems - We build AI automation solutions for businesses. --- Tags: telegram, expense-tracker, ai-agent, ocr, voice-to-text, openrouter, mcp-tools, personal-finance
How to import this n8n workflow
- 1
Download the workflow JSON file after purchase.
- 2
Open n8n β click the menu β Import from File.
- 3
Select the downloaded JSON and import.
- 4
Set up credentials for each node that requires them.
- 5
Click Execute Workflow to test, then activate.
Setup guide
Setup guide included
Purchase to unlock the full step-by-step guide
Related N8n workflows
Create photorealistic social media images with Flux Realism, LoRa models & Airtable
Automate candidate creation in Recrutei with GPT-4 vacancy matching & resume parsing
AI chatbot call center: Telegram call in (production-ready, part 1a)
Supply Chain Price Optimization (Grocery)
Create and manage Notion pages with data from Inoreader and ChatGPT
Transform press releases (PDF & Word) into polished articles with Gmail & OpenAI
Convert documents to Markdown with MinerU API and GPT-4o-mini
Generate summaries from uploaded files using OpenAI Assistants API
Reviews
No reviews yet
Be the first to buy and share your experience.
Leave a review
Sign in to share your experience with this workflow.
Create a free account to purchase workflows.
- JSON blueprint β instant download
- Setup guide PDF included
- 5 downloads Β· valid 30 days
- Works with n8n
Need help setting this up?
Book a 3-hour live setup session with an Agility consultant.
- Configure live on Google Meet / Zoom
- Free follow-up if workflow has defects
- Platform expert assigned to you