Skip to main content

Automatic expense tracking with Telegram, AI, and Google Sheets

Workflow preview

Automatic expense tracking with Telegram, AI, and Google Sheets preview
Open on n8n.io

Important notice

This workflow is provided as-is. Please review and test before using in production.

Overview

The Problem 😫 Tired of manually logging every coffee and cab ride? Stop wrestling with spreadsheets! This template automates your expense tracking so you can manage your finances effortlessly.

It's perfect for freelancers, small business owners, and anyone who wants a simple, chat-based way to track spending.


Screen Shot 20250724 at 16.23.52 PM.png

How It Works ✨ Just send a message to your personal Telegram bot like "5 usd for coffee with my card" and this workflow will automatically:

πŸ“² Get your message from Telegram.

πŸ€– Use AI to understand the amount, category, currency, and payment method.

πŸ’± Convert currencies automatically using live exchange rates.

✍️ Log everything neatly into a new row in your Google Sheet.

πŸ› οΈ Quick Setup Guide

  1. Google Sheets πŸ“ Create a new Google Sheet.

Make sure your first row has these exact column names: date, amount, category, description, user_id, payment_method, currency, exchange_rate, amount_converted

Copy the Sheet ID from the browser's URL bar.

  1. Telegram Bot πŸ€– Chat with @BotFather on Telegram, use the /newbot command, and get your API Token.

Chat with @userinfobot to get your personal Chat ID.

  1. n8n Workflow πŸ”— Add your credentials for Google Sheets, Telegram, and your AI model.

Paste your Chat ID into the Telegram Trigger node.

Paste your Sheet ID into the Append row in sheet node.

Activate the workflow and start tracking! βœ