$59
Buy this

AI Expense Tracker: Voice & Text via Telegram with Cost Tracking

This n8n Automation workflow tracks and queries your expenses effortlessly through Telegram using voice or text messages. This AI-powered workflow transcribes voice input via AssemblyAI, processes transactions with a GPT-4.1 mini agent, stores data in Google Sheets with comprehensive timestamp metadata, and responds with both voice and text confirmations.

Key Features:

- Multi-modal input: Send expenses via voice messages or text

- Intelligent processing: AI agent automatically categorizes transactions, calculates running balance, and handles multiple expenses in a single message

- Conversational queries: Ask questions like "What did I spend on food last week?"

- Voice responses: Get spoken confirmations using OpenAI TTS

- Smart alerts: Automatic Gmail notifications for low balance thresholds

- Cost tracking: Monitors and logs all API usage costs (LLM + TTS) in USD and INR

馃幆 Use Cases

路聽聽聽Personal Finance Management :Track daily expenses, manage budgets,understand spending patterns with minimal effort.

路聽聽Business Expense Tracking :Log business expenses on-the-go with automatic categorization and detailed audit trails.

路聽聽Shared Household Budgets :Multiple family members can contribute expenses through a shared Telegram bot.

路聽聽Freelancer Income & Expense Tracking :Track both credits (client payments) and debits (business expenses) in one place.

路聽聽API Cost Monitoring :Perfect for developers and businesses monitoring AI API usage and costs.

Each transaction includes detailed metadata (timestamps, categories, run IDs, source text) enabling powerful time-based analytics and queries.

馃攧 Workflow Architecture

Entry & Routing (Telegram)

  1. Telegram trigger receives message
  2. Router determines if voice or text
  3. Processing notification sent to user

Voice Processing Path (AssemblyAI)

  1. Download voice file from Telegram
  2. Upload audio to AssemblyAI
  3. Start transcription job
  4. Poll until transcription completes
  5. Extract transcript text

Text Processing Path

  1. Direct text extraction from message
  2. Pass to core processing

Core Processing (AI Agent)

  1. Read transaction history from Google Sheets
  2. Calculate starting balance and generate Run ID
  3. AI Agent (GPT-4.1 mini) processes request:
    • Parse transaction details
    • Determine type (credit/debit)
    • Categorize expense
    • Calculate new balance
    • Generate all timestamp metadata
  4. Execute tool calls:
    • Append Transaction: Write to sheet with full metadata
    • Read Sheet: Query existing transactions
    • Send Email Alert: Trigger on low balance
  5. Track token usage and API costs

Post-Processing

  1. Generate voice response (OpenAI TTS)
  2. Send voice confirmation to Telegram
  3. Send text confirmation to Telegram
  4. Log API costs (LLM + TTS) to sheet
Buy this

Track & query expenses via Telegram (voice,text) to Google Sheets using AI Track your expenses effortlessly using voice or text messages through Telegram. Powered by AI for intelligent categorization, automatic balance calculation, and comprehensive cost analytics.

馃摫 How to Use Recording Expenses Voice Input: 馃帳 "I spent one thousand rupees on food today" 馃帳 "Entertainment expense 500" 馃帳 "Received salary 50000" Text Input: 馃挰 Food expense 1000 馃挰 Movie tickets 800 馃挰 Credit 25000 salary Multiple Transactions: 馃挰 I spent 1000 on entertainment and 2000 on food 馃帳 "Paid 500 for groceries and 300 for transport" Querying Your Data 馃挰 What's my current balance? 馃挰 Show me food expenses this month 馃挰 How much did I spend last week? 馃挰 What are my top spending categories? Understanding Categories The AI automatically categorizes expenses: Food: Restaurant, groceries, food delivery, hotel dining Entertainment: Movies, concerts, streaming subscriptions Shopping: Retail purchases, online shopping Transport: Taxi, fuel, parking, public transport Utilities: Phone recharge, electricity, internet Healthcare: Medical, pharmacy, insurance Education: Courses, books, training Other: Anything not fitting above categories Transaction Types Debits (money out): Keywords: spent, bought, paid, expense, shopping, transfer out Decreases your balance Credits (money in): Keywords: received, credit, salary, refund, prize, transfer in Increases your balance
Powered by