Templates / Multi-modal expense tracking with GPT-4, Gemini OCR, and voice via Telegram

Multi-modal expense tracking with GPT-4, Gemini OCR, and voice via Telegram

Needs changes

by Oussama ✓ · 1,119 views · created 2025-08-29 · Multimodal AI

Needs changes. This template uses 1 thing(s) that n8n 3.0 removes: AI Agent v1 (old agent modes). 1 breaking item(s) found. Static check, last run 2026-10-19.

What this workflow does

This AI workflow has 24 nodes and runs when an MCP client calls one of its tools (plus 1 other trigger). Along the way it connects Telegram, MCP Client, Google Sheets and HTTP Request and 2 more. It also calls api.elevenlabs.io over HTTP.

How it runs

Trigger: When an MCP client calls one of its tools (plus 1 other trigger).

  1. Route Input by Message Type (Switch): routes items into 3 branches
  2. Rename Fields (Edit Fields (Set)): sets 1 field: Prompt
  3. Get Voice File from Telegram (Telegram): work with file
  4. Download Receipt Image (Telegram): work with file
  5. Classify Message Intent (Basic LLM Chain): sends a prompt to an LLM, with model: Intent Classification Model
  6. Convert Voice to Text (ElevenLabs) (HTTP Request): calls api.elevenlabs.io (POST)
  7. Extract Receipt Data (Google Gemini): analyze (image)
  8. Route to Expense or Query Processing (If): checks a condition and branches into true / false
  9. Agent (AI Agent): runs an AI agent, with model: Main Financial Assistant; 1 tool (MCP Client)
  10. Parse and Split Multiple Expenses (Basic LLM Chain): sends a prompt to an LLM, with model: Expense Parsing Model

…plus 1 more step. See the full node list below.

Services it uses

TelegramMCP ClientGoogle SheetsHTTP RequestGoogle GeminiAzure OpenAI Chat Model

HTTP calls to: api.elevenlabs.io

Before you upgrade to n8n 3.0

1 thing in this workflow is removed in n8n 3.0. Fix it before you upgrade:

  • AI Agent v1 (old agent modes) in Agent (v1.7): replace with Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent.

Rather not rewrite it? Many of these flows can be rebuilt in Make (free plan).

Removed in 3.0Replace with
AI Agent v1 (old agent modes)
Agent (v1.7)
Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent.

Nodes used (15)

From the author

This n8n template creates an intelligent expense tracking system 🤖 that processes text, voice, and receipt images through Telegram. The assistant automatically categorizes expenses, handles currency conversions 🌍, and maintains financial records in Google…

Excerpt from Oussama's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.