workflows.fit
Back to n8n workflows
n8n templateFreeBy Trung Tran

Track expenses from Telegram to Google Sheets with GPT-4.1 Mini

đź“’ Telegram Expense Tracker to Google Sheets with GPT-4.1 [![Watch the video](https://s3.ap-southeast-1.amazonaws.com/automatewith.me/track-expenses-from-telegram-to-google-sheets-with-gpt-41-mini+(1).jpg)](https://ww...

Data & StorageProductivityCommunicationHITLDevelopmentCore NodesAILangchain
Loading interactive preview...

Template notes

📒 Telegram Expense Tracker to Google Sheets with GPT-4.1 [![Watch the video](https://s3.ap-southeast-1.amazonaws.com/automatewith.me/track-expenses-from-telegram-to-google-sheets-with-gpt-41-mini+(1).jpg)](https://www.youtube.com/watch?v=DsSs1EF1lQg) > 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 AI-powered structure and ease. 👤 Who’s it for This workflow is for anyone who wants to log their daily expenses by simply chatting with a Telegram bot. Ideal for: - Individuals who want a quick way to track spending - Freelancers who log receipts and purchases on the go - Teams or small business owners who want lightweight expense capture

⚙️ How it works / What it does 1. User sends a text message on Telegram describing an expense (e.g., “Bought coffee for 50k at Highlands”)

2. Message format is validated - If the message is text, it proceeds to GPT-4.1 Mini for processing. - If it's not text (e.g. image or file), the bot sends a fallback message.

3. OpenAI GPT-4.1 Mini parses the message and returns: - relevant: true/false - expenserecord: structured fields (date, amount, currency, category, description, source) - message: a friendly confirmation or fallback

4. If valid: - The bot replies with a fun acknowledgment - The data is saved to a connected Google Sheet

5. If invalid: - A fallback message is sent to encourage proper input

🛠️ How to set up

1. Telegram Bot Setup - Create a bot using [BotFather](https://t.me/botfather) on Telegram - Copy the bot token and paste it into the Telegram Trigger node