Templates / Track expenses from receipts with Telegram, Gemini, and Google Sheets

Track expenses from receipts with Telegram, Gemini, and Google Sheets

Ready for 3.0

by Konstantin Rymar · 1 views · created 2026-10-15 · Invoice Processing, AI Summarization

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 28 nodes and runs on Telegram events (message, callback query). Along the way it connects Telegram, Google Gemini and Google Sheets.

How it runs

Trigger: On Telegram events (message, callback query).

  1. Route by Telegram Input (Switch): routes items into 4 branches
  2. Download Telegram Photo (Telegram): work with file
  3. Download Telegram Document (Telegram): work with file
  4. Handle Unsupported Text Input (Telegram): uses Telegram
  5. Parse Telegram Callback Data (Code): runs custom JavaScript code
  6. Analyze Receipt Photo with Gemini (Google Gemini): analyze (image)
  7. Analyze Receipt Document with Gemini (Google Gemini): work with document
  8. Route by Category Response (Switch): routes items into 3 branches
  9. Answer Telegram Callback Query (Telegram): work with callback
  10. Parse Photo Analysis JSON (Code): runs custom JavaScript code

…plus 17 more steps. See the full node list below.

Services it uses

TelegramGoogle GeminiGoogle Sheets

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

From the author

Quick overview This workflow uses a Telegram bot to receive receipt photos or documents, extracts expense details with Google Gemini, and appends the results to Google Sheets, asking the user to confirm or correct the category in Telegram when Gemini’s…

Excerpt from Konstantin Rymar'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.