Skip to main content

Expense logging with Telegram and Google Sheets

Workflow preview

Workflow preview
100%
Expense logging with Telegram and Google Sheets preview
Open on n8n.io

Important notice

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

1. Workflow Overview

Weekly Summaries and Budget Alerts Who’s it for This workflow is perfect for individuals who want a simple expense tracker without needing a full app. If you already use Telegram daily, this makes ...

Best for

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

Tools used

n8n-nodes-base.stickynote, n8n-nodes-base.telegramtrigger, n8n-nodes-base.code, n8n-nodes-base.googlesheets, n8n-nodes-base.scheduletrigger, n8n-nodes-base.telegram

Source and attribution

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

Original n8n.io source

1.1 Workflow description

Title
Expense logging with Telegram and Google Sheets
Workflow name
Expense logging with Telegram and Google Sheets

Weekly Summaries and Budget Alerts

Who’s it for

This workflow is perfect for individuals who want a simple expense tracker without needing a full app. If you already use Telegram daily, this makes it effortless to log purchases, track spending, and stay accountable to your budget.

How it works / What it does

  • Send an expense in Telegram using the format /spent 5 lunch.
  • n8n parses the message and appends the entry to Google Sheets.
  • Every Sunday at 11:00, the workflow sends a weekly expense summary to Telegram.
  • If you exceed your weekly budget (default €100), you’ll instantly get a budget warning alert.
  • Optionally, the sheet can be cleared weekly to start fresh.

How to set up

  1. Create a Telegram bot with BotFather, copy the token, and get your Chat ID via getUpdates.
  2. Make a copy of the provided Google Sheets template and connect your Google credentials in n8n.
  3. Replace <YOUR_CHAT_ID> and <YOUR_SHEET_ID> placeholders in the workflow.
  4. Adjust the budget threshold in the “Check Weekly Budget” node if needed.
  5. Activate the workflow and test with a sample expense. Requirements

What to do

  • A Telegram bot (free, via BotFather).
  • Google Sheets with n8n OAuth2 credentials.
  • An n8n instance (self-hosted or cloud). How to customize the workflow
  • Change the budget threshold in the Code node.
  • Update the summary schedule in the Schedule Trigger node.
  • Expand the Google Sheet with more categories or details.
  • Personalize the Telegram messages to fit your style.

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 - Sticky Note - Overview

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

Block 2 - Sticky Note - Daily Log

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

Block 3 - Sticky Note - Weekly Total

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

Block 4 - Telegram - Get Expense Command

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

Block 5 - Parse Telegram Message

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

Block 6 - Google Sheets - Log Expense

Type / Role
n8n-nodes-base.googleSheets - googleSheets
Config choices
Version 4.6

Block 7 - Weekly Summary Trigger

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

Block 8 - Calculate Weekly Total

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

Block 9 - Telegram - Send Weekly Summary

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

Block 10 - Sticky Note - Setup Guide

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

Block 11 - Google Sheets - Clean Up (Optional)

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

Block 12 - Google Sheets - Get Weekly Expenses

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

Block 13 - Google Sheets - Get Expenses (Realtime)

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

Block 14 - Check Weekly Budget

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

Block 15 - Telegram - Send Budget Alert

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

3. Summary Table

Workflow Expense logging with Telegram and Google Sheets
Complexity advanced
Nodes 15
Categories Personal Productivity
Author Gtaras
Published 04 Sept 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/8268/8268.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 Expense logging with Telegram and Google Sheets do?

Weekly Summaries and Budget Alerts Who’s it for This workflow is perfect for individuals who want a simple expense tracker without needing a full app. If you already use Telegram daily, this makes ...

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 use case.