Templates / Multimodal telegram bot with voice, image & video analysis using Claude & Gemini

Multimodal telegram bot with voice, image & video analysis using Claude & Gemini

Ready for 3.0

by Keith Uy ✓ · 1,852 views · created 2025-09-27 · 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.

Nodes used (12)

TelegramAI AgentOpenAISimple MemoryDate & TimeAnthropic Chat ModelGoogle Gemini

What it does

Quick overview This is a starting point for building a Telegram AI agent. The base handles four input types: voice, pictures, video, and text, through the AI models of your choice. From here you connect tools to expand what the agent can do inside your n8n workflows. How it works 1. Input: a message sent to the bot chat. 2. A Switch node sorts the message by type: 3. Voice message 4. Picture message 5. Video message 6. Text message 7. It currently uses OpenAI and Gemini to analyze voice, photos, and video, but you can swap in other models. The model reads the message, generates a response from the system prompt, and sends it back as a Telegram message. Setup 1. Create the Telegram bot. In Telegram, search for "BotFather", send /newbot, follow the prompts, and copy the access token. 2. Add the Telegram credential in n8n. Open the Telegram trigger node, create a credential, paste the access token, and save. 3. Add the LLM credentials. Add your OpenAI and Gemini keys (and any other model you prefer) to the LLM nodes, then pick your model, and make sure each account has credits. Guides: OpenAI (voice) → https://winflowai.com/blog/get-openai-api-key/ and Google Gemini (images and video) → https://winflowai.com/blog/get-gemini-api-key/ Requirements - Telegram bot access token - OpenAI API key (voice) - Google Gemini API key (pictures and video) - n8n instance (Cloud or self-hosted) Customization - Adjust the system prompt to shape the agent's output, and add tools to take it beyond conversation.

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.