Turn your Telegram bot into a creative assistant that chats and makes images on request. Great for marketing teams and creators who want quick drafts and visual ideas without leaving Telegram.
Incoming Telegram messages start the flow. A chat agent powered by an OpenAI model reads the message, remembers the last 10 messages for each chat, and replies in plain text. When a user asks for an image, the agent calls a built in Dall E 3 tool. That tool triggers a sub path that sends the prompt to the OpenAI Images API and returns a photo link. The bot then sends the image back to the same chat. Special characters are escaped to avoid Telegram HTML errors, so replies do not fail.
You need a Telegram bot token and an OpenAI API key. Set both credentials in n8n Cloud and activate the workflow to register the Telegram webhook. Expect faster content turnaround, fewer back and forth messages, and less manual copy and paste. Use it for social posts, mockups, mood boards, and quick concept art, all requested with a simple chat message.