Track & Query Expenses via Telegram with GPT-4.1 Mini & Google Sheets

Go to Workflow
8 views
Built by Sridevi Edupuganti Sridevi Edupuganti
Created on June 06, 2026

Description

Description

Track and query 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

Perfect for:
Personal finance management with minimal effort
Small business expense tracking with audit trails
Shared household or team budgets
API cost monitoring for developers

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

Requirements: Telegram bot, Google Sheets OAuth, OpenAI API key, AssemblyAI API key, Gmail OAuth (optional)

Support: Join n8n Discord or Community Forum
README file available at https://drive.google.com/file/d/1mh9FRm7zemdazNpjyEq9uhHSc_9go7PN/view?usp=sharing

Nodes Used (7)

AI Agent
@n8n/n8n-nodes-langchain.agent
Code
n8n-nodes-base.code
Google Sheets
n8n-nodes-base.googleSheets
HTTP Request
n8n-nodes-base.httpRequest
OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi
Simple Memory
@n8n/n8n-nodes-langchain.memoryBufferWindow
Telegram
n8n-nodes-base.telegram