This n8n workflow creates an intelligent Telegram chatbot capable of responding to user messages, generating images from prompts, and managing command detection. It starts with a Telegram trigger to listen for messages, then processes commands like ‘/start’ and ‘/image’. When no command is detected, it engages GPT-4 to generate conversational responses in the user’s language, including a friendly greeting at the start. For image requests using ‘/image’, the workflow leverages OpenAI’s image generation API to produce images based on user prompts and sends them back via Telegram. Unsupported commands trigger a fallback error message. This setup is ideal for creating interactive chatbots that handle multi-language conversations and AI-generated images, perfect for customer engagement, creative projects, or community management.
Telegram AI Chatbot & Image Generator Workflow
Node Count | 11 – 20 Nodes |
---|---|
Nodes Used | merge, openAi, set, stickyNote, switch, telegram, telegramTrigger |
Reviews
There are no reviews yet.