Track expenses from Telegram to Google Sheets with GPT-4.1 Mini
Ready for 3.0Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-10-19.
What this workflow does
This AI workflow has 11 nodes and runs on Telegram events (message). Along the way it connects Telegram, OpenAI Chat Model and Google Sheets.
How it runs
Trigger: On Telegram events (message).
- Is text message? (If): checks a condition and branches into true / false
- Budget Buddy Telegram Agent Text (AI Agent): runs an AI agent, with model: OpenAI Chat Model; output parser: Structured Output Parser
- Un-supported message type (Telegram): uses Telegram
- Supported scenario? (If): checks a condition and branches into true / false
- Acknowledge the expense (Telegram): uses Telegram
- Transform the output to expense record (Code): runs custom JavaScript code
- Send un-supported scenario message (Telegram): uses Telegram
- Log expense record to google sheet (Google Sheets): append
Services it uses
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 (8)
- Telegram Trigger
n8n-nodes-base.telegramTrigger - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - Structured Output Parser
@n8n/n8n-nodes-langchain.outputParserStructured - If
n8n-nodes-base.if - Telegram
n8n-nodes-base.telegram - Code
n8n-nodes-base.code - Google Sheets
n8n-nodes-base.googleSheets - AI Agent
@n8n/n8n-nodes-langchain.agent
From the author
📒 Telegram Expense Tracker to Google Sheets with GPT-4.1 .jpg) > A lightweight automation that lets users log daily expenses via a Telegram bot and instantly saves them into Google Sheets—perfect for anyone looking to manage spending on the go with…