Skip to main content

Track expenses and income in Google Sheets from Telegram with Google Gemini

Workflow preview

Workflow preview
100%
Track expenses and income in Google Sheets from Telegram with Google Gemini preview
Open on n8n.io

1. Workflow Overview

Brief Description: Your personal finance assistant inside Telegram! Chat naturally with an AI agent to track expenses, log income, view spending history, and manage your budget—all through simple c...

Best for

  • Personal Productivity automation workflows
  • AI Chatbot automation workflows
  • advanced n8n builders looking for reusable templates

Tools used

n8n-nodes-base.telegramtrigger, n8n-nodes-base.telegram, @n8n/n8n-nodes-langchain.agent, @n8n/n8n-nodes-langchain.lmchatgooglegemini, @n8n/n8n-nodes-langchain.memorybufferwindow, n8n-nodes-base.googlesheetstool, @n8n/n8n-nodes-langchain.toolcalculator, @n8n/n8n-nodes-langchain.toolthink

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Andi Sakti.

Original n8n.io source

1.1 Workflow description

Title
Track expenses and income in Google Sheets from Telegram with Google Gemini
Workflow name
Track expenses and income in Google Sheets from Telegram with Google Gemini

Brief Description: Your personal finance assistant inside Telegram! Chat naturally with an AI agent to track expenses, log income, view spending history, and manage your budget—all through simple conversation. No forms, no spreadsheets, just chat.

How it works:

  • Chat – Send expense or income details naturally via Telegram
  • Understand – AI agent parses your message and determines the action (add/get/delete)
  • Execute – Performs CRUD operations on Google Sheets (expense & income tabs)
  • Respond – Replies with confirmations, summaries, or requested data with formatted responses

Set up steps: ⏱️ Setup time: ~15-20 minutes Create a Telegram bot via BotFather and get your API token. Connect Google Gemini (or your preferred LLM) for the AI agent. Set up Google Sheets with separate tabs for expenses and income. Configure the Google Sheets tools with your sheet IDs and column mappings.

1.2 Logical Blocks

This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.

2. Block-by-Block Analysis

Block 1 - Telegram Trigger

Type / Role
n8n-nodes-base.telegramTrigger - telegramTrigger
Config choices
Version 1.2

Block 2 - Typing...

Type / Role
n8n-nodes-base.telegram - telegram
Config choices
Version 1.2

Block 3 - AI Agent - Expense Tracker

Type / Role
@n8n/n8n-nodes-langchain.agent - agent
Config choices
Version 1.7

Block 4 - Google Gemini Chat Model

Type / Role
@n8n/n8n-nodes-langchain.lmChatGoogleGemini - lmChatGoogleGemini
Config choices
Version 1

Block 5 - Simple Memory

Type / Role
@n8n/n8n-nodes-langchain.memoryBufferWindow - memoryBufferWindow
Config choices
Version 1.3

Block 6 - add_expense

Type / Role
n8n-nodes-base.googleSheetsTool - googleSheetsTool
Config choices
Version 4.7

Block 7 - get_expense

Type / Role
n8n-nodes-base.googleSheetsTool - googleSheetsTool
Config choices
Version 4.7

Block 8 - delete_expense

Type / Role
n8n-nodes-base.googleSheetsTool - googleSheetsTool
Config choices
Version 4.7

Block 9 - add_income

Type / Role
n8n-nodes-base.googleSheetsTool - googleSheetsTool
Config choices
Version 4.7

Block 10 - get_income

Type / Role
n8n-nodes-base.googleSheetsTool - googleSheetsTool
Config choices
Version 4.7

Block 11 - Calculator

Type / Role
@n8n/n8n-nodes-langchain.toolCalculator - toolCalculator
Config choices
Version 1

Block 12 - Think

Type / Role
@n8n/n8n-nodes-langchain.toolThink - toolThink
Config choices
Version 1.1

Block 13 - Markdown to HTML Formatter

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 14 - Send Telegram Message

Type / Role
n8n-nodes-base.telegram - telegram
Config choices
Version 1.2

Block 15 - Send Error Message

Type / Role
n8n-nodes-base.telegram - telegram
Config choices
Version 1.2

Block 16 - 📋 Prerequisites

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 17 - ⚙️ Configuration

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 18 - 💡 Important Info

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

3. Summary Table

Workflow Track expenses and income in Google Sheets from Telegram with Google Gemini
Complexity advanced
Nodes 18
Categories Personal Productivity, AI Chatbot
Author Andi Sakti
Published 20 Feb 2026

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/13557/13557.json as the source template for this automation.

  2. 2. Import the template into n8n

    Open n8n, import the downloaded JSON, and review each node before activating the workflow.

  3. 3. Configure credentials and variables

    Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.

  4. 4. Test with sample data

    Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.

  5. 5. Activate and monitor

    Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.

5. General Notes & Resources

Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.

Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.

Frequently asked questions

What does Track expenses and income in Google Sheets from Telegram with Google Gemini do?

Brief Description: Your personal finance assistant inside Telegram! Chat naturally with an AI agent to track expenses, log income, view spending history, and manage your budget—all through simple c...

What do I need before importing this workflow?

Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.

Can I customize this workflow?

Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your Personal Productivity, AI Chatbot use case.