AI-powered Telegram bot for effortless expense tracking. Send receipts, voice messages, or text - the bot automatically extracts and categorizes your expenses.
Send expense data via Telegram:
AI processes automatically:
Query your expenses:
Groceries, Transportation, Housing, Utilities, Healthcare, Entertainment, Dining Out, Clothing, Education, Subscriptions, Personal Care, Gifts, Travel, Sports, Other
Create a Telegram bot via @BotFather and get your API token.
Configure credentials for nodes:
Get API key from OpenRouter for AI processing.
Configure credentials for:
Get API key from Ainoflow for storage and OCR.
Configure Bearer credentials for:
| 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) |
📸 [Send receipt photo]
→ Added: 45.50 EUR - Groceries (Lidl)
🎤 "Bought coffee for five euros"
→ Added: 5.00 EUR - Dining Out (coffee)
💬 "50 uber"
→ Added: 50.00 EUR - Transportation (uber)
"Show my expenses"
→ November 2025: 1,250.50 EUR (23 expenses)
Top: Groceries 450€, Transportation 280€, Dining 220€
"How much on entertainment this month?"
→ Entertainment: 85.00 EUR (3 expenses)
"Compare October and November"
→ Oct: 980€ | Nov: 1,250€ (+27%)
Expenses are stored in JSON format organized by month (YYYY-MM):
{
"id": "uuid",
"amount": 45.50,
"currency": "EUR",
"category": "Groceries",
"description": "Store name",
"date": "2025-11-10T14:30:00Z",
"created_at": "2025-11-10T14:35:22Z"
}
/start to claim ownershipWant 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