Templates / Log receipts from Telegram to Google Sheets and query spending with Gemini

Log receipts from Telegram to Google Sheets and query spending with Gemini

Ready for 3.0

by Țugui Dragoș ✓ · 65 views · created 2026-06-07 · Invoice Processing, AI RAG

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-10-19.

What this workflow does

This AI workflow has 11 nodes and runs when an MCP client calls one of its tools (plus 2 other triggers). Along the way it connects Google Sheets, Telegram and Google Gemini.

How it runs

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

  1. Download Photo (Telegram): work with file
  2. Read Expenses (Google Sheets): uses Google Sheets
  3. Extract Receipt Data with Gemini (Google Gemini): analyze (image)
  4. Filter and Summarize (Code): runs custom JavaScript code
  5. Parse Extracted JSON (Code): runs custom JavaScript code
  6. Append to Expense Sheet (Google Sheets): append
  7. Confirm in Telegram (Telegram): uses Telegram

Services it uses

Google SheetsTelegramGoogle Gemini

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 (8)

From the author

Quick Overview This workflow logs receipt photos from Telegram into Google Sheets using Google Gemini for data extraction, and exposes an MCP server tool that lets clients like Claude or ChatGPT query your spending by month and category. How it works 1.…

Excerpt from Țugui Dragoș'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.