Track Expenses from Telegram to Google Sheets with GP-4.1 Mini - n8n Workflow | Neura Market

    Track Expenses from Telegram to Google Sheets with GP-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://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 - `expense_record`: 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 ### 2. Google Sheet Setup - Create a Google Sheet with these columns: ``` Date | Amount | Currency | Category | Description | SourceMessage ``` - Share the sheet with your n8n service account email ### 3. OpenAI Configuration - Connect the `OpenAI Chat Model` node using your OpenAI API key - Use GPT-4.1 Mini as the model - Apply a system prompt that extracts structured JSON with: - `relevant`, `expense_record`, and `message` ### 4. Add Parser - Use the `Structured Output Parser` node to safely parse the JSON response ### 5. Conditional Logic Nodes - `Is text message?` - Checks if the message is in text format - `Supported scenario?` - Checks if `relevant = true` in the LLM response ### 6. Final Actions - **If relevant**: - Send confirmation via Telegram - Append row to Google Sheet - **If not relevant**: - Send fallback message via Telegram ## 📌 Requirements - Telegram bot token - OpenAI GPT-4.1 Mini API access - n8n instance (self-hosted or cloud) - Google Sheet with access granted to n8n - Basic understanding of n8n node configuration ## © How to customize the workflow | Feature | How to Customize | |---------|------------------| | Add multi-currency support | Update system prompt to detect and extract different currencies | | Add more categories | Modify the list of categories in the system prompt | | Track multiple users | Add `username` or `chat ID` column to the Google Sheet | | Trigger alerts | Add Slack, Email, or Telegram alerts for specific expense types | | Weekly summaries | Use a cron node + Google Sheet query + Telegram message | | Visual dashboards | Connect the sheet to Looker Studio or Google Data Studio | Built with Telegram + GPT-4.1 Mini + Google Sheets + n8n

    Platform
    n8n
    Category
    Business Operations & ERPs
    Price
    Free
    Creator
    Trung Tran
    • Finance Workflow
    • if
    • code
    • telegram
    • stickyNote
    • googleSheets
    • agent
    • telegramTrigger
    • lmChatOpenAi
    • outputParserStructured
    Back to MarketplaceMore n8n Workflows

    How to import this workflow into n8n

    1. 1Purchase or download the workflow to get the n8n workflow JSON file.
    2. 2In your n8n instance, open Workflows and choose "Import from File" (or paste the JSON with Ctrl+V on the canvas).
    3. 3Open each node marked with a credential warning and connect your own accounts and API keys.
    4. 4Run the workflow once manually to verify the data flow, then toggle it to Active.

    Related Business Operations & ERPs workflows

    • Automate Job Applications and Track Status with LinkedIn, Indeed, and Google SheetsFree
    • Automated Stock Price Monitoring and Alerts for Indian & US Markets
    Free
  1. Build Custom Workflows Automatically with GP-4.0, RAG, and Web SearchFree
  2. AI Chat Agent Receptionist for Clinics$150
  3. Automatically Archive Zoom Recordings to Google Drive and Log in AirtableFree
  4. Automate Call Scheduling with Voice AI Receptionist Using Twilio, Google Calendar & AirtableFree
  5. More from Trung Tran

    • Answer Code of Conduct Questions in Slack with GP-4 & RAGE Technology
    • Build a Retrieval-Based Chatbot with Telegram, OpenAI, and Google Drive PDF Backup
    • Auto-Renew AWS Certificates with Slack Approval Workflow
    All Business Operations & ERPs workflows →All n8n workflows →

    Need help customizing this workflow?

    Our automation experts adapt it to your exact stack, data, and process — or build one from scratch.

    Get a Custom Build
    Neura Market
    Neura Market
    Marketplace
    Directories
    Resources

    Marketplace

    • Prompts
    • Workflows
    • Agents Store
    • Workflow Packs
    • Categories
    • Marketplace

    Directories

    • AI Tools Directory
    • ChatGPT
    • Claude
    • Gemini
    • Cursor
    • Grok
    • DeepSeek
    • Perplexity
    • CoPilot
    • Midjourney
    • Stable Diffusion
    • MCP Servers
    • .md Directory
    • All Directories

    Free Tools

    • AI Text Humanizer
    • AI Content Detector
    • Workflow Generator
    • Model Comparison
    • AI Pricing Calculator
    • AI Benchmarks
    • ROI Calculator
    • All Free Tools

    Resources

    • AI News
    • Blog
    • AI Models
    • Integrations
    • Alternatives
    • n8n vs Zapier
    • Make vs Zapier
    • n8n vs Make
    • Resource Library
    • Documentation

    Community

    • AI Jobs
    • AI Events
    • AI Companies
    • Start Selling
    • Sell n8n Workflows
    • Sell AI Agents
    • Sell Prompts
    • Creator Guide
    • Advertise
    • Affiliates

    Company

    • About
    • Contact
    • Help
    • Careers
    • Pricing
    • Terms
    • Privacy
    • License
    • DMCA

    Stay Updated

    Get the latest AI tools and insights delivered to your inbox.

    Neura Market Logoneuramarket

    © 2026 Neura Market. All rights reserved.