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.