Skip to content
Track & Query Expenses via Telegram with GPT-4.1 Mini & Google Sheets logo

Track & Query Expenses via Telegram with GPT-4.1 Mini & Google Sheets

Verified

Track and query expenses via Telegram using AI and Google Sheets.

n8nAI & LLMIntermediate👁 8 views
Open template
Updated 2026-06-16

What this workflow does

This automation receives input through Telegram, processes it with an AI Agent backed by OpenAI Chat Model and conversation memory, then logs structured expense records into Google Sheets.

It suits individuals and teams seeking automated expense tracking and conversational queries without manual data entry.

Who is this for?

Individuals and small teams managing personal or shared budgets who want conversational expense tracking without spreadsheets or apps.

What problem it solves

Manually logging expenses and querying past spending is time-consuming and error-prone; this workflow lets users send voice or text via Telegram for automatic AI processing and storage.

Live workflow preview

Interactive canvas of every node and connection — scroll and click to explore. Powered by n8n's preview.

Open the template on n8n to import and run it. View source template →

What it automates

Daily personal spending

User texts or voices 'coffee $5' and the agent categorizes it, updates the running balance in Google Sheets, and confirms via Telegram.

Weekly budget review

Ask 'food expenses last week' in chat; the AI agent queries Sheets and returns a summarized total with category breakdown.

Household shared tracking

Multiple family members message the same Telegram bot to log bills; all entries are timestamped and stored centrally for later analysis.

How the workflow works

The 7 nodes in this automation, in order.

  1. 1Google SheetsgoogleSheets
  2. 2HTTP RequesthttpRequest
  3. 3Telegramtelegram
  4. 4Codecode
  5. 5AI Agent@n8n/n8n-nodes-langchain.agent
  6. 6OpenAI Chat Model@n8n/n8n-nodes-langchain.lmChatOpenAi
  7. 7Simple Memory@n8n/n8n-nodes-langchain.memoryBufferWindow

Apps & integrations used

Google SheetsHTTP RequestTelegramAI AgentOpenAI Chat ModelSimple Memory

How to set up Track & Query Expenses via Telegram with GPT-4.1 Mini & Google Sheets

  1. 1Import the workflow JSON file into your n8n instance
  2. 2Add Telegram Bot API credentials and connect the trigger node
  3. 3Configure OpenAI Chat Model credentials for the AI Agent
  4. 4Set up Google Sheets OAuth and map the expense data columns
  5. 5Attach Simple Memory node to the AI Agent for conversation context
  6. 6Activate the workflow and test by sending a sample expense message

How to customize this workflow

  • Swap GPT-4.1 Mini for another OpenAI model in the Chat Model node
  • Change the Google Sheets trigger column names or add new metadata fields
  • Add an HTTP Request node to forward data to another service
  • Extend the AI Agent prompt to support additional languages or categories

Track & Query Expenses via Telegram with GPT-4.1 Mini & Google Sheets: pros & cons

Pros

  • +Conversational Telegram interface for quick input
  • +AI agent handles categorization and balance calculations automatically
  • +Structured data stored in Google Sheets for easy reporting
  • +Simple Memory keeps context across multiple messages

Cons

  • Requires separate OpenAI and Telegram API keys
  • No native voice transcription in the listed integrations
  • Intermediate setup needed for OAuth connections
Did you find this helpful?

Frequently asked questions

It lets users log and query expenses through Telegram messages, with an AI agent processing and storing data in Google Sheets.

User reviews

Verified reviews from the community shape this listing's rating.

Loading reviews…

Sign in to review

Promote Track & Query Expenses via Telegram with GPT-4.1 Mini & Google Sheets

Add this badge to your website, or share the tool.

DFeatured on DhanasviTrack & Query Expenses via Telegram with GPT-4.1 Mini & Google Sheets 0