Generate AI images with Telegram bot & auto-publish to social media using Nano Banana PRO
UnknownWhat this workflow does
This AI workflow has 41 nodes and runs on Telegram events (message). Along the way it connects Telegram, OpenAI Chat Model, Cloudinary (community) and Blotato (community). It also calls api.kie.ai and api.tinify.com over HTTP.
How it runs
Trigger: On Telegram events (message).
- Switch: routes items into 3 branches
- Ask for Text Prompt (Telegram): send and wait for a reply
- Ask for Image Upload (Telegram): send and wait for a reply
- Ask for Multi Images (Telegram): send and wait for a reply
- Show Menu (Telegram): uses Telegram
- If: checks a condition and branches into true / false
- Upload Image (Cloudinary): upload file
- MULTI-IMAGE SPLITTER (Code): runs custom JavaScript code
- AI Agent: runs an AI agent, with model: OpenAI Chat Model
- STANDARD TEXT PREP (Code): runs custom JavaScript code
…plus 27 more steps. See the full node list below.
Services it uses
HTTP calls to: api.kie.ai, api.tinify.com
Before you upgrade to n8n 3.0
We can't fully verify this one: it relies on 2 community packages, and n8n 3.0 turns unverified community packages off by default (N8N_UNVERIFIED_PACKAGES_ENABLED=false).
- Check that n8n-nodes-cloudinary is verified or supports 3.0 (used in Upload Image, Upload an asset from file data).
- Check that @blotato/n8n-nodes-blotato is verified or supports 3.0 (used in Instagram, X, Facebook).
Nodes used (13)
- HTTP Request
n8n-nodes-base.httpRequest - Telegram Trigger
n8n-nodes-base.telegramTrigger - Switch
n8n-nodes-base.switch - Telegram
n8n-nodes-base.telegram - AI Agent
@n8n/n8n-nodes-langchain.agent - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - If
n8n-nodes-base.if - Wait
n8n-nodes-base.wait - Cloudinary
n8n-nodes-cloudinary.cloudinary - Loop Over Items (Split in Batches)
n8n-nodes-base.splitInBatches - Structured Output Parser
@n8n/n8n-nodes-langchain.outputParserStructured - Blotato
@blotato/n8n-nodes-blotato.blotato - Code
n8n-nodes-base.code
From the author
This n8n workflow allows you to generate AI images using Nano Banana PRO through a Telegram bot interface, with optional automatic publishing to social media platforms. Users interact with the workflow entirely via Telegram commands and forms. The workflow…