Templates / Nano Banana/Gemini 2.5 Telegram bot with multi-modal functionality

Nano Banana/Gemini 2.5 Telegram bot with multi-modal functionality

Ready for 3.0

by Denis ✓ · 1,481 views · created 2025-09-18 · Content Creation, Multimodal AI

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 27 nodes and runs on Telegram events (message). Along the way it connects OpenAI, Telegram, OpenAI Chat Model and Google Gemini Chat Model. It also calls generativelanguage.googleapis.com over HTTP.

How it runs

Trigger: On Telegram events (message).

  1. Set Initial Data (Edit Fields (Set)): sets 2 fields: userTelegramId, messageBody
  2. Switch: routes items into 4 branches
  3. Text (Edit Fields (Set)): sets 2 fields: text, userId
  4. Get Image Url (HTTP Request): calls an HTTP API
  5. Get Audio Url (HTTP Request): calls an HTTP API
  6. Only PDF File (If): checks a condition and branches into true / false
  7. Generator Agent (AI Agent): runs an AI agent, with model: gpt-5-mini, gemini-2.5-flash; memory: Simple Memory
  8. Analyze Image (OpenAI): analyze (image)
  9. Download Audio (HTTP Request): calls an HTTP API
  10. Get File Url (HTTP Request): calls an HTTP API

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

Services it uses

OpenAITelegramOpenAI Chat ModelGoogle Gemini Chat Model

HTTP calls to: generativelanguage.googleapis.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 (13)

From the author

How it works Multi-modal AI Image Generator powered by Google's Nano Banana (Gemini 2.5 Flash Image) - the latest state-of-the-art image generation model Accepts text, images, voice messages, and PDFs via Telegram for maximum flexibility Uses OpenAI GPT…

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