๐ฌ Build a text & image responding Telegram bot with Google Gemini 2.5 Flash
โก 1,812 views ยท ๐ฌ Support Chatbots
Description
Telegram AI Bot Workflow
An intelligent Telegram bot powered by Google Gemini AI that provides smart responses to both text messages and images.
Features
- Multi-Modal Input: Handles both text messages and image uploads
- AI-Powered Responses: Uses Google Gemini 2.5 Flash for intelligent reply generation
- Image Analysis: Automatically analyzes uploaded images and responds with descriptions
- Conversation Memory: Maintains context across 20 messages per conversation
- Formatted Output: Delivers well-structured, Telegram-friendly responses
How It Works
- User sends a message (text or image) to the Telegram bot
- Workflow routes the input based on message type
- Images are downloaded and analyzed using Gemini Vision AI
- AI agent processes the input with conversation context
- Formatted response is sent back to the user instantly
Requirements
- Telegram Bot Token (from @BotFather)
- Google Gemini API Key
- n8n instance with webhook capability
Perfect for building interactive AI assistants, customer support bots, or educational tools on Telegram.
๐ Nodes Used
Telegram, Telegram Trigger, AI Agent, Simple Memory, Google Gemini Chat Model, Google Gemini
๐ฅ Import
Download workflow.json and import into n8n:
Workflow menu โ Import from File