{"workflow":{"id":13182,"name":" Grok Imagine Video Chatbot 🤖📺: Generate & Modify Videos via Natural Language","views":1050,"recentViews":2,"totalViews":1050,"createdAt":"2026-02-03T09:49:56.613Z","description":"The **Video Grok Agent** is an AI-powered video generation and editing workflow that uses **Grok 4.1 Fast** (via OpenRouter) and **Grok Imagine Video** to create and modify videos through natural language.\n\nThis workflow enables seamless AI-driven video creation and editing through a conversational interface, with built-in validation, async processing, and secure credential management.\n\n\n---\n\n### Key Advantages\n\n#### 1. ✅ Unified Video Creation Pipeline\n\nA single workflow supports **text-to-video, image-to-video, and video editing**, reducing complexity and avoiding duplicated logic across multiple automations.\n\n#### 2. ✅ AI-Guided User Interaction\n\nThe conversational agent ensures:\n\n* the correct tool is selected,\n* all mandatory parameters are provided,\n* errors due to missing inputs are minimized.\n\nThis makes the workflow usable even by non-technical users.\n\n#### 3. ✅ Asynchronous & Scalable Execution\n\nThe workflow is designed around **queued, non-blocking requests**:\n\n* wait nodes + status polling\n* no execution timeouts\n* scalable for multiple concurrent video jobs\n\n#### 4. ✅ Automatic Media Handling\n\nUploaded images are:\n\n* detected automatically,\n* uploaded to external storage,\n* converted into usable URLs without manual steps.\n\nThis enables smooth image-to-video generation directly from chat uploads.\n\n#### 5. ✅ Clear Separation of Responsibilities\n\nEach step is modular:\n\n* orchestration (agent),\n* decision routing (switch),\n* media processing (Fal.run APIs),\n* status monitoring (HTTP + wait loops).\n\nThis makes the workflow easy to maintain, extend, or debug.\n\n#### 6. ✅ Strong Guardrails & Validation\n\nThe agent enforces:\n\n* correct tool usage (e.g. video-to-video only for editing),\n* duration limits (1–15 seconds),\n* mandatory URLs before execution.\n\nThis prevents incorrect API calls and wasted compute.\n\n#### 7. ✅ Extensible Architecture\n\nNew tools (e.g. different models, resolutions, aspect ratios, or providers) can be added without redesigning the whole system—just plug them into the existing agent + switch logic.\n\n\n---\n\n### How it works\n\n1. **User Interaction**  \n   - The workflow starts with a chat trigger (`When chat message received`), where users can upload images and submit text prompts.\n   - If an image is uploaded, it is automatically stored via FTP (BunnyCDN) and its URL is passed to the AI agent.\n\n2. **AI Agent Orchestration**  \n   - The **Grok Imagine Video Agent** processes the user’s request and determines which action to perform:\n     - **Text-to-Video**: Create a new video from a text prompt. [See test result](https://iframe.mediadelivery.net/play/580928/790d2b2f-fadf-4995-b1fb-5a4ea7fe6783)\n     - **Image-to-Video**: Animate an existing image. [See test result](https://iframe.mediadelivery.net/play/580928/1111d470-58e2-41b5-82dd-b9872edc4bc2)\n     - **Video-to-Video**: Edit an existing video. [See test result](https://iframe.mediadelivery.net/play/580928/fa1ccaf7-9765-4b99-a72e-7db77e96ecb3)\n   - The agent follows strict rules to ensure all required parameters (e.g., duration, URLs, prompts) are collected before proceeding.\n\n3. **Video Processing via Fal.run API**  \n   - Depending on the selected tool, the workflow calls the corresponding Fal.run endpoint:\n     - `text-to-video`\n     - `image-to-video`\n     - `edit-video`\n   - Each request returns a `request_id` used to poll for completion.\n\n4. **Asynchronous Processing & Polling**  \n   - After submission, the workflow enters a polling loop:\n     - Waits 10–30 seconds.\n     - Checks the request status via Fal.run’s status endpoint.\n     - Once the status is `COMPLETED`, it retrieves the final video URL.\n\n5. **Result Delivery**  \n   - The final video URL is returned to the user via the chat interface.\n   - The agent does not proceed further once the video is ready.\n\n---\n\n### **Set Up Steps**\n\nTo deploy and use this workflow in n8n:\n\n1. **Credentials Configuration**  \n   - Set up the following credentials in n8n:\n     - **OpenRouter API** (for Grok 4.1 Fast)\n     - **Fal.run API** (HTTP Header Auth)\n     - **[FTP/BunnyCDN](https://bunny.net?ref=0pfu5rh4tp)** (for image uploads)\n\n2. **Workflow Activation**  \n   - Ensure all nodes are correctly connected as per the `connections` mapping.\n   - Activate the workflow via the **Execute Workflow Trigger** (`Run Text-to-Video1`).\n\n3. **Chat Interface Setup**  \n   - The workflow is designed to be triggered via a chat message.\n   - Configure the `When chat message received` node to connect to your frontend or chat platform.\n\n4. **Parameter Validation**  \n   - The AI agent includes validation rules to ensure:\n     - Duration is between 1–15 seconds.\n     - Required URLs (image/video) are provided where needed.\n     - The correct tool is invoked based on user intent.\n\n5. **Testing & Monitoring**  \n   - Test each tool separately (text, image, video) to ensure Fal.run API responses are handled correctly.\n   - Monitor the polling loops to avoid timeouts and ensure video URLs are retrieved successfully.\n\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":"E0lIfRrkY3QPg6AF","meta":{"instanceId":"a4bfc93e975ca233ac45ed7c9227d84cf5a2329310525917adaf3312e10d5462","templateCredsSetupCompleted":true},"name":"Grok Imagine Video Agent","tags":[],"nodes":[{"id":"ba54eff9-e92e-4bbb-9487-73fd13f384db","name":"Run text to video","type":"@n8n/n8n-nodes-langchain.toolWorkflow","position":[-3280,624],"parameters":{"workflowId":{"__rl":true,"mode":"list","value":"2WVikao2gvK7Z0nV","cachedResultUrl":"/workflow/2WVikao2gvK7Z0nV","cachedResultName":"Video Grok Agent"},"description":"Chiama questo agente quando devi creare un video a partire dal testo.","workflowInputs":{"value":{"query":"={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('query', ``, 'string') }}","duration":"={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('duration', `duranta in secondi del video (da 1 a 15)`, 'number') }}","tool_name":"=Run text to video"},"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":"bb88a4fc-215d-4d28-8b46-bdd6db97f76c","name":"Run Text-to-Video1","type":"n8n-nodes-base.executeWorkflowTrigger","position":[-2720,304],"parameters":{"workflowInputs":{"values":[{"name":"tool_name"},{"name":"query"},{"name":"duration","type":"number"},{"name":"video_url"},{"name":"image_url"}]}},"typeVersion":1.1},{"id":"5716d4c0-cf48-44e7-aa41-a8f668d7a185","name":"When chat message received","type":"@n8n/n8n-nodes-langchain.chatTrigger","position":[-4496,304],"webhookId":"a2a2444d-78ab-4d0c-a6f0-227e16ff105b","parameters":{"options":{"allowFileUploads":true,"allowedFilesMimeTypes":"image/png,image/jpeg"}},"typeVersion":1.4},{"id":"083b54f7-8d3b-440e-809a-d0a64cd848f3","name":"Simple Memory","type":"@n8n/n8n-nodes-langchain.memoryBufferWindow","position":[-3488,624],"parameters":{},"typeVersion":1.3},{"id":"02cbdab9-f32d-4e04-b0cb-d4bf9bd8d98c","name":"Get status","type":"n8n-nodes-base.httpRequest","position":[-1600,-112],"parameters":{"url":"=https://queue.fal.run/xai/grok-imagine-video/requests/{{ $('Text to Video').item.json.request_id }}/status ","options":{},"sendQuery":true,"authentication":"genericCredentialType","genericAuthType":"httpHeaderAuth","queryParameters":{"parameters":[{"name":"Content-Type","value":"application/json"}]}},"credentials":{"httpHeaderAuth":{"id":"daOZafXpRXLtoLUV","name":"Fal.run API"}},"typeVersion":4.2},{"id":"5723a7de-52bd-40b8-9692-ea188f4312c5","name":"Completed?","type":"n8n-nodes-base.if","position":[-1424,-112],"parameters":{"options":{},"conditions":{"options":{"version":2,"leftValue":"","caseSensitive":true,"typeValidation":"strict"},"combinator":"and","conditions":[{"id":"383d112e-2cc6-4dd4-8985-f09ce0bd1781","operator":{"name":"filter.operator.equals","type":"string","operation":"equals"},"leftValue":"={{ $json.status }}","rightValue":"COMPLETED"}]}},"typeVersion":2.2},{"id":"da9b4f37-ed5c-4e94-8242-c34751ca668f","name":"Switch1","type":"n8n-nodes-base.switch","position":[-2432,288],"parameters":{"rules":{"values":[{"outputKey":"Run text to video","conditions":{"options":{"version":3,"leftValue":"","caseSensitive":true,"typeValidation":"strict"},"combinator":"and","conditions":[{"id":"9c61394e-d0a0-4237-8de6-ad3dec0cbc53","operator":{"type":"string","operation":"equals"},"leftValue":"={{ $json.tool_name }}","rightValue":"Run text to video"}]},"renameOutput":true},{"outputKey":"Run video to video","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 video to video"}]},"renameOutput":true},{"outputKey":"Run image to video","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 video"}]},"renameOutput":true}]},"options":{}},"typeVersion":3.4},{"id":"59fdba38-33c8-451a-ac9d-a4d986c3ee8a","name":"Get status1","type":"n8n-nodes-base.httpRequest","position":[-1600,304],"parameters":{"url":"=https://queue.fal.run/xai/grok-imagine-video/requests/{{ $('Edit Video').item.json.request_id }}/status ","options":{},"sendQuery":true,"authentication":"genericCredentialType","genericAuthType":"httpHeaderAuth","queryParameters":{"parameters":[{"name":"Content-Type","value":"application/json"}]}},"credentials":{"httpHeaderAuth":{"id":"daOZafXpRXLtoLUV","name":"Fal.run API"}},"typeVersion":4.2},{"id":"4cd40c66-748b-485b-9f6d-f4bbf1610c11","name":"Completed?1","type":"n8n-nodes-base.if","position":[-1424,304],"parameters":{"options":{},"conditions":{"options":{"version":2,"leftValue":"","caseSensitive":true,"typeValidation":"strict"},"combinator":"and","conditions":[{"id":"383d112e-2cc6-4dd4-8985-f09ce0bd1781","operator":{"name":"filter.operator.equals","type":"string","operation":"equals"},"leftValue":"={{ $json.status }}","rightValue":"COMPLETED"}]}},"typeVersion":2.2},{"id":"0cc3bc9c-5150-458f-acd9-58b04d09820b","name":"Run image to video","type":"@n8n/n8n-nodes-langchain.toolWorkflow","position":[-2960,624],"parameters":{"workflowId":{"__rl":true,"mode":"list","value":"2WVikao2gvK7Z0nV","cachedResultUrl":"/workflow/2WVikao2gvK7Z0nV","cachedResultName":"Video Grok Agent"},"description":"Chiama questo agente quando devi modificare un video esistente... dev inviare l'url e il prompt di modifica del video e la duration","workflowInputs":{"value":{"query":"={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('query', ``, 'string') }}","duration":"={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('duration', `durata in secondi da 1 a 15`, 'number') }}","image_url":"={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('image_url', `L'url dell'immagine`, 'string') }}","tool_name":"=Run image to video"},"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":"70025752-cbec-4bee-bb1d-0b5e328e7c1b","name":"Get status2","type":"n8n-nodes-base.httpRequest","position":[-1584,752],"parameters":{"url":"=https://queue.fal.run/xai/grok-imagine-video/requests/{{ $('Image to Video').item.json.request_id }}/status ","options":{},"sendQuery":true,"authentication":"genericCredentialType","genericAuthType":"httpHeaderAuth","queryParameters":{"parameters":[{"name":"Content-Type","value":"application/json"}]}},"credentials":{"httpHeaderAuth":{"id":"daOZafXpRXLtoLUV","name":"Fal.run API"}},"typeVersion":4.2},{"id":"cb6c1872-736f-4d46-a062-cfb6289a1284","name":"Completed?2","type":"n8n-nodes-base.if","position":[-1408,752],"parameters":{"options":{},"conditions":{"options":{"version":2,"leftValue":"","caseSensitive":true,"typeValidation":"strict"},"combinator":"and","conditions":[{"id":"383d112e-2cc6-4dd4-8985-f09ce0bd1781","operator":{"name":"filter.operator.equals","type":"string","operation":"equals"},"leftValue":"={{ $json.status }}","rightValue":"COMPLETED"}]}},"typeVersion":2.2},{"id":"111488a8-5ac7-41a0-b231-cdac9cb48b6f","name":"Run video to video","type":"@n8n/n8n-nodes-langchain.toolWorkflow","position":[-3120,624],"parameters":{"workflowId":{"__rl":true,"mode":"list","value":"2WVikao2gvK7Z0nV","cachedResultUrl":"/workflow/2WVikao2gvK7Z0nV","cachedResultName":"Video Grok Agent"},"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 video to video","video_url":"={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('video_url', `Url del video da modfiicare`, 'string') }}"},"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":"bc2cbbe5-f7e3-43f4-a777-2695069f8217","name":"Grok 4.1 Fast","type":"@n8n/n8n-nodes-langchain.lmChatOpenRouter","position":[-3808,624],"parameters":{"model":"x-ai/grok-4.1-fast","options":{}},"credentials":{"openRouterApi":{"id":"pb06rfB4xmxzVe3Q","name":"OpenRouter"}},"typeVersion":1},{"id":"86d25d12-6abb-4eef-a9e3-3eee1132fee2","name":"Binary?","type":"n8n-nodes-base.if","position":[-4224,304],"parameters":{"options":{},"conditions":{"options":{"version":3,"leftValue":"","caseSensitive":true,"typeValidation":"strict"},"combinator":"and","conditions":[{"id":"17b0ebee-2489-4fd6-8788-c4231c224194","operator":{"type":"object","operation":"notEmpty","singleValue":true},"leftValue":"={{$binary}}","rightValue":""}]}},"typeVersion":2.3},{"id":"ebd63c05-9d9b-4571-a269-fbc6de3155aa","name":"Set Image Url","type":"n8n-nodes-base.set","position":[-3696,48],"parameters":{"options":{},"assignments":{"assignments":[{"id":"29fbf21e-301d-4a1c-b6c9-723c9c03fb61","name":"image_url","type":"string","value":"=https://URL/{{ $binary.data0.fileName }}"}]}},"typeVersion":3.4},{"id":"08403634-766b-4c09-afc5-3688306cd64f","name":"Grok Imagine Video Agent","type":"@n8n/n8n-nodes-langchain.agent","position":[-3456,336],"parameters":{"text":"={{ $json.chatInput }}\n\nImage Url (if exist): {{ $json.image_url ?? '' }}","options":{"systemMessage":"=### 1. Identify the User's Need\nAt the beginning of the conversation, ask the user which operation they want to perform:\n* Create a new video from text → Tool: \"Run text to video\"\n* Create a new video from an image → Tool: \"Run image to video\"\n* Edit an existing video → Tool: \"Run video to video\"\n\n### 2. Information Gathering and Tool Invocation\n\n#### Tool: \"Run text to video\"\n**When to use it:** To create a video starting only from a textual description.\n\n**Required parameters:**\n* Tool name: `Run text to video`\n* Video length: from 1 to 15 seconds\n* Prompt text: a detailed description of the video to generate\n\nCall ONLY when you have all the required parameters.\n\n#### Tool: \"Run image to video\"\n**When to use it:** To create a video starting from an existing image.\n\n**Required parameters:**\n* Tool name: `Run image to video`\n* Video length: from 1 to 15 seconds\n* Image URL: direct link to the source image\n* Prompt text: description of the desired animation/transformation\n\n**WARNING:** Call ONLY when you have the image URL. If you don't have it, ask the user to provide it.\n\n#### Tool: \"Run video to video\"\n**When to use it:** To edit an already existing video.\n\n**Required parameters:**\n* Tool name: `Run video to video`\n* Video URL: direct link to the video to edit\n* Prompt text: description of the changes to apply\n\n**WARNING:**\n* Call ONLY to edit existing videos, NOT to create new ones\n* Make sure you have the video URL before calling the tool\n* If you don't have the URL, ask the user to provide it\n\n### 3. Output Handling\nWhen you receive a response in JSON format containing a URL:\n* The video has been generated successfully\n* Show the video URL to the user\n* DO NOT call any other tools\n* DO NOT ask for additional information\n* Simply communicate that the video is ready\n\n## Important Rules\n1. Never call a tool without having all the required parameters\n2. Always ask for clarification if information is missing\n3. Respect the duration limits (1–15 seconds)\n4. Do not confuse \"Run video to video\" with creating new videos\n5. When you obtain the final output, end the process and show the result\n\n## Interaction Example\n\n**User:** \"I want to create a video\"\n\n**Assistant:** \"Perfect! Do you want to:\n1. Create a video from text\n2. Create a video starting from an image\n3. Edit an existing video\"\n\n**User:** \"From text\"\n\n**Assistant:** \"Great! What should the video be about and how long should it be (from 1 to 15 seconds)?\"\n\n**User:** \"A cat playing, 5 seconds\"\n\n**Assistant:** [Calls tool \"Run text to video\" with duration=5 and prompt=\"A cat playing\"]\n\n**System:** `{\"video_url\": \"https://...\"}`\n\n**Assistant:** \"Your video is ready! Here's the URL: https://...\""},"promptType":"define"},"typeVersion":3.1},{"id":"988cada7-4d7d-40a0-80b9-962d6729fc2b","name":"Edit Video","type":"n8n-nodes-base.httpRequest","position":[-2016,304],"parameters":{"url":"https://queue.fal.run/xai/grok-imagine-video/edit-video","method":"POST","options":{},"jsonBody":"={\n     \"prompt\": \"{{ $json.query }}\",\n     \"video_url\": \"{{ $json.video_url }}\",\n     \"resolution\": \"auto\"\n   }","sendBody":true,"sendHeaders":true,"specifyBody":"json","authentication":"genericCredentialType","genericAuthType":"httpHeaderAuth","headerParameters":{"parameters":[{"name":"Content-Type","value":"application/json"}]}},"credentials":{"httpHeaderAuth":{"id":"daOZafXpRXLtoLUV","name":"Fal.run API"}},"typeVersion":4.3},{"id":"b3459925-be5a-4d4c-bcc8-a0a87696a789","name":"Text to Video","type":"n8n-nodes-base.httpRequest","position":[-2016,-112],"parameters":{"url":"https://queue.fal.run/xai/grok-imagine-video/text-to-video","method":"POST","options":{},"jsonBody":"={\n     \"prompt\": \"{{ $json.query }}\",\n     \"duration\": {{ $json.duration }},\n     \"aspect_ratio\": \"16:9\",\n     \"resolution\": \"720p\"\n   }","sendBody":true,"sendHeaders":true,"specifyBody":"json","authentication":"genericCredentialType","genericAuthType":"httpHeaderAuth","headerParameters":{"parameters":[{"name":"Content-Type","value":"application/json"}]}},"credentials":{"httpHeaderAuth":{"id":"daOZafXpRXLtoLUV","name":"Fal.run API"}},"typeVersion":4.3},{"id":"03a95ffe-64eb-4659-a3a9-9279a575c2c3","name":"Image to Video","type":"n8n-nodes-base.httpRequest","position":[-2000,752],"parameters":{"url":"https://queue.fal.run/xai/grok-imagine-video/image-to-video","method":"POST","options":{},"jsonBody":"={\n     \"prompt\": \"{{ $json.query }}\",\n     \"duration\": {{ $json.duration }},\n     \"aspect_ratio\": \"16:9\",\n     \"resolution\": \"720p\",\n      \"image_url\": \"{{ $json.image_url }}\"\n   }","sendBody":true,"sendHeaders":true,"specifyBody":"json","authentication":"genericCredentialType","genericAuthType":"httpHeaderAuth","headerParameters":{"parameters":[{"name":"Content-Type","value":"application/json"}]}},"credentials":{"httpHeaderAuth":{"id":"daOZafXpRXLtoLUV","name":"Fal.run API"}},"typeVersion":4.3},{"id":"b9970019-b726-48db-9a17-ffa43ca17764","name":"Get final text to video url","type":"n8n-nodes-base.httpRequest","position":[-1184,-128],"parameters":{"url":"=https://queue.fal.run/xai/grok-imagine-video/requests/{{ $json.request_id }}","options":{},"sendHeaders":true,"authentication":"genericCredentialType","genericAuthType":"httpHeaderAuth","headerParameters":{"parameters":[{"name":"Content-Type","value":"application/json"}]}},"credentials":{"httpHeaderAuth":{"id":"daOZafXpRXLtoLUV","name":"Fal.run API"}},"typeVersion":4.2},{"id":"4ad2492e-2f54-4d37-a665-82952dc8de69","name":"Get final edit video url","type":"n8n-nodes-base.httpRequest","position":[-1184,288],"parameters":{"url":"=https://queue.fal.run/xai/grok-imagine-video/requests/{{ $json.request_id }}","options":{},"sendHeaders":true,"authentication":"genericCredentialType","genericAuthType":"httpHeaderAuth","headerParameters":{"parameters":[{"name":"Content-Type","value":"application/json"}]}},"credentials":{"httpHeaderAuth":{"id":"daOZafXpRXLtoLUV","name":"Fal.run API"}},"typeVersion":4.2},{"id":"247b8f1d-ace8-46f9-a123-47dccf31821a","name":"Get final image to video url","type":"n8n-nodes-base.httpRequest","position":[-1168,736],"parameters":{"url":"=https://queue.fal.run/xai/grok-imagine-video/requests/{{ $json.request_id }}","options":{},"sendHeaders":true,"authentication":"genericCredentialType","genericAuthType":"httpHeaderAuth","headerParameters":{"parameters":[{"name":"Content-Type","value":"application/json"}]}},"credentials":{"httpHeaderAuth":{"id":"daOZafXpRXLtoLUV","name":"Fal.run API"}},"typeVersion":4.2},{"id":"e8b47893-fb52-4fad-bfac-39abdabef9b0","name":"Wait 10 sec.","type":"n8n-nodes-base.wait","position":[-1792,-112],"webhookId":"9b7fe00a-3652-49e3-b45d-af2f0df6900f","parameters":{"amount":10},"typeVersion":1.1},{"id":"7ca3ea8f-a049-4f91-ae53-8be5477f0a64","name":"Wait 10 sec.1","type":"n8n-nodes-base.wait","position":[-1792,304],"webhookId":"07129b85-1e6c-4ad7-becb-e3d3c479261f","parameters":{"amount":10},"typeVersion":1.1},{"id":"154293e4-4c71-4ee6-a845-22d4ba9d9406","name":"Wait 10 sec.2","type":"n8n-nodes-base.wait","position":[-1776,752],"webhookId":"cd58b9a7-a892-4ab4-9c46-57716da64a08","parameters":{"amount":30},"typeVersion":1.1},{"id":"2b98a620-b597-4874-90ed-be3f0f707a09","name":"Upload image","type":"n8n-nodes-base.ftp","position":[-3904,48],"parameters":{"path":"=/n3wstorage/test/{{ $binary.data0.fileName }}","options":{},"operation":"upload","binaryPropertyName":"data0"},"credentials":{"ftp":{"id":"LHpoBQkf0LTumonL","name":"FTP BunnyCDN"}},"typeVersion":1},{"id":"f1b91c51-161e-46a1-bdb3-69f064f9b847","name":"Sticky Note","type":"n8n-nodes-base.stickyNote","position":[-4048,-80],"parameters":{"color":7,"width":544,"height":304,"content":"## STEP 1 - Upload image to server\n"},"typeVersion":1},{"id":"89612284-994e-4e55-b60c-0b0093a2cbd2","name":"Sticky Note1","type":"n8n-nodes-base.stickyNote","position":[-3600,256],"parameters":{"color":7,"width":544,"height":304,"content":"## STEP 2- Orchestrator Agents\n"},"typeVersion":1},{"id":"5c5f0b68-abfd-4b41-be0c-d5b4f0461b62","name":"Sticky Note2","type":"n8n-nodes-base.stickyNote","position":[-2080,-208],"parameters":{"color":7,"width":1184,"height":352,"content":"## STEP 3 - Grok Imagine Video (Text to video)\n"},"typeVersion":1},{"id":"8f620051-fe95-4956-a56a-4d1d003952eb","name":"Sticky Note3","type":"n8n-nodes-base.stickyNote","position":[-2080,192],"parameters":{"color":7,"width":1184,"height":384,"content":"## STEP 4 - Grok Imagine Video (Edit video)\n"},"typeVersion":1},{"id":"a2e7a082-1b07-4218-8ab1-26331501a4ba","name":"Sticky Note4","type":"n8n-nodes-base.stickyNote","position":[-2080,624],"parameters":{"color":7,"width":1184,"height":384,"content":"## STEP 5 - Grok Imagine Video (Image to Video)\n\n"},"typeVersion":1},{"id":"05553deb-079c-4619-95e2-60c96c1e207e","name":"Sticky Note5","type":"n8n-nodes-base.stickyNote","position":[-4496,-656],"parameters":{"width":1184,"height":480,"content":"## Grok Imagine Video Chatbot: Generate & Modify Videos via Natural Language\nThe **Video Grok Agent** is an AI-powered video generation and editing workflow that uses **Grok 4.1 Fast** (via OpenRouter) and **Grok Imagine Video** to create and modify videos through natural language.\n\nThis workflow enables seamless AI-driven video creation and editing through a conversational interface, with built-in validation, async processing, and secure credential management.\n\n### **How it works**\n\nThe workflow starts from a chat trigger where users submit prompts and optionally upload images, which are automatically stored via FTP and converted to usable URLs. A Grok Imagine Video agent interprets intent, validates required parameters, and routes the request to the correct Fal.run endpoint (text-to-video, image-to-video, or video-to-video). Video generation runs asynchronously using request IDs with wait-and-poll loops, and once processing is completed, the final video URL is returned to the user via chat.\n\n### **Setup steps**\n\nConfigure credentials in n8n for OpenRouter (Grok 4.1 Fast), Fal.run (HTTP header auth), and FTP/BunnyCDN for image uploads. Verify node connections, activate the workflow, and ensure the `When chat message received` trigger is connected to your chat interface. The built-in agent validation enforces duration limits, required URLs, and correct tool usage, after which you can test each video mode and monitor polling behavior to confirm successful video delivery.\n"},"typeVersion":1},{"id":"12fb719a-dd5f-4213-a8a5-786df66c42c4","name":"Sticky Note8","type":"n8n-nodes-base.stickyNote","position":[-3280,-912],"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":"3aa4c678-9a0d-43b2-b6d4-2f4c5e7e40d5","connections":{"Binary?":{"main":[[{"node":"Upload image","type":"main","index":0}],[{"node":"Grok Imagine Video Agent","type":"main","index":0}]]},"Switch1":{"main":[[{"node":"Text to Video","type":"main","index":0}],[{"node":"Edit Video","type":"main","index":0}],[{"node":"Image to Video","type":"main","index":0}]]},"Completed?":{"main":[[{"node":"Get final text to video url","type":"main","index":0}],[{"node":"Wait 10 sec.","type":"main","index":0}]]},"Edit Video":{"main":[[{"node":"Wait 10 sec.1","type":"main","index":0}]]},"Get status":{"main":[[{"node":"Completed?","type":"main","index":0}]]},"Completed?1":{"main":[[{"node":"Get final edit video url","type":"main","index":0}],[{"node":"Wait 10 sec.1","type":"main","index":0}]]},"Completed?2":{"main":[[{"node":"Get final image to video url","type":"main","index":0}],[{"node":"Wait 10 sec.2","type":"main","index":0}]]},"Get status1":{"main":[[{"node":"Completed?1","type":"main","index":0}]]},"Get status2":{"main":[[{"node":"Completed?2","type":"main","index":0}]]},"Upload image":{"main":[[{"node":"Set Image Url","type":"main","index":0}]]},"Wait 10 sec.":{"main":[[{"node":"Get status","type":"main","index":0}]]},"Grok 4.1 Fast":{"ai_languageModel":[[{"node":"Grok Imagine Video Agent","type":"ai_languageModel","index":0}]]},"Set Image Url":{"main":[[{"node":"Grok Imagine Video Agent","type":"main","index":0}]]},"Simple Memory":{"ai_memory":[[{"node":"Grok Imagine Video Agent","type":"ai_memory","index":0}]]},"Text to Video":{"main":[[{"node":"Wait 10 sec.","type":"main","index":0}]]},"Wait 10 sec.1":{"main":[[{"node":"Get status1","type":"main","index":0}]]},"Wait 10 sec.2":{"main":[[{"node":"Get status2","type":"main","index":0}]]},"Image to Video":{"main":[[{"node":"Wait 10 sec.2","type":"main","index":0}]]},"Run text to video":{"ai_tool":[[{"node":"Grok Imagine Video Agent","type":"ai_tool","index":0}]]},"Run Text-to-Video1":{"main":[[{"node":"Switch1","type":"main","index":0}]]},"Run image to video":{"ai_tool":[[{"node":"Grok Imagine Video Agent","type":"ai_tool","index":0}]]},"Run video to video":{"ai_tool":[[{"node":"Grok Imagine Video Agent","type":"ai_tool","index":0}]]},"Grok Imagine Video Agent":{"main":[[]]},"When chat message received":{"main":[[{"node":"Binary?","type":"main","index":0}]]}}},"lastUpdatedBy":29,"workflowInfo":{"nodeCount":34,"nodeTypes":{"n8n-nodes-base.if":{"count":4},"n8n-nodes-base.ftp":{"count":1},"n8n-nodes-base.set":{"count":1},"n8n-nodes-base.wait":{"count":3},"n8n-nodes-base.switch":{"count":1},"n8n-nodes-base.stickyNote":{"count":7},"n8n-nodes-base.httpRequest":{"count":9},"@n8n/n8n-nodes-langchain.agent":{"count":1},"@n8n/n8n-nodes-langchain.chatTrigger":{"count":1},"@n8n/n8n-nodes-langchain.toolWorkflow":{"count":3},"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,PHN2ZyB3aWR0aD0iNDAiIGhlaWdodD0iNDAiIHZpZXdCb3g9IjAgMCA0MCA0MCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik00MCAyMEM0MCA4Ljk1MzE0IDMxLjA0NjkgMCAyMCAwQzguOTUzMTQgMCAwIDguOTUzMTQgMCAyMEMwIDMxLjA0NjkgOC45NTMxNCA0MCAyMCA0MEMzMS4wNDY5IDQwIDQwIDMxLjA0NjkgNDAgMjBaTTIwIDM2Ljk0NThDMTguODg1MiAzNi45NDU4IDE3LjEzNzggMzUuOTY3IDE1LjQ5OTggMzIuNjk4NUMxNC43OTY0IDMxLjI5MTggMTQuMTk2MSAyOS41NDMxIDEzLjc1MjYgMjcuNjg0N0gyNi4xODk4QzI1LjgwNDUgMjkuNTQwMyAyNS4yMDQ0IDMxLjI5MDEgMjQuNTAwMiAzMi42OTg1QzIyLjg2MjIgMzUuOTY3IDIxLjExNDggMzYuOTQ1OCAyMCAzNi45NDU4Wk0xMi45MDY0IDIwQzEyLjkwNjQgMjEuNjA5NyAxMy4wMDg3IDIzLjE2NCAxMy4yMDAzIDI0LjYzMDVIMjYuNzk5N0MyNi45OTEzIDIzLjE2NCAyNy4wOTM2IDIxLjYwOTcgMjcuMDkzNiAyMEMyNy4wOTM2IDE4LjM5MDMgMjYuOTkxMyAxNi44MzYgMjYuNzk5NyAxNS4zNjk1SDEzLjIwMDNDMTMuMDA4NyAxNi44MzYgMTIuOTA2NCAxOC4zOTAzIDEyLjkwNjQgMjBaTTIwIDMuMDU0MTlDMjEuMTE0OSAzLjA1NDE5IDIyLjg2MjIgNC4wMzA3OCAyNC41MDAxIDcuMzAwMzlDMjUuMjA2NiA4LjcxNDA4IDI1LjgwNzIgMTAuNDA2NyAyNi4xOTIgMTIuMzE1M0gxMy43NTAxQzE0LjE5MzMgMTAuNDA0NyAxNC43OTQyIDguNzEyNTQgMTUuNDk5OCA3LjMwMDY0QzE3LjEzNzcgNC4wMzA4MyAxOC44ODUxIDMuMDU0MTkgMjAgMy4wNTQxOVpNMzAuMTQ3OCAyMEMzMC4xNDc4IDE4LjQwOTkgMzAuMDU0MyAxNi44NjE3IDI5LjgyMjcgMTUuMzY5NUgzNi4zMDQyQzM2LjcyNTIgMTYuODQyIDM2Ljk0NTggMTguMzk2NCAzNi45NDU4IDIwQzM2Ljk0NTggMjEuNjAzNiAzNi43MjUyIDIzLjE1OCAzNi4zMDQyIDI0LjYzMDVIMjkuODIyN0MzMC4wNTQzIDIzLjEzODMgMzAuMTQ3OCAyMS41OTAxIDMwLjE0NzggMjBaTTI2LjI3NjcgNC4yNTUxMkMyNy42MzY1IDYuMzYwMTkgMjguNzExIDkuMTMyIDI5LjM3NzQgMTIuMzE1M0gzNS4xMDQ2QzMzLjI1MTEgOC42NjggMzAuMTA3IDUuNzgzNDYgMjYuMjc2NyA0LjI1NTEyWk0xMC42MjI2IDEyLjMxNTNINC44OTI5M0M2Ljc1MTQ3IDguNjY3ODQgOS44OTM1MSA1Ljc4MzQxIDEzLjcyMzIgNC4yNTUxM0MxMi4zNjM1IDYuMzYwMjEgMTEuMjg5IDkuMTMyMDEgMTAuNjIyNiAxMi4zMTUzWk0zLjA1NDE5IDIwQzMuMDU0MTkgMjEuNjAzIDMuMjc3NDMgMjMuMTU3NSAzLjY5NDg0IDI0LjYzMDVIMTAuMTIxN0M5Ljk0NjE5IDIzLjE0MiA5Ljg1MjIyIDIxLjU5NDMgOS44NTIyMiAyMEM5Ljg1MjIyIDE4LjQwNTcgOS45NDYxOSAxNi44NTggMTAuMTIxNyAxNS4zNjk1SDMuNjk0ODRDMy4yNzc0MyAxNi44NDI1IDMuMDU0MTkgMTguMzk3IDMuMDU0MTkgMjBaTTI2LjI3NjYgMzUuNzQyN0MyNy42MzY1IDMzLjYzOTMgMjguNzExIDMwLjg2OCAyOS4zNzc0IDI3LjY4NDdIMzUuMTA0NkMzMy4yNTEgMzEuMzMyMiAzMC4xMDY4IDM0LjIxNzkgMjYuMjc2NiAzNS43NDI3Wk0xMy43MjM0IDM1Ljc0MjdDOS44OTM2OSAzNC4yMTc5IDYuNzUxNTUgMzEuMzMyNCA0Ljg5MjkzIDI3LjY4NDdIMTAuNjIyNkMxMS4yODkgMzAuODY4IDEyLjM2MzUgMzMuNjM5MyAxMy43MjM0IDM1Ljc0MjdaIiBmaWxsPSIjM0E0MkU5Ii8+Cjwvc3ZnPgo="},"displayName":"HTTP Request","typeVersion":4,"nodeCategories":[{"id":5,"name":"Development"},{"id":9,"name":"Core Nodes"}]},{"id":20,"icon":"fa:map-signs","name":"n8n-nodes-base.if","codex":{"data":{"alias":["Router","Filter","Condition","Logic","Boolean","Branch"],"details":"The IF node can be used to implement binary conditional logic in your workflow. You can set up one-to-many conditions to evaluate each item of data being inputted into the node. That data will either evaluate to TRUE or FALSE and route out of the node accordingly.\n\nThis node has multiple types of conditions: Bool, String, Number, and Date & Time.","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/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/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/automation-for-maintainers-of-open-source-projects/","icon":"🏷️","label":"How to automatically manage contributions to open-source projects"},{"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/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/why-this-product-manager-loves-workflow-automation-with-n8n/","icon":"🧠","label":"Why this Product Manager loves workflow automation with n8n"},{"url":"https://n8n.io/blog/sending-automated-congratulations-with-google-sheets-twilio-and-n8n/","icon":"🙌","label":"Sending Automated Congratulations with Google Sheets, 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/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/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.if/"}]},"categories":["Core Nodes"],"nodeVersion":"1.0","codexVersion":"1.0","subcategories":{"Core Nodes":["Flow"]}}},"group":"[\"transform\"]","defaults":{"name":"If","color":"#408000"},"iconData":{"icon":"map-signs","type":"icon"},"displayName":"If","typeVersion":2,"nodeCategories":[{"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":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":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":1247,"icon":"fa:comments","name":"@n8n/n8n-nodes-langchain.chatTrigger","codex":{"data":{"resources":{"primaryDocumentation":[{"url":"https://docs.n8n.io/integrations/builtin/core-nodes/n8n-nodes-langchain.chattrigger/"}]},"categories":["Core Nodes","Langchain"]}},"group":"[\"trigger\"]","defaults":{"name":"When chat message received"},"iconData":{"icon":"comments","type":"icon"},"displayName":"Chat Trigger","typeVersion":1,"nodeCategories":[{"id":9,"name":"Core Nodes"},{"id":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":[]}}