workflows.fit
Back to n8n workflows
n8n templateFreeBy Ahmed Sherif

Build a text & image responding Telegram bot with Google Gemini 2.5 Flash

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 uploa...

CommunicationHITLAILangchainCore NodesSticky NoteAgentMemory Buffer Window
Loading interactive preview...

Template notes

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

1. User sends a message (text or image) to the Telegram bot 2. Workflow routes the input based on message type 3. Images are downloaded and analyzed using Gemini Vision AI 4. AI agent processes the input with conversation context 5. Formatted response is sent back to the user instantly

Requirements

- Telegram Bot Token (from @BotFather) - Google Gemini API Key - n8n instance with webhook capability