{"workflow":{"id":13367,"name":"Generate Images on Telegram 🤖🖼️ from Text and Voice using Grok Imagine & Kie AI","views":472,"recentViews":2,"totalViews":472,"createdAt":"2026-02-13T10:38:59.850Z","description":"This workflow creates an **AI-powered Telegram bot** that allows users to generate and modify images using **Grok Imagine models** via the [Kie AI API](https://kie.ai?ref=188b79f5cb949c9e875357ac098e1ff5).\n\n---\n\n### Key Advantages\n\n#### 1. ✅ Multi-Modal Input Support\n\nUsers can interact using:\n\n* Text\n* Voice\n* Images\n\nThis makes the bot highly flexible and user-friendly.\n\n#### 2. ✅ Intelligent AI Orchestration\n\nInstead of directly calling APIs, the workflow uses an AI agent that:\n\n* Understands intent\n* Enhances prompts\n* Chooses the correct tool automatically\n\nThis dramatically improves output quality.\n\n#### 3. ✅ Fully Automated Image Pipeline\n\nFrom user input to final image delivery:\n\n* Upload\n* Processing\n* Generation\n* Result retrieval\n* Delivery via Telegram\n\nEverything is automated end-to-end.\n\n#### 4. ✅ Asynchronous & Scalable Architecture\n\nThe use of:\n\n* Webhook callbacks\n* Wait nodes\n* Task polling\n\nPrevents timeouts and supports longer image generation tasks.\n\n#### 5. ✅ Secure Access Control\n\nThe Telegram ID validation ensures:\n\n* Only authorized users can access the workflow.\n\n#### 6. ✅ Modular & Extendable Design\n\nThe workflow is built with:\n\n* Tool-based architecture\n* Separate image generation workflows\n* Clear orchestration logic\n\nThis makes it easy to extend with:\n\n* Video generation\n* Style presets\n* Advanced editing tools\n* Multi-user support\n\n\n#### 7. ✅ Production-Ready Structure\n\nThe workflow includes:\n\n* Error handling guidelines\n* Structured system prompts\n* Memory handling\n* Clear separation of concerns\n\nThis makes it suitable for:\n\n* Creative agencies\n* AI SaaS products\n* Marketing automation\n* Telegram-based AI services\n\n---\n\n### How it works\n\nThis workflow creates a Telegram bot that uses AI to generate and transform images through Grok Imagine models, with support for text, voice, and image inputs.\n\n1. **Telegram Input Handling**: Users interact with the bot by sending messages, voice notes, or images. The workflow authenticates users based on their Telegram ID.\n\n2. **Input Processing**:\n   - **Text messages** → Directly sent to the AI agent\n   - **Voice messages** → Transcribed using OpenAI Whisper, then converted to text\n   - **Images** → Downloaded from Telegram, uploaded to an FTP server (BunnyCDN), and the public URL is generated\n\n3. **AI Agent Decision Making**: The \"Grok Imagine Agent\" (powered by Grok 4.1 Fast model) analyzes user input and determines whether to:\n   - Generate a new image from text description (text-to-image)\n   - Transform an existing image using a prompt (image-to-image)\n\n4. **Tool Execution**: The agent calls specialized workflow tools that trigger image generation via Kie.ai API:\n   - **Text-to-Image**: Creates images from text prompts using \"grok-imagine/text-to-image\" model\n   - **Image-to-Image**: Modifies existing images using \"grok-imagine/image-to-image\" model\n\n5. **Async Processing**: The workflow uses Wait nodes to handle asynchronous image generation, polling Kie.ai for results via task IDs.\n\n6. **Result Delivery**: Once images are generated, they're sent back to the user through Telegram messages.\n\n---\n\n### Setup Steps\n\n1. **Telegram Configuration**:\n   - Create a Telegram Bot via BotFather to get a bot token\n   - Add your Telegram user ID in the \"Code\" node (replace XXX)\n   - Configure Telegram credentials in n8n with your bot token\n\n2. **API Credentials**:\n   - **OpenRouter**: Sign up at OpenRouter.ai, get API key for Grok 4.1 Fast access\n   - **Kie.ai**: Register at [Kie.ai for free](https://kie.ai?ref=188b79f5cb949c9e875357ac098e1ff5) API key to access image generation models\n   - **OpenAI**: Set up OpenAI API key for voice transcription (Whisper model)\n\n3. **FTP Server Setup**:\n   - Configure FTP server ([BunnyCDN](https://bunny.net?ref=0pfu5rh4tp) recommended) for image hosting\n   - Update FTP credentials in n8n\n   - Set the public URL path in the \"Set Image Url\" node (replace XXX)\n\n4. **Workflow Configuration**:\n   - Import the JSON workflow into n8n\n   - Update all credential references to match your accounts\n   - Verify webhook URLs are properly configured for callback handling\n   - Test the workflow and activate when ready\n\n5. **Optional Customizations**:\n   - Adjust the system prompt in the \"Grok Imagine Agent\" node for different behavior\n   - Modify image aspect ratios or other parameters in the HTTP Request nodes\n   - Add additional tools for more functionality\n\n---\n\n👉 [Subscribe to my new **YouTube channel**](https://youtube.com/@n3witalia). Here I’ll share videos and Shorts with practical tutorials and **FREE templates for n8n**.\n\n[![image](https://n3wstorage.b-cdn.net/n3witalia/youtube-n8n-cover.jpg)](https://youtube.com/@n3witalia)\n\n\n---\n\n### **Need help customizing?**  \n[Contact me](mailto:info@n3w.it) for consulting and support or add me on [Linkedin](https://www.linkedin.com/in/davideboizza/).","workflow":{"id":"klLje7jNDPINkW4Y","meta":{"instanceId":"a4bfc93e975ca233ac45ed7c9227d84cf5a2329310525917adaf3312e10d5462","templateCredsSetupCompleted":true},"name":"Image Grok Agent with Telegram","tags":[],"nodes":[{"id":"20bc0b82-0680-4e01-a6d7-964726bbbb14","name":"Grok 4.1 Fast","type":"@n8n/n8n-nodes-langchain.lmChatOpenRouter","position":[-1920,-432],"parameters":{"model":"x-ai/grok-4.1-fast","options":{}},"credentials":{"openRouterApi":{"id":"pb06rfB4xmxzVe3Q","name":"OpenRouter"}},"typeVersion":1},{"id":"8bde055b-3cfd-44f0-9d26-55ae340cc9f2","name":"Sticky Note","type":"n8n-nodes-base.stickyNote","position":[-2944,-512],"parameters":{"color":7,"width":672,"height":288,"content":"## STEP2 - Upload image to server\nSet up your FTP space (eg. with [BunnyCDN](https://bunny.net?ref=0pfu5rh4tp))\n"},"typeVersion":1},{"id":"81623604-9e24-4113-afcb-d13bd1e93950","name":"Sticky Note1","type":"n8n-nodes-base.stickyNote","position":[-2032,-816],"parameters":{"color":7,"width":544,"height":384,"content":"## STEP 3 Orchestrator Agents\nAnalyzes user input and determines whether to:\n- Generate a new image from text description (text-to-image)\n- Transform an existing image using a prompt (image-to-image)\n"},"typeVersion":1},{"id":"55cca75a-ae19-4a67-ae44-744ab7a52f49","name":"Code","type":"n8n-nodes-base.code","position":[-3408,-656],"parameters":{"jsCode":"if ($input.first().json.message.from.id !== XXX) { // Replace with your Telegram user ID\n    return { unauthorized: true };\n} else {\n    // Return the original data when authorized\n    return $input.all();\n}\n"},"typeVersion":2},{"id":"e34a35e5-c5a6-4d5f-93e2-d34e0b054291","name":"Get Message","type":"n8n-nodes-base.telegramTrigger","position":[-3728,-656],"webhookId":"faf89cc7-936f-4256-a979-a552e230b301","parameters":{"updates":["message"],"additionalFields":{}},"credentials":{"telegramApi":{"id":"rQ5q95W7uKesMDx4","name":"Telegram account Fastewb"}},"typeVersion":1.1},{"id":"af686a4b-6de0-4cb8-bbea-04f12815a803","name":"Send a text message","type":"n8n-nodes-base.telegram","position":[-1344,-672],"webhookId":"8a814350-c6c8-4b81-9779-9a5a89766e16","parameters":{"text":"={{ $json.output }}","chatId":"={{ $('Get Message').item.json.message.from.id }}","additionalFields":{}},"credentials":{"telegramApi":{"id":"rQ5q95W7uKesMDx4","name":"Telegram account Fastewb"}},"typeVersion":1.2},{"id":"6129572e-5e0b-450e-9223-e379be3c64ad","name":"Sticky Note8","type":"n8n-nodes-base.stickyNote","position":[-3504,-752],"parameters":{"color":7,"width":528,"height":260,"content":"## STEP 1 - Telegram and switch\nSet your Telegram ID here"},"typeVersion":1},{"id":"c1feb40e-89e5-4a58-b60a-a9beff7175b2","name":"Get Text","type":"n8n-nodes-base.set","position":[-2464,-896],"parameters":{"options":{},"assignments":{"assignments":[{"id":"029f4e7e-b367-4aa9-863e-e372694940fb","name":"chatInput","type":"string","value":"={{ $json.message.text }}"},{"id":"398c1d7f-0c90-4af6-a414-d4d1968855b9","name":"sessionId","type":"number","value":"={{ $json.message.from.id }}"}]}},"typeVersion":3.4},{"id":"f552f3e2-5be1-4806-ac44-128b75abd2ad","name":"Switch2","type":"n8n-nodes-base.switch","position":[-3184,-672],"parameters":{"rules":{"values":[{"outputKey":"Text","conditions":{"options":{"version":2,"leftValue":"","caseSensitive":true,"typeValidation":"strict"},"combinator":"and","conditions":[{"operator":{"type":"string","operation":"exists","singleValue":true},"leftValue":"={{ $json.message.text}}","rightValue":""}]},"renameOutput":true},{"outputKey":"Audio","conditions":{"options":{"version":2,"leftValue":"","caseSensitive":true,"typeValidation":"strict"},"combinator":"and","conditions":[{"id":"7b2cb4dc-dd9d-43b2-b4db-f0de858f46cc","operator":{"type":"string","operation":"exists","singleValue":true},"leftValue":"={{ $json.message.voice.file_id }}","rightValue":""}]},"renameOutput":true},{"outputKey":"Immagine","conditions":{"options":{"version":2,"leftValue":"","caseSensitive":true,"typeValidation":"strict"},"combinator":"and","conditions":[{"id":"98d80a35-3004-4bad-95b8-e87fc9270083","operator":{"type":"object","operation":"exists","singleValue":true},"leftValue":"={{ $json.message.photo[0] }}","rightValue":""}]},"renameOutput":true}]},"options":{}},"executeOnce":false,"typeVersion":3.2,"alwaysOutputData":false},{"id":"b8fc1ccf-2a00-4e71-a0ea-0c4b9a6b43d3","name":"Run text to image","type":"@n8n/n8n-nodes-langchain.toolWorkflow","position":[-1536,-416],"parameters":{"workflowId":{"__rl":true,"mode":"list","value":"klLje7jNDPINkW4Y","cachedResultUrl":"/workflow/klLje7jNDPINkW4Y","cachedResultName":"Video Grok Agent with Telegram"},"description":"Chiama questo tool  solo quando devi modificare un video già esistente. NON per crearlo","workflowInputs":{"value":{"query":"={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('query', ``, 'string') }}","duration":0,"tool_name":"Run text to image"},"schema":[{"id":"tool_name","type":"string","display":true,"removed":false,"required":false,"displayName":"tool_name","defaultMatch":false,"canBeUsedToMatch":true},{"id":"query","type":"string","display":true,"removed":false,"required":false,"displayName":"query","defaultMatch":false,"canBeUsedToMatch":true},{"id":"duration","type":"number","display":true,"removed":false,"required":false,"displayName":"duration","defaultMatch":false,"canBeUsedToMatch":true},{"id":"video_url","type":"string","display":true,"removed":false,"required":false,"displayName":"video_url","defaultMatch":false,"canBeUsedToMatch":true},{"id":"image_url","type":"string","display":true,"removed":false,"required":false,"displayName":"image_url","defaultMatch":false,"canBeUsedToMatch":true}],"mappingMode":"defineBelow","matchingColumns":[],"attemptToConvertTypes":false,"convertFieldsToString":false}},"typeVersion":2.2},{"id":"b7da96ac-d65b-4694-bd26-60772c123fdd","name":"Wait1","type":"n8n-nodes-base.wait","position":[-2960,0],"webhookId":"841510f8-61da-4313-9e57-9098ab9480ab","parameters":{"resume":"webhook","options":{},"httpMethod":"POST"},"typeVersion":1.1},{"id":"2f7c2d49-5c35-4573-947d-e25452e8a50d","name":"Run image to image","type":"@n8n/n8n-nodes-langchain.toolWorkflow","position":[-1392,-416],"parameters":{"workflowId":{"__rl":true,"mode":"list","value":"klLje7jNDPINkW4Y","cachedResultUrl":"/workflow/klLje7jNDPINkW4Y","cachedResultName":"Video Grok Agent with Telegram"},"description":"Chiama questo agente quando devi creare un'immagine partende daun'immagine esistente... dev inviare l'url e il prompt","workflowInputs":{"value":{"query":"={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('query', ``, 'string') }}","duration":0,"image_url":"={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('image_url', `L'url dell'immagine`, 'string') }}","tool_name":"=Run image to image"},"schema":[{"id":"tool_name","type":"string","display":true,"removed":false,"required":false,"displayName":"tool_name","defaultMatch":false,"canBeUsedToMatch":true},{"id":"query","type":"string","display":true,"removed":false,"required":false,"displayName":"query","defaultMatch":false,"canBeUsedToMatch":true},{"id":"duration","type":"number","display":true,"removed":false,"required":false,"displayName":"duration","defaultMatch":false,"canBeUsedToMatch":true},{"id":"video_url","type":"string","display":true,"removed":false,"required":false,"displayName":"video_url","defaultMatch":false,"canBeUsedToMatch":true},{"id":"image_url","type":"string","display":true,"removed":false,"required":false,"displayName":"image_url","defaultMatch":false,"canBeUsedToMatch":true}],"mappingMode":"defineBelow","matchingColumns":[],"attemptToConvertTypes":false,"convertFieldsToString":false}},"typeVersion":2.2},{"id":"f25c779d-9a31-489f-8b10-6f77804f3e81","name":"Wait2","type":"n8n-nodes-base.wait","position":[-2944,400],"webhookId":"841510f8-61da-4313-9e57-9098ab9480ab","parameters":{"resume":"webhook","options":{},"httpMethod":"POST"},"typeVersion":1.1},{"id":"c00a8413-14d1-429c-8e72-6e92dc15a464","name":"Switch","type":"n8n-nodes-base.switch","position":[-3504,208],"parameters":{"rules":{"values":[{"outputKey":"Run text to image","conditions":{"options":{"version":3,"leftValue":"","caseSensitive":true,"typeValidation":"strict"},"combinator":"and","conditions":[{"id":"a8affc04-d75e-425b-a78b-0145b64b0624","operator":{"type":"string","operation":"equals"},"leftValue":"={{ $json.tool_name }}","rightValue":"Run text to image"}]},"renameOutput":true},{"outputKey":"Run image to image","conditions":{"options":{"version":3,"leftValue":"","caseSensitive":true,"typeValidation":"strict"},"combinator":"and","conditions":[{"id":"06f10d90-103a-41d3-9265-2d20f13fa146","operator":{"name":"filter.operator.equals","type":"string","operation":"equals"},"leftValue":"={{ $json.tool_name }}","rightValue":"Run image to image"}]},"renameOutput":true}]},"options":{}},"typeVersion":3.4},{"id":"72382146-199e-48e3-a6b0-b5ea7973ae62","name":"Run Kei AI","type":"n8n-nodes-base.executeWorkflowTrigger","position":[-3696,208],"parameters":{"workflowInputs":{"values":[{"name":"tool_name"},{"name":"query"},{"name":"duration","type":"number"},{"name":"video_url"},{"name":"image_url"}]}},"typeVersion":1.1},{"id":"ccef57d4-8469-47b5-8e40-78323b491d89","name":"Run text to image1","type":"n8n-nodes-base.httpRequest","position":[-3184,0],"parameters":{"url":"https://api.kie.ai/api/v1/jobs/createTask","method":"POST","options":{},"jsonBody":"={\n  \"model\": \"grok-imagine/text-to-image\",\n  \"callBackUrl\": \"{{ $execution.resumeUrl }}\",\n  \"input\": {\n      \"prompt\": \"{{ $json.query }}\",\n      \"aspect_ratio\": \"3:2\"\n    }\n}","sendBody":true,"specifyBody":"json","authentication":"genericCredentialType","genericAuthType":"httpBearerAuth"},"credentials":{"httpBearerAuth":{"id":"RSSsoR9uk7WIW9xi","name":"Kie AI"}},"typeVersion":4.4},{"id":"4e978597-e964-4f12-9079-5742362224e9","name":"Run image to image1","type":"n8n-nodes-base.httpRequest","position":[-3168,400],"parameters":{"url":"https://api.kie.ai/api/v1/jobs/createTask","method":"POST","options":{},"jsonBody":"={\n  \"model\": \"grok-imagine/image-to-image\",\n  \"callBackUrl\": \"{{ $execution.resumeUrl }}\",\n  \"input\": {\n      \"prompt\": \"{{ $json.query }}\",\n      \"image_urls\": [\n          \"{{ $json.image_url }}\"\n        ]\n    }\n}","sendBody":true,"specifyBody":"json","authentication":"genericCredentialType","genericAuthType":"httpBearerAuth"},"credentials":{"httpBearerAuth":{"id":"RSSsoR9uk7WIW9xi","name":"Kie AI"}},"typeVersion":4.4},{"id":"c81563ee-8f79-4ae4-80f2-779b854ec6eb","name":"Result text to image","type":"n8n-nodes-base.httpRequest","position":[-2736,0],"parameters":{"url":"=https://api.kie.ai/api/v1/jobs/recordInfo","options":{},"sendQuery":true,"authentication":"genericCredentialType","genericAuthType":"httpBearerAuth","queryParameters":{"parameters":[{"name":"taskId","value":"={{ $('Run text to image1').item.json.data.taskId }}"}]}},"credentials":{"httpBearerAuth":{"id":"RSSsoR9uk7WIW9xi","name":"Kie AI"}},"typeVersion":4.4},{"id":"30361085-5bda-4088-8f8c-f20c77e24729","name":"Result image to image","type":"n8n-nodes-base.httpRequest","position":[-2720,400],"parameters":{"url":"=https://api.kie.ai/api/v1/jobs/recordInfo","options":{},"sendQuery":true,"authentication":"genericCredentialType","genericAuthType":"httpBearerAuth","queryParameters":{"parameters":[{"name":"taskId","value":"={{ $('Run image to image1').item.json.data.taskId }}"}]}},"credentials":{"httpBearerAuth":{"id":"RSSsoR9uk7WIW9xi","name":"Kie AI"}},"typeVersion":4.4},{"id":"c201993a-79b1-4f4e-9421-c75406b6d811","name":"Get voice message","type":"n8n-nodes-base.telegram","position":[-2912,-688],"webhookId":"4f03865f-2074-4134-af92-8db4d27210aa","parameters":{"fileId":"={{ $('Get Message').item.json.message.voice.file_id }}","resource":"file","additionalFields":{}},"credentials":{"telegramApi":{"id":"rQ5q95W7uKesMDx4","name":"Telegram account Fastewb"}},"typeVersion":1.2},{"id":"4eb9358d-4ca7-4f09-a7ed-92fd4166f974","name":"Transcribe recording","type":"@n8n/n8n-nodes-langchain.openAi","position":[-2688,-688],"parameters":{"options":{"language":"it"},"resource":"audio","operation":"transcribe"},"credentials":{"openAiApi":{"id":"TefveNaDaMERl1hY","name":"OpenAi account (Eure)"}},"typeVersion":1.7},{"id":"303f065b-94e5-4752-9ce8-f964429cd949","name":"Get image file","type":"n8n-nodes-base.telegram","position":[-2896,-416],"webhookId":"4d29fb08-6277-42a0-a2e3-492d64ef8d02","parameters":{"fileId":"={{ $json.message.photo[2].file_id }}","resource":"file","additionalFields":{}},"credentials":{"telegramApi":{"id":"rQ5q95W7uKesMDx4","name":"Telegram account Fastewb"}},"typeVersion":1.2},{"id":"bae9564b-11a8-471a-b453-1d51c6ab8d25","name":"Upload image","type":"n8n-nodes-base.ftp","position":[-2672,-416],"parameters":{"path":"=/XXX/{{ $binary.data.fileName }}","options":{},"operation":"upload"},"credentials":{"ftp":{"id":"LHpoBQkf0LTumonL","name":"FTP BunnyCDN"}},"typeVersion":1},{"id":"95571314-da99-4483-85b8-873cf26789fa","name":"Set Image Url","type":"n8n-nodes-base.set","position":[-2448,-416],"parameters":{"options":{},"assignments":{"assignments":[{"id":"29fbf21e-301d-4a1c-b6c9-723c9c03fb61","name":"image_url","type":"string","value":"=https://XXX/{{ $binary.data.fileName }}"},{"id":"272f6379-55fa-4d36-8da7-0ec1232606fd","name":"chatInput","type":"string","value":"={{ $('Get Message').item.json.message.caption || \"\"}}"},{"id":"aff4f5c4-fe02-4bb8-b923-9c91334124ba","name":"sessionId","type":"string","value":"={{ $('Get Message').item.json.message.from.id }}"}]}},"typeVersion":3.4},{"id":"4923e186-f31c-4bbb-b811-ff567fc7870a","name":"Get input text from voice","type":"n8n-nodes-base.set","position":[-2464,-688],"parameters":{"options":{},"assignments":{"assignments":[{"id":"029f4e7e-b367-4aa9-863e-e372694940fb","name":"chatInput","type":"string","value":"={{ $json.text }}"},{"id":"398c1d7f-0c90-4af6-a414-d4d1968855b9","name":"sessionId","type":"number","value":"={{ $('Get Message').item.json.message.from.id }}"}]}},"typeVersion":3.4},{"id":"b31fea73-8055-4cdf-aa89-1365fbd5beab","name":"Grok Imagine Agent","type":"@n8n/n8n-nodes-langchain.agent","position":[-1840,-672],"parameters":{"text":"={{ $json.chatInput ?? '' }}\n\nImage Url (if exist): {{ $json.image_url ?? '' }}","options":{"systemMessage":"=You are an intelligent AI assistant integrated into a Telegram bot powered by n8n workflows. Your primary function is to help users create and manipulate images using AI generation tools.\n\n## Core Capabilities\n\nYou have access to two primary image generation tools:\n\n### 1. Text-to-Image Generation\n- **Tool name**: `run_text_to_image`\n- **Purpose**: Create images from text descriptions\n- **Required input**: A detailed prompt describing the desired image\n- **When to use**: When users request image creation without providing a source image\n\n### 2. Image-to-Image Generation\n- **Tool name**: `run_image_to_image`\n- **Purpose**: Transform or modify existing images based on text instructions\n- **Required inputs**: \n  - A detailed prompt describing the desired modifications or style\n  - The URL of the source image\n- **When to use**: When users want to modify, transform, or create variations of an existing image\n\n## Workflow Instructions\n\n### Step 1: Understand User Intent\n- Listen carefully to determine if the user wants to:\n  - Generate a new image from scratch (text-to-image)\n  - Modify or transform an existing image (image-to-image)\n- If the request is unclear, ask clarifying questions\n\n### Step 2: Gather Required Information\n\n**For text-to-image:**\n- If the user provides a basic description, enhance it into a detailed, high-quality prompt\n- Include style, composition, lighting, mood, and technical details when appropriate\n- Confirm the prompt with the user if significant enhancements were made\n\n**For image-to-image:**\n- Ensure you have the source image URL (from user upload or previous generation)\n- Create or refine the transformation prompt\n- Confirm both the source image and transformation intent\n\n### Step 3: Execute the Tool\n- Call the appropriate tool with properly formatted parameters\n- For `run_text_to_image`: Pass the refined prompt\n- For `run_image_to_image`: Pass both the prompt and image URL\n\n### Step 4: Process the Response\n- Carefully parse the JSON response from the tool\n- Extract all generated image URLs from the response structure\n- Handle potential response formats:\n  - Single image objects\n  - Arrays of images\n  - Nested data structures\n- Check for errors or failed generations in the response\n\n### Step 5: Send Results to Telegram\n- Send each generated image to the user via Telegram\n- Include a brief description or confirmation message\n- If multiple images were generated, send them sequentially or as a group\n- Handle errors gracefully with clear user-friendly messages\n\n## Response Guidelines\n\n### Communication Style\n- Be friendly, concise, and helpful\n- Use clear language appropriate for creative workflows\n- Show enthusiasm for the creative process\n- Provide constructive guidance on improving prompts\n\n### Prompt Enhancement\nWhen enhancing user prompts, consider adding:\n- **Style references**: (e.g., \"photorealistic\", \"oil painting\", \"anime style\")\n- **Technical details**: (e.g., \"8K resolution\", \"dramatic lighting\", \"shallow depth of field\")\n- **Composition**: (e.g., \"centered composition\", \"rule of thirds\", \"close-up portrait\")\n- **Mood and atmosphere**: (e.g., \"moody\", \"vibrant\", \"ethereal\", \"cinematic\")\n- **Quality markers**: (e.g., \"highly detailed\", \"professional photography\", \"award-winning\")\n\n### Error Handling\n- If a tool call fails, explain the issue clearly\n- Offer to retry with adjusted parameters\n- Suggest alternatives if the original approach isn't working\n- Never expose raw error messages; translate them into user-friendly explanations\n\n### Best Practices\n- Always confirm you're processing the request before calling tools\n- Provide status updates for operations that might take time\n- Ask for feedback on generated images\n- Offer to make adjustments or create variations\n- Keep track of conversation context to reference previous generations\n\n## Example Interactions\n\n**User**: \"Create an image of a sunset\"\n**You**: \"I'll create a beautiful sunset image for you. Let me enhance that prompt for better results...\"\n*[Call run_text_to_image with enhanced prompt: \"A breathtaking sunset over the ocean, vibrant orange and pink clouds, golden hour lighting, peaceful atmosphere, high quality photograph, 4K resolution\"]*\n*[Parse response, extract image URL, send to Telegram]*\n**You**: \"Here's your stunning sunset image! Would you like me to create any variations or adjust anything?\"\n\n**User**: *[Uploads image]* \"Make this look like a Van Gogh painting\"\n**You**: \"Great! I'll transform your image using Van Gogh's distinctive style...\"\n*[Call run_image_to_image with prompt: \"Transform into Van Gogh style painting, post-impressionist, bold brushstrokes, swirling patterns, vibrant colors, oil painting texture\" and the uploaded image URL]*\n*[Parse response, send result]*\n**You**: \"Here's your image in Van Gogh's style! The characteristic swirling brushstrokes really bring it to life.\"\n\n## Technical Notes\n\n- Always validate that required parameters are present before calling tools\n- Handle JSON parsing errors gracefully\n- Support multiple image formats in responses\n- Maintain conversation context for follow-up requests\n- Log errors internally while showing friendly messages to users\n\nRemember: Your goal is to make AI image generation accessible, fun, and powerful for Telegram users while handling all technical complexity behind the scenes."},"promptType":"define"},"typeVersion":3.1},{"id":"3572cc8a-3d80-4dac-9b3e-dfed740c6d81","name":"Simple Memory1","type":"@n8n/n8n-nodes-langchain.memoryBufferWindow","position":[-1760,-432],"parameters":{"sessionKey":"={{$json.sessionId}}","sessionIdType":"customKey"},"typeVersion":1.3},{"id":"7f9b85ee-00ce-45e4-99ed-faf3d3cf2158","name":"Sticky Note2","type":"n8n-nodes-base.stickyNote","position":[-3328,-144],"parameters":{"color":7,"width":880,"height":784,"content":"## STEP  4 -  Kie AI API\nGet your [Kie API Key](https://kie.ai?ref=188b79f5cb949c9e875357ac098e1ff5) for FREE and set Bearer Token"},"typeVersion":1},{"id":"35655d03-5cd9-4140-868e-e3f84b600307","name":"Sticky Note3","type":"n8n-nodes-base.stickyNote","position":[-3760,-1424],"parameters":{"width":784,"height":640,"content":"## Image Generator Bot for Telegram (Text and Voice) using Grok Imagine via Kie AI\nThis workflow creates an **AI-powered Telegram bot** that allows users to generate and modify images using **Grok Imagine models** via the [Kie AI API](https://kie.ai?ref=188b79f5cb949c9e875357ac098e1ff5)\n\n### How it works:\n\nThis workflow builds an AI-powered Telegram bot that generates or transforms images using Grok Imagine models via the Kie ai API. It processes multi-modal inputs (text, voice, images), authenticates users by Telegram ID, transcribes voice with Whisper, and uploads images to FTP (e.g., BunnyCDN) to obtain public URLs. A Grok-powered AI agent analyzes intent, enhances prompts, and automatically selects the correct tool (text-to-image or image-to-image), triggering specialized workflows that call the appropriate Kie ai endpoints.\n\nImage generation runs asynchronously using task IDs, Wait nodes, and polling to prevent timeouts. Once processing is complete, the generated image is returned to the user via Telegram. The architecture separates orchestration, tool execution, and delivery, enabling scalable, modular, and production-ready automation.\n\n### Setup steps:\n\nConfigure Telegram by creating a bot via BotFather, adding your Telegram user ID in the Code node, and setting Telegram credentials in n8n. Set up required API keys: OpenRouter (for Grok 4.1 Fast), Kie ai (for image generation models), and OpenAI (for Whisper transcription). Configure an FTP server (e.g., BunnyCDN) for hosting user-uploaded images and update credentials and public URL paths in the relevant nodes.\n\nImport the workflow JSON into n8n, update all credential references, and verify webhook URLs for asynchronous callbacks. Test end-to-end execution before activating. Optionally customize the AI agent’s system prompt, adjust image parameters in HTTP Request nodes, or extend the tool-based architecture with additional capabilities like video generation or advanced editing.\n"},"typeVersion":1},{"id":"96bed25d-19d0-4944-843b-6084b27bb0d7","name":"Sticky Note9","type":"n8n-nodes-base.stickyNote","position":[-4528,-1520],"parameters":{"color":7,"width":736,"height":736,"content":"## MY NEW YOUTUBE CHANNEL\n👉 [Subscribe to my new **YouTube channel**](https://youtube.com/@n3witalia). Here I’ll share videos and Shorts with practical tutorials and **FREE templates for n8n**.\n\n[![image](https://n3wstorage.b-cdn.net/n3witalia/youtube-n8n-cover.jpg)](https://youtube.com/@n3witalia)"},"typeVersion":1}],"active":false,"pinData":{},"settings":{"availableInMCP":false,"executionOrder":"v1"},"versionId":"302c6f21-3fa3-425d-b589-cf629267e683","connections":{"Code":{"main":[[{"node":"Switch2","type":"main","index":0}]]},"Wait1":{"main":[[{"node":"Result text to image","type":"main","index":0}]]},"Wait2":{"main":[[{"node":"Result image to image","type":"main","index":0}]]},"Switch":{"main":[[{"node":"Run text to image1","type":"main","index":0}],[{"node":"Run image to image1","type":"main","index":0}]]},"Switch2":{"main":[[{"node":"Get Text","type":"main","index":0}],[{"node":"Get voice message","type":"main","index":0}],[{"node":"Get image file","type":"main","index":0}]]},"Get Text":{"main":[[{"node":"Grok Imagine Agent","type":"main","index":0}]]},"Run Kei AI":{"main":[[{"node":"Switch","type":"main","index":0}]]},"Get Message":{"main":[[{"node":"Code","type":"main","index":0}]]},"Upload image":{"main":[[{"node":"Set Image Url","type":"main","index":0}]]},"Grok 4.1 Fast":{"ai_languageModel":[[{"node":"Grok Imagine Agent","type":"ai_languageModel","index":0}]]},"Set Image Url":{"main":[[{"node":"Grok Imagine Agent","type":"main","index":0}]]},"Get image file":{"main":[[{"node":"Upload image","type":"main","index":0}]]},"Simple Memory1":{"ai_memory":[[{"node":"Grok Imagine Agent","type":"ai_memory","index":0}]]},"Get voice message":{"main":[[{"node":"Transcribe recording","type":"main","index":0}]]},"Run text to image":{"ai_tool":[[{"node":"Grok Imagine Agent","type":"ai_tool","index":0}]]},"Grok Imagine Agent":{"main":[[{"node":"Send a text message","type":"main","index":0}]]},"Run image to image":{"ai_tool":[[{"node":"Grok Imagine Agent","type":"ai_tool","index":0}]]},"Run text to image1":{"main":[[{"node":"Wait1","type":"main","index":0}]]},"Run image to image1":{"main":[[{"node":"Wait2","type":"main","index":0}]]},"Transcribe recording":{"main":[[{"node":"Get input text from voice","type":"main","index":0}]]},"Get input text from voice":{"main":[[{"node":"Grok Imagine Agent","type":"main","index":0}]]}}},"lastUpdatedBy":29,"workflowInfo":{"nodeCount":30,"nodeTypes":{"n8n-nodes-base.ftp":{"count":1},"n8n-nodes-base.set":{"count":3},"n8n-nodes-base.code":{"count":1},"n8n-nodes-base.wait":{"count":2},"n8n-nodes-base.switch":{"count":2},"n8n-nodes-base.telegram":{"count":3},"n8n-nodes-base.stickyNote":{"count":6},"n8n-nodes-base.httpRequest":{"count":4},"@n8n/n8n-nodes-langchain.agent":{"count":1},"n8n-nodes-base.telegramTrigger":{"count":1},"@n8n/n8n-nodes-langchain.openAi":{"count":1},"@n8n/n8n-nodes-langchain.toolWorkflow":{"count":2},"n8n-nodes-base.executeWorkflowTrigger":{"count":1},"@n8n/n8n-nodes-langchain.lmChatOpenRouter":{"count":1},"@n8n/n8n-nodes-langchain.memoryBufferWindow":{"count":1}}},"status":"published","readyToDemo":null,"user":{"name":"Davide Boizza","username":"n3witalia","bio":"Full-stack Web Developer based in Italy specialising in Marketing & AI-powered automations. For business enquiries, send me an email at info@n3w.it or add me on Linkedin.com/in/davideboizza and Youtube.com/@n3witalia","verified":true,"links":["https://n3w.it"],"avatar":"https://gravatar.com/avatar/d41b8a0aa81139243509c58870f5b4be292824a507ab57d10ed066d8628ed8da?r=pg&d=retro&size=200"},"nodes":[{"id":19,"icon":"file:httprequest.svg","name":"n8n-nodes-base.httpRequest","codex":{"data":{"alias":["API","Request","URL","Build","cURL"],"resources":{"generic":[{"url":"https://n8n.io/blog/2021-the-year-to-automate-the-new-you-with-n8n/","icon":"☀️","label":"2021: The Year to Automate the New You with n8n"},{"url":"https://n8n.io/blog/why-business-process-automation-with-n8n-can-change-your-daily-life/","icon":"🧬","label":"Why business process automation with n8n can change your daily life"},{"url":"https://n8n.io/blog/automatically-pulling-and-visualizing-data-with-n8n/","icon":"📈","label":"Automatically pulling and visualizing data with n8n"},{"url":"https://n8n.io/blog/learn-how-to-automatically-cross-post-your-content-with-n8n/","icon":"✍️","label":"Learn how to automatically cross-post your content with n8n"},{"url":"https://n8n.io/blog/automatically-adding-expense-receipts-to-google-sheets-with-telegram-mindee-twilio-and-n8n/","icon":"🧾","label":"Automatically Adding Expense Receipts to Google Sheets with Telegram, Mindee, Twilio, and n8n"},{"url":"https://n8n.io/blog/running-n8n-on-ships-an-interview-with-maranics/","icon":"🛳","label":"Running n8n on ships: An interview with Maranics"},{"url":"https://n8n.io/blog/what-are-apis-how-to-use-them-with-no-code/","icon":" 🪢","label":"What are APIs and how to use them with no code"},{"url":"https://n8n.io/blog/5-tasks-you-can-automate-with-notion-api/","icon":"⚡️","label":"5 tasks you can automate with the new Notion API "},{"url":"https://n8n.io/blog/world-poetry-day-workflow/","icon":"📜","label":"Celebrating World Poetry Day with a daily poem in Telegram"},{"url":"https://n8n.io/blog/automate-google-apps-for-productivity/","icon":"💡","label":"15 Google apps you can combine and automate to increase productivity"},{"url":"https://n8n.io/blog/automate-designs-with-bannerbear-and-n8n/","icon":"🎨","label":"Automate Designs with Bannerbear and n8n"},{"url":"https://n8n.io/blog/how-uproc-scraped-a-multi-page-website-with-a-low-code-workflow/","icon":" 🕸️","label":"How uProc scraped a multi-page website with a low-code workflow"},{"url":"https://n8n.io/blog/building-an-expense-tracking-app-in-10-minutes/","icon":"📱","label":"Building an expense tracking app in 10 minutes"},{"url":"https://n8n.io/blog/5-workflow-automations-for-mattermost-that-we-love-at-n8n/","icon":"🤖","label":"5 workflow automations for Mattermost that we love at n8n"},{"url":"https://n8n.io/blog/how-to-use-the-http-request-node-the-swiss-army-knife-for-workflow-automation/","icon":"🧰","label":"How to use the HTTP Request Node - The Swiss Army Knife for Workflow Automation"},{"url":"https://n8n.io/blog/learn-how-to-use-webhooks-with-mattermost-slash-commands/","icon":"🦄","label":"Learn how to use webhooks with Mattermost slash commands"},{"url":"https://n8n.io/blog/how-a-membership-development-manager-automates-his-work-and-investments/","icon":"📈","label":"How a Membership Development Manager automates his work and investments"},{"url":"https://n8n.io/blog/a-low-code-bitcoin-ticker-built-with-questdb-and-n8n-io/","icon":"📈","label":"A low-code bitcoin ticker built with QuestDB and n8n.io"},{"url":"https://n8n.io/blog/how-to-set-up-a-ci-cd-pipeline-with-no-code/","icon":"🎡","label":"How to set up a no-code CI/CD pipeline with GitHub and TravisCI"},{"url":"https://n8n.io/blog/automations-for-activists/","icon":"✨","label":"How Common Knowledge use workflow automation for activism"},{"url":"https://n8n.io/blog/creating-scheduled-text-affirmations-with-n8n/","icon":"🤟","label":"Creating scheduled text affirmations with n8n"},{"url":"https://n8n.io/blog/how-goomer-automated-their-operations-with-over-200-n8n-workflows/","icon":"🛵","label":"How Goomer automated their operations with over 200 n8n workflows"},{"url":"https://n8n.io/blog/aws-workflow-automation/","label":"7 no-code workflow automations for Amazon Web Services"}],"primaryDocumentation":[{"url":"https://docs.n8n.io/integrations/builtin/core-nodes/n8n-nodes-base.httprequest/"}]},"categories":["Development","Core Nodes"],"nodeVersion":"1.0","codexVersion":"1.0","subcategories":{"Core Nodes":["Helpers"]}}},"group":"[\"output\"]","defaults":{"name":"HTTP Request","color":"#0004F5"},"iconData":{"type":"file","fileBuffer":"data:image/svg+xml;base64,PH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g2OCAyOS4zNzc0IDI3LjY4NDdIMzUuMTA0NkMzMy4yNTEgMzEuMzMyMiAzMC4xMDY4IDM0LjIxNzkgMjYuMjc2NiAzNS43NDI3Wk0xMy43MjM0IDM1Ljc0MjdDOS44OTM2OSAzNC4yMTc5IDYuNzUxNTUgMzEuMzMyNCA0Ljg5MjkzIDI3LjY4NDdIMTAuNjIyNkMxMS4yODkgMzAuODY4IDEyLjM2MzUgMzMuNjM5MyAxMy43MjM0IDM1Ljc0MjdaIiBmaWxsPSIjM0E0MkU5Ii8+Cjwvc3ZnPgo="},"displayName":"HTTP Request","typeVersion":4,"nodeCategories":[{"id":5,"name":"Development"},{"id":9,"name":"Core Nodes"}]},{"id":38,"icon":"fa:pen","name":"n8n-nodes-base.set","codex":{"data":{"alias":["Set","JS","JSON","Filter","Transform","Map"],"resources":{"generic":[{"url":"https://n8n.io/blog/learn-to-automate-your-factorys-incident-reporting-a-step-by-step-guide/","icon":"🏭","label":"Learn to Automate Your Factory's Incident Reporting: A Step by Step Guide"},{"url":"https://n8n.io/blog/2021-the-year-to-automate-the-new-you-with-n8n/","icon":"☀️","label":"2021: The Year to Automate the New You with n8n"},{"url":"https://n8n.io/blog/automatically-pulling-and-visualizing-data-with-n8n/","icon":"📈","label":"Automatically pulling and visualizing data with n8n"},{"url":"https://n8n.io/blog/database-monitoring-and-alerting-with-n8n/","icon":"📡","label":"Database Monitoring and Alerting with n8n"},{"url":"https://n8n.io/blog/automatically-adding-expense-receipts-to-google-sheets-with-telegram-mindee-twilio-and-n8n/","icon":"🧾","label":"Automatically Adding Expense Receipts to Google Sheets with Telegram, Mindee, Twilio, and n8n"},{"url":"https://n8n.io/blog/no-code-ecommerce-workflow-automations/","icon":"store","label":"6 e-commerce workflows to power up your Shopify s"},{"url":"https://n8n.io/blog/how-to-build-a-low-code-self-hosted-url-shortener/","icon":"🔗","label":"How to build a low-code, self-hosted URL shortener in 3 steps"},{"url":"https://n8n.io/blog/automate-your-data-processing-pipeline-in-9-steps-with-n8n/","icon":"⚙️","label":"Automate your data processing pipeline in 9 steps"},{"url":"https://n8n.io/blog/how-to-get-started-with-crm-automation-and-no-code-workflow-ideas/","icon":"👥","label":"How to get started with CRM automation (with 3 no-code workflow ideas"},{"url":"https://n8n.io/blog/5-tasks-you-can-automate-with-notion-api/","icon":"⚡️","label":"5 tasks you can automate with the new Notion API "},{"url":"https://n8n.io/blog/automate-google-apps-for-productivity/","icon":"💡","label":"15 Google apps you can combine and automate to increase productivity"},{"url":"https://n8n.io/blog/how-uproc-scraped-a-multi-page-website-with-a-low-code-workflow/","icon":" 🕸️","label":"How uProc scraped a multi-page website with a low-code workflow"},{"url":"https://n8n.io/blog/building-an-expense-tracking-app-in-10-minutes/","icon":"📱","label":"Building an expense tracking app in 10 minutes"},{"url":"https://n8n.io/blog/the-ultimate-guide-to-automate-your-video-collaboration-with-whereby-mattermost-and-n8n/","icon":"📹","label":"The ultimate guide to automate your video collaboration with Whereby, Mattermost, and n8n"},{"url":"https://n8n.io/blog/5-workflow-automations-for-mattermost-that-we-love-at-n8n/","icon":"🤖","label":"5 workflow automations for Mattermost that we love at n8n"},{"url":"https://n8n.io/blog/learn-to-build-powerful-api-endpoints-using-webhooks/","icon":"🧰","label":"Learn to Build Powerful API Endpoints Using Webhooks"},{"url":"https://n8n.io/blog/how-a-membership-development-manager-automates-his-work-and-investments/","icon":"📈","label":"How a Membership Development Manager automates his work and investments"},{"url":"https://n8n.io/blog/a-low-code-bitcoin-ticker-built-with-questdb-and-n8n-io/","icon":"📈","label":"A low-code bitcoin ticker built with QuestDB and n8n.io"},{"url":"https://n8n.io/blog/how-to-set-up-a-ci-cd-pipeline-with-no-code/","icon":"🎡","label":"How to set up a no-code CI/CD pipeline with GitHub and TravisCI"},{"url":"https://n8n.io/blog/benefits-of-automation-and-n8n-an-interview-with-hubspots-hugh-durkin/","icon":"🎖","label":"Benefits of automation and n8n: An interview with HubSpot's Hugh Durkin"},{"url":"https://n8n.io/blog/how-goomer-automated-their-operations-with-over-200-n8n-workflows/","icon":"🛵","label":"How Goomer automated their operations with over 200 n8n workflows"},{"url":"https://n8n.io/blog/aws-workflow-automation/","label":"7 no-code workflow automations for Amazon Web Services"}],"primaryDocumentation":[{"url":"https://docs.n8n.io/integrations/builtin/core-nodes/n8n-nodes-base.set/"}]},"categories":["Core Nodes"],"nodeVersion":"1.0","codexVersion":"1.0","subcategories":{"Core Nodes":["Data Transformation"]}}},"group":"[\"input\"]","defaults":{"name":"Edit Fields"},"iconData":{"icon":"pen","type":"icon"},"displayName":"Edit Fields (Set)","typeVersion":3,"nodeCategories":[{"id":9,"name":"Core Nodes"}]},{"id":49,"icon":"file:telegram.svg","name":"n8n-nodes-base.telegram","codex":{"data":{"alias":["human","form","wait","hitl","approval"],"resources":{"generic":[{"url":"https://n8n.io/blog/why-business-process-automation-with-n8n-can-change-your-daily-life/","icon":"🧬","label":"Why business process automation with n8n can change your daily life"},{"url":"https://n8n.io/blog/create-a-toxic-language-detector-for-telegram/","icon":"🤬","label":"Create a toxic language detector for Telegram in 4 step"},{"url":"https://n8n.io/blog/automatically-adding-expense-receipts-to-google-sheets-with-telegram-mindee-twilio-and-n8n/","icon":"🧾","label":"Automatically Adding Expense Receipts to Google Sheets with Telegram, Mindee, Twilio, and n8n"},{"url":"https://n8n.io/blog/no-code-ecommerce-workflow-automations/","icon":"store","label":"6 e-commerce workflows to power up your Shopify s"},{"url":"https://n8n.io/blog/world-poetry-day-workflow/","icon":"📜","label":"Celebrating World Poetry Day with a daily poem in Telegram"},{"url":"https://n8n.io/blog/using-automation-to-boost-productivity-in-the-workplace/","icon":"💪","label":"Using Automation to Boost Productivity in the Workplace"},{"url":"https://n8n.io/blog/how-to-set-up-a-ci-cd-pipeline-with-no-code/","icon":"🎡","label":"How to set up a no-code CI/CD pipeline with GitHub and TravisCI"},{"url":"https://n8n.io/blog/creating-scheduled-text-affirmations-with-n8n/","icon":"🤟","label":"Creating scheduled text affirmations with n8n"},{"url":"https://n8n.io/blog/creating-telegram-bots-with-n8n-a-no-code-platform/","icon":"💬","label":"Creating Telegram Bots with n8n, a No-Code Platform"},{"url":"https://n8n.io/blog/aws-workflow-automation/","label":"7 no-code workflow automations for Amazon Web Services"}],"primaryDocumentation":[{"url":"https://docs.n8n.io/integrations/builtin/app-nodes/n8n-nodes-base.telegram/"}],"credentialDocumentation":[{"url":"https://docs.n8n.io/integrations/builtin/credentials/telegram/"}]},"categories":["Communication","HITL"],"nodeVersion":"1.0","codexVersion":"1.0","subcategories":{"HITL":["Human in the Loop"]}}},"group":"[\"output\"]","defaults":{"name":"Telegram"},"iconData":{"type":"file","fileBuffer":"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiBmaWxsPSIjZmZmIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiIHN0cm9rZT0iIzAwMCIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIiB2aWV3Qm94PSIwIDAgNjYgNjYiPjx1c2UgeGxpbms6aHJlZj0iI2EiIHg9Ii41IiB5PSIuNSIvPjxzeW1ib2wgaWQ9ImEiIG92ZXJmbG93PSJ2aXNpYmxlIj48ZyBmaWxsLXJ1bGU9Im5vbnplcm8iIHN0cm9rZT0ibm9uZSI+PHBhdGggZmlsbD0iIzM3YWVlMiIgZD0iTTAgMzJjMCAxNy42NzMgMTQuMzI3IDMyIDMyIDMyczMyLTE0LjMyNyAzMi0zMlM0OS42NzMgMCAzMiAwIDAgMTQuMzI3IDAgMzIiLz48cGF0aCBmaWxsPSIjYzhkYWVhIiBkPSJtMjEuNjYxIDM0LjMzOCAzLjc5NyAxMC41MDhzLjQ3NS45ODMuOTgzLjk4MyA4LjA2OC03Ljg2NCA4LjA2OC03Ljg2NGw4LjQwNy0xNi4yMzctMjEuMTE5IDkuODk4eiIvPjxwYXRoIGZpbGw9IiNhOWM2ZDgiIGQ9Im0yNi42OTUgMzcuMDM0LS43MjkgNy43NDZzLS4zMDUgMi4zNzMgMi4wNjggMGw0LjY0NC00LjIwMyIvPjxwYXRoIGQ9Im0yMS43MyAzNC43MTItNy44MDktMi41NDVzLS45MzItLjM3OC0uNjMzLTEuMjM3Yy4wNjItLjE3Ny4xODYtLjMyOC41NTktLjU4OCAxLjczMS0xLjIwNiAzMi4wMjgtMTIuMDk2IDMyLjAyOC0xMi4wOTZzLjg1Ni0uMjg4IDEuMzYxLS4wOTdjLjIzMS4wODguMzc4LjE4Ny41MDMuNTQ4LjA0NS4xMzIuMDcxLjQxMS4wNjguNjg5LS4wMDMuMjAxLS4wMjcuMzg2LS4wNDUuNjc4LS4xODQgMi45NzgtNS43MDYgMjUuMTk4LTUuNzA2IDI1LjE5OHMtLjMzIDEuMy0xLjUxNCAxLjM0NWMtLjQzMi4wMTYtLjk1Ni0uMDcxLTEuNTgyLS42MS0yLjMyMy0xLjk5OC0xMC4zNTItNy4zOTQtMTIuMTI2LTguNThhLjM0LjM0IDAgMCAxLS4xNDYtLjIzOWMtLjAyNS0uMTI1LjEwOC0uMjguMTA4LS4yOHMxMy45OC0xMi40MjcgMTQuMzUyLTEzLjczMWMuMDI5LS4xMDEtLjA3OS0uMTUxLS4yMjYtLjEwNy0uOTI5LjM0Mi0xNy4wMjUgMTAuNTA2LTE4LjgwMSAxMS42MjktLjEwNC4wNjYtLjM5NS4wMjMtLjM5NS4wMjMiLz48L2c+PC9zeW1ib2w+PC9zdmc+"},"displayName":"Telegram","typeVersion":1,"nodeCategories":[{"id":6,"name":"Communication"},{"id":28,"name":"HITL"}]},{"id":50,"icon":"file:telegram.svg","name":"n8n-nodes-base.telegramTrigger","codex":{"data":{"resources":{"generic":[{"url":"https://n8n.io/blog/create-a-toxic-language-detector-for-telegram/","icon":"🤬","label":"Create a toxic language detector for Telegram in 4 step"},{"url":"https://n8n.io/blog/automatically-adding-expense-receipts-to-google-sheets-with-telegram-mindee-twilio-and-n8n/","icon":"🧾","label":"Automatically Adding Expense Receipts to Google Sheets with Telegram, Mindee, Twilio, and n8n"},{"url":"https://n8n.io/blog/how-to-set-up-a-ci-cd-pipeline-with-no-code/","icon":"🎡","label":"How to set up a no-code CI/CD pipeline with GitHub and TravisCI"},{"url":"https://n8n.io/blog/creating-telegram-bots-with-n8n-a-no-code-platform/","icon":"💬","label":"Creating Telegram Bots with n8n, a No-Code Platform"},{"url":"https://n8n.io/blog/aws-workflow-automation/","label":"7 no-code workflow automations for Amazon Web Services"}],"primaryDocumentation":[{"url":"https://docs.n8n.io/integrations/builtin/trigger-nodes/n8n-nodes-base.telegramtrigger/"}],"credentialDocumentation":[{"url":"https://docs.n8n.io/integrations/builtin/credentials/telegram/"}]},"categories":["Communication"],"nodeVersion":"1.0","codexVersion":"1.0"}},"group":"[\"trigger\"]","defaults":{"name":"Telegram Trigger"},"iconData":{"type":"file","fileBuffer":"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiBmaWxsPSIjZmZmIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiIHN0cm9rZT0iIzAwMCIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIiB2aWV3Qm94PSIwIDAgNjYgNjYiPjx1c2UgeGxpbms6aHJlZj0iI2EiIHg9Ii41IiB5PSIuNSIvPjxzeW1ib2wgaWQ9ImEiIG92ZXJmbG93PSJ2aXNpYmxlIj48ZyBmaWxsLXJ1bGU9Im5vbnplcm8iIHN0cm9rZT0ibm9uZSI+PHBhdGggZmlsbD0iIzM3YWVlMiIgZD0iTTAgMzJjMCAxNy42NzMgMTQuMzI3IDMyIDMyIDMyczMyLTE0LjMyNyAzMi0zMlM0OS42NzMgMCAzMiAwIDAgMTQuMzI3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},{"id":112,"icon":"fa:map-signs","name":"n8n-nodes-base.switch","codex":{"data":{"alias":["Router","If","Path","Filter","Condition","Logic","Branch","Case"],"resources":{"generic":[{"url":"https://n8n.io/blog/2021-the-year-to-automate-the-new-you-with-n8n/","icon":"☀️","label":"2021: The Year to Automate the New You with n8n"},{"url":"https://n8n.io/blog/how-to-get-started-with-crm-automation-and-no-code-workflow-ideas/","icon":"👥","label":"How to get started with CRM automation (with 3 no-code workflow ideas"},{"url":"https://n8n.io/blog/build-your-own-virtual-assistant-with-n8n-a-step-by-step-guide/","icon":"👦","label":"Build your own virtual assistant with n8n: A step by step guide"},{"url":"https://n8n.io/blog/automation-for-maintainers-of-open-source-projects/","icon":"🏷️","label":"How to automatically manage contributions to open-source projects"}],"primaryDocumentation":[{"url":"https://docs.n8n.io/integrations/builtin/core-nodes/n8n-nodes-base.switch/"}]},"categories":["Core Nodes"],"nodeVersion":"1.0","codexVersion":"1.0","subcategories":{"Core Nodes":["Flow"]}}},"group":"[\"transform\"]","defaults":{"name":"Switch","color":"#506000"},"iconData":{"icon":"map-signs","type":"icon"},"displayName":"Switch","typeVersion":3,"nodeCategories":[{"id":9,"name":"Core Nodes"}]},{"id":350,"icon":"fa:server","name":"n8n-nodes-base.ftp","codex":{"data":{"alias":["SFTP","FTP","Binary","File","Transfer"],"resources":{"primaryDocumentation":[{"url":"https://docs.n8n.io/integrations/builtin/core-nodes/n8n-nodes-base.ftp/"}],"credentialDocumentation":[{"url":"https://docs.n8n.io/integrations/builtin/credentials/ftp/"}]},"categories":["Core Nodes","Data & Storage","Development","Utility"],"nodeVersion":"1.0","codexVersion":"1.0","subcategories":{"Core Nodes":["Files","Helpers"]}}},"group":"[\"input\"]","defaults":{"name":"FTP","color":"#303050"},"iconData":{"icon":"server","type":"icon"},"displayName":"FTP","typeVersion":1,"nodeCategories":[{"id":3,"name":"Data & Storage"},{"id":5,"name":"Development"},{"id":7,"name":"Utility"},{"id":9,"name":"Core Nodes"}]},{"id":514,"icon":"fa:pause-circle","name":"n8n-nodes-base.wait","codex":{"data":{"alias":["pause","sleep","delay","timeout"],"resources":{"generic":[{"url":"https://n8n.io/blog/how-to-get-started-with-crm-automation-and-no-code-workflow-ideas/","icon":"👥","label":"How to get started with CRM automation (with 3 no-code workflow ideas"},{"url":"https://n8n.io/blog/aws-workflow-automation/","label":"7 no-code workflow automations for Amazon Web Services"}],"primaryDocumentation":[{"url":"https://docs.n8n.io/integrations/builtin/core-nodes/n8n-nodes-base.wait/"}]},"categories":["Core Nodes"],"nodeVersion":"1.0","codexVersion":"1.0","subcategories":{"Core Nodes":["Helpers","Flow"]}}},"group":"[\"organization\"]","defaults":{"name":"Wait","color":"#804050"},"iconData":{"icon":"pause-circle","type":"icon"},"displayName":"Wait","typeVersion":1,"nodeCategories":[{"id":9,"name":"Core Nodes"}]},{"id":565,"icon":"fa:sticky-note","name":"n8n-nodes-base.stickyNote","codex":{"data":{"alias":["Comments","Notes","Sticky"],"categories":["Core Nodes"],"nodeVersion":"1.0","codexVersion":"1.0","subcategories":{"Core Nodes":["Helpers"]}}},"group":"[\"input\"]","defaults":{"name":"Sticky Note","color":"#FFD233"},"iconData":{"icon":"sticky-note","type":"icon"},"displayName":"Sticky Note","typeVersion":1,"nodeCategories":[{"id":9,"name":"Core Nodes"}]},{"id":834,"icon":"file:code.svg","name":"n8n-nodes-base.code","codex":{"data":{"alias":["cpde","Javascript","JS","Python","Script","Custom Code","Function"],"details":"The Code node allows you to execute JavaScript in your workflow.","resources":{"primaryDocumentation":[{"url":"https://docs.n8n.io/integrations/builtin/core-nodes/n8n-nodes-base.code/"}]},"categories":["Development","Core Nodes"],"nodeVersion":"1.0","codexVersion":"1.0","subcategories":{"Core Nodes":["Helpers","Data Transformation"]}}},"group":"[\"transform\"]","defaults":{"name":"Code"},"iconData":{"type":"file","fileBuffer":"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTEyIiBoZWlnaHQ9IjUxMiIgdmlld0JveD0iMCAwIDUxMiA1MTIi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","typeVersion":2,"nodeCategories":[{"id":5,"name":"Development"},{"id":9,"name":"Core Nodes"}]},{"id":837,"icon":"fa:sign-out-alt","name":"n8n-nodes-base.executeWorkflowTrigger","codex":{"data":{"resources":{"generic":[],"primaryDocumentation":[{"url":"https://docs.n8n.io/integrations/builtin/core-nodes/n8n-nodes-base.executeworkflowtrigger/"}]},"categories":["Core Nodes"],"nodeVersion":"1.0","codexVersion":"1.0","subcategories":{"Core Nodes":["Helpers"]}}},"group":"[\"trigger\"]","defaults":{"name":"When Executed by Another Workflow","color":"#ff6d5a"},"iconData":{"icon":"sign-out-alt","type":"icon"},"displayName":"Execute Workflow Trigger","typeVersion":1,"nodeCategories":[{"id":9,"name":"Core Nodes"}]},{"id":1119,"icon":"fa:robot","name":"@n8n/n8n-nodes-langchain.agent","codex":{"data":{"alias":["LangChain","Chat","Conversational","Plan and Execute","ReAct","Tools"],"resources":{"primaryDocumentation":[{"url":"https://docs.n8n.io/integrations/builtin/cluster-nodes/root-nodes/n8n-nodes-langchain.agent/"}]},"categories":["AI","Langchain"],"subcategories":{"AI":["Agents","Root Nodes"]}}},"group":"[\"transform\"]","defaults":{"name":"AI Agent","color":"#404040"},"iconData":{"icon":"robot","type":"icon"},"displayName":"AI Agent","typeVersion":3,"nodeCategories":[{"id":25,"name":"AI"},{"id":26,"name":"Langchain"}]},{"id":1163,"icon":"fa:database","name":"@n8n/n8n-nodes-langchain.memoryBufferWindow","codex":{"data":{"resources":{"primaryDocumentation":[{"url":"https://docs.n8n.io/integrations/builtin/cluster-nodes/sub-nodes/n8n-nodes-langchain.memorybufferwindow/"}]},"categories":["AI","Langchain"],"subcategories":{"AI":["Memory"],"Memory":["For beginners"]}}},"group":"[\"transform\"]","defaults":{"name":"Simple Memory"},"iconData":{"icon":"database","type":"icon"},"displayName":"Simple Memory","typeVersion":1,"nodeCategories":[{"id":25,"name":"AI"},{"id":26,"name":"Langchain"}]},{"id":1205,"icon":"fa:network-wired","name":"@n8n/n8n-nodes-langchain.toolWorkflow","codex":{"data":{"resources":{"primaryDocumentation":[{"url":"https://docs.n8n.io/integrations/builtin/cluster-nodes/sub-nodes/n8n-nodes-langchain.toolworkflow/"}]},"categories":["AI","Langchain"],"subcategories":{"AI":["Tools"],"Tools":["Recommended Tools"]}}},"group":"[\"transform\"]","defaults":{"name":"Call n8n Workflow Tool"},"iconData":{"icon":"network-wired","type":"icon"},"displayName":"Call n8n Workflow Tool","typeVersion":2,"nodeCategories":[{"id":25,"name":"AI"},{"id":26,"name":"Langchain"}]},{"id":1250,"icon":"file:openAi.svg","name":"@n8n/n8n-nodes-langchain.openAi","codex":{"data":{"alias":["LangChain","ChatGPT","Sora","DallE","whisper","audio","transcribe","tts","assistant"],"resources":{"primaryDocumentation":[{"url":"https://docs.n8n.io/integrations/builtin/app-nodes/n8n-nodes-langchain.openai/"}]},"categories":["AI","Langchain"],"subcategories":{"AI":["Agents","Miscellaneous","Root Nodes"]}}},"group":"[\"transform\"]","defaults":{"name":"OpenAI"},"iconData":{"type":"file","fileBuffer":"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNDAiIGhlaWdodD0iNDAiIHZpZXdCb3g9IjAgMCA0MCA0MCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTM2Ljg2NzEgMTYuMzcxOEMzNy43NzQ2IDEzLjY0OCAzNy40NjIxIDEwLjY2NDIgMzYuMDEwOCA4LjE4NjYxQzMzLjgyODIgNC4zODY1MyAyOS40NDA3IDIuNDMxNDkgMjUuMTU1NiAzLjM1MTUxQzIzLjI0OTMgMS4yMDM5NiAyMC41MTA1IC0wLjAxNzMxNDggMTcuNjM5MiAwLjAwMDE4NTUzM0MxMy4yNTkxIC0wLjAwOTgxNDY4IDkuMzcyNzMgMi44MTAyNSA4LjAyNTIgNi45Nzc4M0M1LjIxMTM5IDcuNTU0MSAyLjc4MjU4IDkuMzE1MzggMS4zNjEzIDExLjgxMT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26,"name":"Langchain"}]},{"id":1281,"icon":"file:openrouter.svg","name":"@n8n/n8n-nodes-langchain.lmChatOpenRouter","codex":{"data":{"resources":{"primaryDocumentation":[{"url":"https://docs.n8n.io/integrations/builtin/cluster-nodes/sub-nodes/n8n-nodes-langchain.lmchatopenrouter/"}]},"categories":["AI","Langchain"],"subcategories":{"AI":["Language Models","Root Nodes"],"Language Models":["Chat Models (Recommended)"]}}},"group":"[\"transform\"]","defaults":{"name":"OpenRouter Chat Model"},"iconData":{"type":"file","fileBuffer":"data:image/svg+xml;base64,PHN2ZyBmaWxsPSIjOTRBM0I4IiBmaWxsLXJ1bGU9ImV2ZW5vZGQiIHdpZHRoPSI0MCIgaGVpZ2h0PSI0MCIgdmlld0JveD0iMCAwIDI0IDI0IiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjx0aXRsZT5PcGVuUm91dGVyPC90aXRsZT48cGF0aCBkPSJNMTYuODA0IDEuOTU3bDcuMjIgNC4xMDV2LjA4N0wxNi43MyAxMC4yMWwuMDE3LTIuMTE3LS44MjEtLjAzYy0xLjA1OS0uMDI4LTEuNjExLjAwMi0yLjI2OC4xMS0xLjA2NC4xNzUtMi4wMzguNTc3LTMuMTQ3IDEuMzUyTDguMzQ1IDExLjAzYy0uMjg0LjE5NS0uNDk1LjMzNi0uNjguNDU1bC0uNTE1LjMyMi0uMzk3LjIzNC4zODUuMjMuNTMuMzM4Yy40NzYuMzE0IDEuMTcuNzk2IDIuNzAxIDEuODY2IDEuMTEuNzc1IDIuMDgzIDEuMTc3IDMuMTQ3IDEuMzUybC4zLjA0NWMuNjk0LjA5MSAxLjM3NS4wOTQgMi44MjUuMDMzbC4wMjItMi4xNTkgNy4yMiA0LjEwNXYuMDg3TDE2LjU4OSAyMmwuMDE0LTEuODYyLS42MzUuMDIyYy0xLjM4Ni4wNDItMi4xMzcuMDAyLTMuMTM4LS4xNjItMS42OTQtLjI4LTMuMjYtLjkyNi00Ljg4MS0yLjA1OWwtMi4xNTgtMS41YTIxLjk5NyAyMS45OTcgMCAwMC0uNzU1LS40OThsLS40NjctLjI4YTU1LjkyNyA1NS45MjcgMCAwMC0uNzYtLjQzQzIuOTA4IDE0LjczLjU2MyAxNC4xMTYgMCAxNC4xMTZWOS44ODhsLjE0LjAwNGMuNTY0LS4wMDcgMi45MS0uNjIyIDMuODA5LTEuMTI0bDEuMDE2LS41OC40MzgtLjI3NGMuNDI4LS4yOCAxLjA3Mi0uNzI2IDIuNjg2LTEuODUzIDEuNjIxLTEuMTMzIDMuMTg2LTEuNzggNC44ODEtMi4wNTkgMS4xNTItLjE5IDEuOTc0LS4yMTMgMy44MTQtLjEzOGwuMDItMS45MDd6Ij48L3BhdGg+PC9zdmc+Cg=="},"displayName":"OpenRouter Chat Model","typeVersion":1,"nodeCategories":[{"id":25,"name":"AI"},{"id":26,"name":"Langchain"}]}],"categories":[{"id":31,"name":"Content Creation"},{"id":47,"name":"AI Chatbot"}],"image":[]}}