Templates / Record transactions & generate budget reports with Gemini AI, Telegram & Firefly III

Record transactions & generate budget reports with Gemini AI, Telegram & Firefly III

Ready for 3.0

by PTS · 521 views · created 2025-11-28 · Document Extraction, AI Chatbot

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 17 nodes and runs on Telegram events (message). Along the way it connects Telegram, Google Gemini and Google Gemini Chat Model.

How it runs

Trigger: On Telegram events (message).

  1. Switch: routes items into 4 branches
  2. Get image from server (Telegram): work with file
  3. Get file from server (Telegram): work with file
  4. Get Remaining Budget (HTTP Request): calls an HTTP API
  5. Analyze the image or pdf (Google Gemini): work with document
  6. Parse JSON (Code): runs custom JavaScript code
  7. Parse details & add category (AI Agent): runs an AI agent, with model: Analyzer Scraper; output parser: Parse Output
  8. Pull required fields (Edit Fields (Set)): sets 4 fields: Bucket, Budget, Spent…
  9. Make it pretty (Code): runs custom JavaScript code
  10. Make CSV (Convert to File): converts data to a file

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

Services it uses

TelegramGoogle GeminiGoogle Gemini Chat Model

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

From the author

Who this is for Anybody using Firefly III, especially home/self-hosted users, who want to add some level of automation to their transaction tracking, either in addition to or because they can't or don't want to use the dataimporter How it works - posting…

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