Automatic expense tracking with Telegram, AI, and Google Sheets
Ready for 3.0What this workflow does
This AI workflow has 10 nodes and runs on Telegram events (message). Along the way it connects Telegram, OpenAI Chat Model, Anthropic Chat Model and HTTP Request and 2 more. It also calls open.er-api.com over HTTP.
How it runs
Trigger: On Telegram events (message).
- AI Agent: runs an AI agent, with model: o, 2.5F; 1 tool (Get Rates); output parser: Parser
- Code: runs custom JavaScript code
- Append row in sheet (Google Sheets): append
- H3. (Anthropic Chat Model): uses Anthropic Chat Model
Services it uses
HTTP calls to: open.er-api.com
Before you upgrade to n8n 3.0
Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.
Nodes used (9)
- Telegram Trigger
n8n-nodes-base.telegramTrigger - AI Agent
@n8n/n8n-nodes-langchain.agent - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - Anthropic Chat Model
@n8n/n8n-nodes-langchain.lmChatAnthropic - Http Request Tool
n8n-nodes-base.httpRequestTool - Structured Output Parser
@n8n/n8n-nodes-langchain.outputParserStructured - Google Sheets
n8n-nodes-base.googleSheets - Google Gemini Chat Model
@n8n/n8n-nodes-langchain.lmChatGoogleGemini - Code
n8n-nodes-base.code
From the author
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…