Track & query expenses via Telegram with GPT-4.1 mini & Google Sheets
Ready for 3.0What this workflow does
This AI workflow has 24 nodes and runs on Telegram events. Along the way it connects Telegram, Google Sheets, Gmail and OpenAI Chat Model.
How it runs
Trigger: On Telegram events.
- Route by Message Type (Switch): routes items into branches
- Check Voice Quality (Switch): routes items into branches
- Send Processing Notification (Text) (Telegram): uses Telegram
- Send Processing Notification (Voice) (Telegram): uses Telegram
- 🎙️ Download Voice File (Telegram): uses Telegram
- Read Transaction History (Google Sheets): uses Google Sheets
- Upload to AssemblyAI (HTTP Request): calls an HTTP API
- Calculate Starting Balance (Code): runs custom JavaScript code
- Start Transcription (HTTP Request): calls an HTTP API
- AI Expense Analyzer (AI Agent): runs an AI agent, with model: GPT-4.1 Mini Model; 3 tools (Read Sheet for Queries, Send Low Balance Alert, Append Transaction to Sheet); memory: Conversation Memory
…plus 8 more steps. See the full node list below.
Services it uses
Other Google Sheets + Gmail templates (2,102) · Other OpenAI + Google Sheets templates (2,011) · Other OpenAI + Gmail templates (1,623)
Before you upgrade to n8n 3.0
Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.
Nodes used (13)
- Telegram Trigger
n8n-nodes-base.telegramTrigger - Switch
n8n-nodes-base.switch - Telegram
n8n-nodes-base.telegram - HTTP Request
n8n-nodes-base.httpRequest - If
n8n-nodes-base.if - Google Sheets
n8n-nodes-base.googleSheets - Code
n8n-nodes-base.code - Google Sheets Tool
n8n-nodes-base.googleSheetsTool - Gmail Tool
n8n-nodes-base.gmailTool - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - Simple Memory
@n8n/n8n-nodes-langchain.memoryBufferWindow - AI Agent
@n8n/n8n-nodes-langchain.agent - Wait
n8n-nodes-base.wait
From the author
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…