Generate AI Viral Videos with Seedance and Upload to TikTok, YouTube & Instagram

AI Viral Videos Workflow

Generate AI Viral Videos with Seedance

Introduction

This workflow allows creators to generate viral AI-powered videos using Seedance and automate posting to TikTok, YouTube, and Instagram. By leveraging AI, you can create engaging, trendy content faster than ever, combining visuals, text, and music optimized for each platform. This system saves time while giving you full creative control, letting you focus on ideas rather than repetitive editing tasks. With this workflow, even beginners can produce professional-quality viral videos with minimal effort.

The introduction covers the importance of planning your video concept, using AI to generate visual and audio content, and optimizing your output for social media algorithms. Seedance helps you generate video sequences automatically, while the automated posting scripts ensure consistent uploads across all platforms. The workflow ensures videos are not only visually appealing but also aligned with trending content formats, maximizing your reach and engagement.

In the following sections, you can insert your workflow code that handles AI video generation, editing, and automated posting. This structure ensures clarity, easy maintenance, and immediate functionality. Everything is modular: your workflow code executes seamlessly while the introduction and instructions remain intact, giving viewers or users a full understanding of your system.

Your Workflow Code

{ "nodes": [ { "parameters": { "content": "## | Step 1: Generate Clips (Seedance)\n", "height": 256, "width": 880, "color": 2 }, "id": "b0bfcf76-242e-46b9-b70d-9d569d20136b", "name": "Sticky Note10", "type": "n8n-nodes-base.stickyNote", "position": [ 1088, 800 ], "typeVersion": 1 }, { "parameters": { "content": "## | Step 2: Generate Sounds (Fal AI)\n", "height": 256, "width": 640, "color": 2 }, "id": "194bda13-961d-4209-91f9-b5bcc8969d39", "name": "Sticky Note13", "type": "n8n-nodes-base.stickyNote", "position": [ 2000, 800 ], "typeVersion": 1 }, { "parameters": { "content": "## | INPUT: Starting Idea Section", "height": 540, "width": 1560, "color": 7 }, "id": "7c81a4b7-672f-4df4-9452-a205385028d7", "name": "Sticky Note14", "type": "n8n-nodes-base.stickyNote", "position": [ 1088, 240 ], "typeVersion": 1 }, { "parameters": { "content": "## | Step 3: Stitch Video (Fal AI)", "height": 260, "width": 1560, "color": 3 }, "id": "bc65e9e0-1265-4013-9d6c-7a0a535d3996", "name": "Sticky Note", "type": "n8n-nodes-base.stickyNote", "position": [ 1088, 1088 ], "typeVersion": 1 }, { "parameters": { "content": "## | Step 4 — Publish Video to Social Media\n", "height": 760, "width": 1560, "color": 4 }, "id": "7325db24-3e91-422c-805f-4b20c9173231", "name": "Sticky Note2", "type": "n8n-nodes-base.stickyNote", "position": [ 1088, 1376 ], "typeVersion": 1, "disabled": true }, { "parameters": { "rule": { "interval": [ {} ] } }, "id": "a9ec7bac-5dcb-452c-b326-5caf7ba239ef", "name": "Trigger: Start Daily Content Generation", "type": "n8n-nodes-base.scheduleTrigger", "position": [ 1136, 336 ], "typeVersion": 1.2 }, { "parameters": {}, "id": "ff405b6a-9d01-4a5b-8b96-322cdac61d55", "name": "Tool: Inject Creative Perspective (Idea)", "type": "@n8n/n8n-nodes-langchain.toolThink", "position": [ 1584, 624 ], "typeVersion": 1 }, { "parameters": { "jsonSchemaExample": "[\n {\n \"Caption\": \"Diver Removes Nets Off Whale šŸ‹ #whalerescue #marinelife #oceanrescue #seahelpers #love #nature #instagood #explore #viral #savenature #oceanguardians #cleanoceans\",\n \"Idea\": \"Diver carefully cuts tangled net from distressed whale in open sea\",\n \"Environment\": \"Open ocean, sunlight beams through water, diver and whale, cinematic realism\",\n \"Sound\": \"Primary sound description under 15 words\",\n \"Status\": \"for production\"\n }\n]\n" }, "id": "58e66ae7-debf-45c2-aa99-8b507b5d56cb", "name": "Parse AI Output (Idea, Environment, Sound)", "type": "@n8n/n8n-nodes-langchain.outputParserStructured", "position": [ 1744, 624 ], "typeVersion": 1.2 }, { "parameters": { "operation": "append", "documentId": { "__rl": true, "mode": "id", "value": "=" }, "sheetName": { "__rl": true, "mode": "id", "value": "=" }, "columns": { "value": { "id": "==ROW()-1", "idea": "={{ $json.output[0].Idea }}", "caption": "={{ $json.output[0].Caption }}", "production": "={{ $json.output[0].Status }}", "sound_prompt": "={{ $json.output[0].Sound }}", "environment_prompt": "={{ $json.output[0].Environment }}" }, "schema": [ { "id": "id", "type": "string", "display": true, "removed": false, "required": false, "displayName": "id", "defaultMatch": true, "canBeUsedToMatch": true }, { "id": "idea", "type": "string", "display": true, "required": false, "displayName": "idea", "defaultMatch": false, "canBeUsedToMatch": true }, { "id": "caption", "type": "string", "display": true, "required": false, "displayName": "caption", "defaultMatch": false, "canBeUsedToMatch": true }, { "id": "production", "type": "string", "display": true, "required": false, "displayName": "production", "defaultMatch": false, "canBeUsedToMatch": true }, { "id": "environment_prompt", "type": "string", "display": true, "required": false, "displayName": "environment_prompt", "defaultMatch": false, "canBeUsedToMatch": true }, { "id": "sound_prompt", "type": "string", "display": true, "required": false, "displayName": "sound_prompt", "defaultMatch": false, "canBeUsedToMatch": true }, { "id": "final_output", "type": "string", "display": true, "removed": true, "required": false, "displayName": "final_output", "defaultMatch": false, "canBeUsedToMatch": true } ], "mappingMode": "defineBelow", "matchingColumns": [ "id" ], "attemptToConvertTypes": false, "convertFieldsToString": false }, "options": {} }, "id": "ad438d7b-b0f5-4801-87df-e313bfb9c83f", "name": "Save Idea & Metadata to Google Sheets", "type": "n8n-nodes-base.googleSheets", "position": [ 1920, 336 ], "typeVersion": 4.5, "credentials": {} }, { "parameters": { "model": { "__rl": true, "mode": "list", "value": "gpt-4.1", "cachedResultName": "gpt-4.1" }, "options": {} }, "id": "1d465451-7574-446b-b69f-94b5acc68e93", "name": "LLM: Draft Video Prompt Details (GPT-4.1)", "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi", "position": [ 2160, 624 ], "typeVersion": 1.2, "credentials": {} }, { "parameters": {}, "id": "7de105c4-c5d4-4b53-8453-2a396b172027", "name": "Tool: Refine and Validate Prompts1", "type": "@n8n/n8n-nodes-langchain.toolThink", "position": [ 2336, 624 ], "typeVersion": 1 }, { "parameters": { "jsonSchemaExample": "{\n \"Idea\": \"An obsidian rock being sliced with a shimmering knife\",\n \"Environment\": \"Clean studio table, subtle light reflections\",\n \"Sound\": \"Crisp slicing, deep grinding, and delicate crumbling\",\n \"Scene 1\": \"Extreme macro shot: a razor-sharp, polished knife blade presses into the dark, granular surface of an obsidian rock, just beginning to indent.\",\n \"Scene 2\": \"Close-up: fine, iridescent dust particles erupt from the point of contact as the blade cuts deeper into the obsidian, catching the studio light.\",\n \"Scene 3\": \"Mid-shot: the knife, held perfectly steady, has formed a shallow, clean groove across the obsidian's shimmering surface, revealing a new, smooth texture.\"\n}" }, "id": "0f0c5fbd-5051-4e11-a9a1-5f4fca652084", "name": "Parse Structured Video Prompt Output", "type": "@n8n/n8n-nodes-langchain.outputParserStructured", "position": [ 2496, 624 ], "typeVersion": 1.2 }, { "parameters": { "jsCode": "function findSceneEntries(obj) {\n const scenes = [];\n\n for (const [key, value] of Object.entries(obj)) {\n if (key.toLowerCase().startsWith(\"scene\") && typeof value === \"string\") {\n scenes.push(value);\n } else if (typeof value === \"object\" && value !== null) {\n scenes.push(...findSceneEntries(value));\n }\n }\n\n return scenes;\n}\n\nlet output = [];\n\ntry {\n const inputData = items[0].json;\n const scenes = findSceneEntries(inputData);\n\n if (scenes.length === 0) {\n throw new Error(\"No scene keys found at any level.\");\n }\n\n output = scenes.map(scene => ({ description: scene }));\n} catch (e) {\n throw new Error(\"Could not extract scenes properly. Details: \" + e.message);\n}\n\nreturn output;\n" }, "id": "a5b35e3b-6dfe-4148-afd7-6eaf25a76658", "name": "Extract Individual Scene Descriptions", "type": "n8n-nodes-base.code", "position": [ 1184, 880 ], "typeVersion": 2 }, { "parameters": { "amount": 4, "unit": "minutes" }, "id": "08abfd2d-8b1f-43d2-8cec-e65755184060", "name": "Wait for Clip Generation (Wavespeed AI)", "type": "n8n-nodes-base.wait", "position": [ 1584, 880 ], "webhookId": "e455bc41-86f8-4cff-bf9b-e07013f1b84b", "typeVersion": 1.1 }, { "parameters": { "url": "=https://api.wavespeed.ai/api/v3/predictions/{{ $json.data.id }}/result", "authentication": "genericCredentialType", "genericAuthType": "httpHeaderAuth", "options": {} }, "id": "1a9bc668-9f94-46d5-b615-8d2fc0f189aa", "name": "Retrieve Video Clips", "type": "n8n-nodes-base.httpRequest", "position": [ 1776, 880 ], "typeVersion": 4.2, "credentials": {} }, { "parameters": { "method": "POST", "url": "https://queue.fal.run/fal-ai/mmaudio-v2 ", "authentication": "genericCredentialType", "genericAuthType": "httpHeaderAuth", "sendBody": true, "specifyBody": "json", "jsonBody": "={\n \"prompt\": \"ASMR Soothing sound effects. {{$('Generate Detailed Video Prompts').item.json.output.Sound}}\",\n \"duration\": 10,\n \"video_url\": \"{{$json.data.outputs[0]}}\"\n}\n", "options": { "batching": { "batch": { "batchSize": 1, "batchInterval": 2000 } } } }, "id": "97119070-cee3-44e3-aea7-b3c74dbc63d9", "name": "Generate ASMR Sound (Fal AI)", "type": "n8n-nodes-base.httpRequest", "position": [ 2064, 880 ], "typeVersion": 4.2, "credentials": {} }, { "parameters": { "amount": 4, "unit": "minutes" }, "id": "a7c6bedd-d091-464d-ba9c-63fa5fcaad0e", "name": "Wait for Sound Generation (Fal AI)", "type": "n8n-nodes-base.wait", "position": [ 2256, 880 ], "webhookId": "e8e18e73-aa86-4e39-9bf3-3796a4bd7efc", "typeVersion": 1.1 }, { "parameters": { "url": "=https://queue.fal.run/fal-ai/mmaudio-v2/requests/{{ $json.request_id }}", "authentication": "genericCredentialType", "genericAuthType": "httpHeaderAuth", "options": {} }, "id": "98b705bc-7209-4f63-ac20-29e32fa8745d", "name": "Retrieve Final Sound Output", "type": "n8n-nodes-base.httpRequest", "position": [ 2464, 880 ], "typeVersion": 4.2, "credentials": {} }, { "parameters": { "jsCode": "return [\n {\n video_urls: items.map(item => item.json.video.url)\n }\n];" }, "id": "d5d687e8-2043-4c0a-83fa-216e02810f68", "name": "List Clip URLs for Stitching", "type": "n8n-nodes-base.code", "position": [ 1184, 1136 ], "typeVersion": 2 }, { "parameters": { "method": "POST", "url": "https://queue.fal.run/fal-ai/ffmpeg-api/compose", "authentication": "genericCredentialType", "genericAuthType": "httpHeaderAuth", "sendBody": true, "contentType": "raw", "rawContentType": "application/json", "body": "={\n \"tracks\": [\n {\n \"id\": \"1\",\n \"type\": \"video\",\n \"keyframes\": [\n { \"url\": \"{{ $json.video_urls[0] }}\", \"timestamp\": 0, \"duration\": 10 },\n { \"url\": \"{{ $json.video_urls[1] }}\", \"timestamp\": 10, \"duration\": 10 },\n { \"url\": \"{{ $json.video_urls[2] }}\", \"timestamp\": 20, \"duration\": 10 }\n ]\n }\n ]\n}", "options": { "batching": { "batch": { "batchSize": 1, "batchInterval": 2000 } } } }, "id": "bd5d153b-9636-4939-b13a-6f9119ff7f91", "name": "Merge Clips into Final Video (Fal AI)", "type": "n8n-nodes-base.httpRequest", "position": [ 1376, 1136 ], "typeVersion": 4.2, "credentials": {} }, { "parameters": { "amount": 4, "unit": "minutes" }, "id": "5d63981d-857a-4912-bab2-8c5023e4b6f7", "name": "Wait for Video Rendering (Fal AI)", "type": "n8n-nodes-base.wait", "position": [ 1584, 1136 ], "webhookId": "07938be9-7910-4908-b554-64f43be9e763", "typeVersion": 1.1 }, { "parameters": { "url": "=https://queue.fal.run/fal-ai/ffmpeg-api/requests/{{ $json.request_id }}", "authentication": "genericCredentialType", "genericAuthType": "httpHeaderAuth", "options": {} }, "id": "a2325f16-6c9a-4e31-aacc-fec98bdf30ac", "name": "Retrieve Final Merged Video", "type": "n8n-nodes-base.httpRequest", "position": [ 1776, 1136 ], "typeVersion": 4.2, "credentials": {} }, { "parameters": { "operation": "update", "documentId": { "__rl": true, "mode": "id", "value": "=" }, "sheetName": { "__rl": true, "mode": "id", "value": "=" }, "columns": { "value": { "idea": "={{ $('Save Idea & Metadata to Google Sheets').first().json.idea }}", "production": "done", "final_output": "={{ $json.video_url }}" }, "schema": [ { "id": "id", "type": "string", "display": true, "removed": true, "required": false, "displayName": "id", "defaultMatch": true, "canBeUsedToMatch": true }, { "id": "idea", "type": "string", "display": true, "removed": false, "required": false, "displayName": "idea", "defaultMatch": false, "canBeUsedToMatch": true }, { "id": "caption", "type": "string", "display": true, "removed": true, "required": false, "displayName": "caption", "defaultMatch": false, "canBeUsedToMatch": true }, { "id": "production", "type": "string", "display": true, "required": false, "displayName": "production", "defaultMatch": false, "canBeUsedToMatch": true }, { "id": "environment_prompt", "type": "string", "display": true, "removed": true, "required": false, "displayName": "environment_prompt", "defaultMatch": false, "canBeUsedToMatch": true }, { "id": "sound_prompt", "type": "string", "display": true, "removed": true, "required": false, "displayName": "sound_prompt", "defaultMatch": false, "canBeUsedToMatch": true }, { "id": "final_output", "type": "string", "display": true, "required": false, "displayName": "final_output", "defaultMatch": false, "canBeUsedToMatch": true }, { "id": "row_number", "type": "number", "display": true, "removed": true, "readOnly": true, "required": false, "displayName": "row_number", "defaultMatch": false, "canBeUsedToMatch": true } ], "mappingMode": "defineBelow", "matchingColumns": [ "idea" ], "attemptToConvertTypes": false, "convertFieldsToString": false }, "options": {} }, "id": "cc0c7ce6-f77e-4a72-b317-e2196e4894c5", "name": "URL Final Video", "type": "n8n-nodes-base.googleSheets", "position": [ 2464, 1136 ], "typeVersion": 4.5, "credentials": {} }, { "parameters": { "content": "# šŸŽ¬ Generate AI Videos with Seedance & Blotato, Upload to TikTok, YouTube & Instagram \n\n---\n\n## šŸŽ„ Full Tutorial \n\n## [Video Tutorial](https://youtu.be/AzOgpdn8ngY) \n@[youtube](AzOgpdn8ngY)\n\n---\n\n## šŸ“˜ Documentation \nAccess detailed instructions, API guides, platform connections, and workflow customization: \n\nšŸ“Ž [Open full documentation on Notion](https://automatisation.notion.site/Generate-AI-Videos-with-Seedance-Blotato-and-Upload-to-TikTok-YouTube-Instagram-version-II-21d3d6550fd980218096d84f31bfae2d?source=copy_link)\n\n---\n\n## ⚙️ Requirements\n\n1. ✅ **OpenAI API Key** (added in LLM nodes) \n2. šŸŽØ **Seedance AI & Wavespeed AI credentials** (for prompt and video clip generation) \n3. šŸ”Š **Fal AI API Key** (for sound effects + stitching via ffmpeg API) \n4. šŸ“¦ **n8n installed** (latest version recommended) \n5. šŸ“ **Google Sheets connected** (used to log ideas and outputs) \n šŸ‘‰ [Google Sheet to copy](https://docs.google.com/spreadsheets/d/1Vd4XjcKZR_8cJ-2uqhOMZGc6GOULuHh_K3iDPvovw9E/copy) \n6. ☁️ **Blotato API Key + configured social accounts** (TikTok, YouTube, Instagram, etc.) \n7. ⏰ **Schedule Trigger setup** to define generation/publishing frequency \n\n---\n\n## šŸ“ Workflow Steps in n8n\n\n1. **Trigger / Start Node** \n Example: scheduled trigger or manual execution. \n\n2. **Content Creation** \n - OpenAI + LangChain generate creative ideas. \n - Seedance produces detailed video prompts. \n - Wavespeed AI generates video clips. \n - Fal AI adds sound + final editing (ffmpeg API). \n\n3. **Logging & Upload** \n - Metadata + links saved in Google Sheets. \n - Automatic upload via **Blotato**. \n - Publish to TikTok, YouTube, Instagram, etc. \n\n---\n\n## šŸŽ› Need help customizing?\n\n**Contact me for consulting and support:** [LinkedIn](https://www.linkedin.com/in/dr-firas/) / [YouTube](https://www.youtube.com/@DRFIRASS) \n", "height": 1892, "width": 700, "color": 6 }, "id": "25073052-c9f9-49a2-89c9-3fda74f9cef8", "name": "Sticky Note11", "type": "n8n-nodes-base.stickyNote", "position": [ 368, 240 ], "typeVersion": 1 }, { "parameters": { "promptType": "define", "text": "Generate a creative concept involving:\n\n[[\nA solid, hard material or element being sliced cleanly with a sharp blade. Your response must follow this structure:\n\n\"(Color) (Material) shaped like a (random everyday object)\"\n\nFor inspiration, imagine examples like: obsidian shaped like a chess piece, quartz shaped like a coffee mug, sapphire shaped like a seashell, or titanium shaped like a leaf.\n\n]]\n\nReflect carefully before answering to ensure originality and visual appeal.\n\nUse the Think tool to review your output", "hasOutputParser": true, "options": { "systemMessage": "=**Role:** \nYou are an AI designed to generate **one immersive, realistic idea** based on a user-provided topic. Your output must be formatted as a **single-line JSON array** and follow the rules below exactly.\n\n---\n\n### RULES\n\n1. **Number of ideas** \n - Return **only one idea**.\n\n2. **Topic** \n - The user will provide a keyword (e.g., “glass cutting ASMR,” “wood carving sounds,” “satisfying rock splits”).\n\n3. **Idea** \n - Maximum 13 words. \n - Describe a viral-worthy, original, or surreal moment related to the topic.\n\n4. **Caption** \n - Short, punchy, viral-friendly. \n - Include **one emoji**. \n - Exactly **12 hashtags** in this order: \n 1. 4 topic-relevant hashtags \n 2. 4 all-time most popular hashtags \n 3. 4 currently trending hashtags (based on live research) \n - All in lowercase.\n\n5. **Environment** \n - Maximum 20 words. \n - Must match the action in the Idea exactly. \n - Specify location (studio table, natural terrain, lab bench…), visual details (dust particles, polished surface, subtle reflections…), and style (macro close-up, cinematic slow-motion, minimalist…).\n\n6. **Sound** \n - Maximum 15 words. \n - Describe the primary sound for the scene (to feed into an audio model).\n\n7. **Status** \n - Always set to `\"for production\"`.\n\n---\n\n### OUTPUT FORMAT (single-line JSON array)\n\n```json\n[\n {\n \"Caption\": \"Your short viral title with emoji #4_topic_hashtags #4_all_time_popular_hashtags #4_trending_hashtags\",\n \"Idea\": \"Your idea under 13 words\",\n \"Environment\": \"Your vivid setting under 20 words matching the action\",\n \"Sound\": \"Your primary sound description under 15 words\",\n \"Status\": \"for production\"\n }\n]\n" } }, "id": "95548f68-3784-4cfa-8f26-88672710982a", "name": "Generate Creative Video Idea", "type": "@n8n/n8n-nodes-langchain.agent", "position": [ 1456, 336 ], "typeVersion": 1.9 }, { "parameters": { "promptType": "define", "text": "=Give me 3 video prompts based on the previous idea\n\nUse the Think tool to review your output", "hasOutputParser": true, "options": { "systemMessage": "=Role: You are a prompt-generation AI specializing in cinematic, ASMR-style video prompts. Your task is to generate a multi-scene video sequence that vividly shows a sharp knife actively cutting through a specific object in a clean, high-detail setting.\n\nYour writing must follow this style:\n\nSharp, precise cinematic realism.\n\nMacro-level detail with tight focus on the blade interacting with the object.\n\nThe knife must always be in motion — slicing, splitting, or gliding through the material. Never idle or static.\n\nCamera terms are allowed (e.g. macro view, tight angle, over-the-blade shot).\n\nEach scene must contain all of the following, expressed through detailed visual language:\n\n✅ The main object or subject (from the Idea)\n\n✅ The cutting environment or surface (from the Environment)\n\n✅ The texture, structure, and behavior of the material as it’s being cut\n\n✅ A visible, sharp blade actively cutting\n\nDescriptions should show:\n\nThe physical makeup of the material — is it translucent, brittle, dense, reflective, granular, fibrous, layered, or fluid-filled?\n\nHow the material responds to the blade — resistance, cracking, tearing, smooth separation, tension, vibration.\n\nThe interaction between the blade and the surface — light reflection, buildup of particles, contact points, residue or dust.\n\nAny ASMR-relevant sensory cues like particle release, shimmer, or subtle movement, but always shown visually — not narrated.\n\nTone:\n\nClean, clinical, visual.\n\nNo poetic metaphors, emotion, or storytelling.\n\nAvoid fantasy or surreal imagery.\n\nAll description must feel physically grounded and logically accurate.\n\nLength:\n\nEach scene must be between 1,000 and 2,000 characters.\n\nNo shallow or repetitive scenes — each must be immersive, descriptive, and specific.\n\nEach scene should explore a distinct phase of the cutting process, a different camera perspective, or a new behavior of the material under the blade.\n\nInputs:\n\nIdea: \"{{ $json.idea }}\"\nEnvironment: \"{{ $json.environment_prompt }}\"\nSound: \"{{ $json.sound_prompt }}\"\n\nFormat:\n\nIdea: \"...\"\nEnvironment: \"...\"\nSound: \"...\"\n\nScene 1: \"...\"\nScene 2: \"...\"\nScene 3: \"...\"\nScene 4: \"...\"\nScene 5: \"...\"\nScene 6: \"...\"\nScene 7: \"...\"\nScene 8: \"...\"\nScene 9: \"...\"\nScene 10: \"...\"\nScene 11: \"...\"\nScene 12: \"...\"\nScene 13: \"...\"\n\n" } }, "id": "3d72df45-beca-4a5b-b0dd-1a8ed583d952", "name": "Generate Detailed Video Prompts", "type": "@n8n/n8n-nodes-langchain.agent", "position": [ 2256, 336 ], "typeVersion": 1.9 }, { "parameters": { "method": "POST", "url": "https://api.wavespeed.ai/api/v3/bytedance/seedance-v1-pro-t2v-480p", "authentication": "genericCredentialType", "genericAuthType": "httpHeaderAuth", "sendBody": true, "specifyBody": "json", "jsonBody": "={\n \"aspect_ratio\": \"9:16\",\n \"duration\": 10,\n \"prompt\": \"VIDEO THEME: {{$('Generate Detailed Video Prompts').item.json.output.Idea}} | WHAT HAPPENS IN THE VIDEO: {{$json.description}} | WHERE THE VIDEO IS SHOT: {{$('Generate Detailed Video Prompts').item.json.output.Environment}}\"\n}\n", "options": { "batching": { "batch": { "batchSize": 1, "batchInterval": 3000 } } } }, "id": "d31597c6-f9e3-48d6-8a61-9a4424ef7021", "name": "Generate Video Clips (seedance)", "type": "n8n-nodes-base.httpRequest", "position": [ 1376, 880 ], "typeVersion": 4.2, "credentials": {} }, { "parameters": { "mediaUrl": "={{ $json.final_output }}", "resource": "media" }, "id": "6c89b710-f5b6-43d8-b5d6-19ee65a21178", "name": "Upload Video to BLOTATO", "type": "@blotato/n8n-nodes-blotato.blotato", "position": [ 1184, 1904 ], "typeVersion": 2, "credentials": {} }, { "parameters": { "options": {}, "platform": "youtube", "accountId": { "__rl": true, "mode": "list", "value": "8047", "cachedResultUrl": "https://backend.blotato.com/v2/accounts/8047", "cachedResultName": "DR FIRASS (Dr. Firas)" }, "postContentText": "={{ $('Save Idea & Metadata to Google Sheets').first().json.caption }}", "postContentMediaUrls": "={{ $json.url }}", "postCreateYoutubeOptionTitle": "={{ $('Save Idea & Metadata to Google Sheets').first().json.idea }}", "postCreateYoutubeOptionPrivacyStatus": "private", "postCreateYoutubeOptionShouldNotifySubscribers": false }, "id": "dc0d81e5-e79f-4cac-8f70-2f3cb0245a4f", "name": "Youtube", "type": "@blotato/n8n-nodes-blotato.blotato", "position": [ 2000, 1696 ], "typeVersion": 2, "credentials": {} }, { "parameters": { "options": {}, "platform": "tiktok", "accountId": { "__rl": true, "mode": "list", "value": "2079", "cachedResultUrl": "https://backend.blotato.com/v2/accounts/2079", "cachedResultName": "elitecybzcs" }, "postContentText": "={{ $('Save Idea & Metadata to Google Sheets').first().json.caption }}", "postContentMediaUrls": "={{ $json.url }}" }, "id": "72b01b16-ec37-4213-b373-61ff189be5ce", "name": "Tiktok", "type": "@blotato/n8n-nodes-blotato.blotato", "position": [ 1632, 1520 ], "typeVersion": 2, "credentials": {} }, { "parameters": { "mode": "chooseBranch", "numberInputs": 9 }, "id": "ecefa11f-55e1-47ca-8f1a-6e8fc4a6e1da", "name": "Merge", "type": "n8n-nodes-base.merge", "position": [ 2288, 1600 ], "typeVersion": 3.2 }, { "parameters": { "operation": "appendOrUpdate", "documentId": { "__rl": true, "mode": "id", "value": "=" }, "sheetName": { "__rl": true, "mode": "id", "value": "=" }, "columns": { "value": { "idea": "={{ $('Save Idea & Metadata to Google Sheets').first().json.idea }}", "production": "Publish" }, "schema": [ { "id": "id", "type": "string", "display": true, "removed": true, "required": false, "displayName": "id", "defaultMatch": true, "canBeUsedToMatch": true }, { "id": "idea", "type": "string", "display": true, "removed": false, "required": false, "displayName": "idea", "defaultMatch": false, "canBeUsedToMatch": true }, { "id": "caption", "type": "string", "display": true, "removed": true, "required": false, "displayName": "caption", "defaultMatch": false, "canBeUsedToMatch": true }, { "id": "production", "type": "string", "display": true, "removed": false, "required": false, "displayName": "production", "defaultMatch": false, "canBeUsedToMatch": true }, { "id": "environment_prompt", "type": "string", "display": true, "removed": true, "required": false, "displayName": "environment_prompt", "defaultMatch": false, "canBeUsedToMatch": true }, { "id": "sound_prompt", "type": "string", "display": true, "removed": true, "required": false, "displayName": "sound_prompt", "defaultMatch": false, "canBeUsedToMatch": true }, { "id": "final_output", "type": "string", "display": true, "removed": true, "required": false, "displayName": "final_output", "defaultMatch": false, "canBeUsedToMatch": true } ], "mappingMode": "defineBelow", "matchingColumns": [ "idea" ], "attemptToConvertTypes": false, "convertFieldsToString": false }, "options": {} }, "id": "9b1c4354-4710-4e01-bc39-357da758fc1e", "name": "Update Status to \"DONE\"", "type": "n8n-nodes-base.googleSheets", "position": [ 2464, 1712 ], "typeVersion": 4.5, "credentials": {} }, { "parameters": { "options": {}, "platform": "linkedin", "accountId": { "__rl": true, "mode": "list", "value": "1446", "cachedResultUrl": "https://backend.blotato.com/v2/accounts/1446", "cachedResultName": "Samuel Amalric" }, "postContentText": "={{ $('Save Idea & Metadata to Google Sheets').first().json.caption }}", "postContentMediaUrls": "={{ $json.url }}" }, "id": "aa5e2e2a-4796-4227-acbc-f35ed12d1f84", "name": "Linkedin", "type": "@blotato/n8n-nodes-blotato.blotato", "position": [ 1824, 1520 ], "typeVersion": 2, "credentials": {} }, { "parameters": { "options": {}, "platform": "facebook", "accountId": { "__rl": true, "mode": "list", "value": "1759", "cachedResultUrl": "https://backend.blotato.com/v2/accounts/1759", "cachedResultName": "Firass Ben" }, "facebookPageId": { "__rl": true, "mode": "list", "value": "101603614680195", "cachedResultUrl": "https://backend.blotato.com/v2/accounts/1759/subaccounts/101603614680195", "cachedResultName": "Dr. Firas" }, "postContentText": "={{ $('Save Idea & Metadata to Google Sheets').first().json.caption }}", "postContentMediaUrls": "={{ $json.url }}" }, "id": "0e0bf2c4-fba7-47f8-976b-8ac59e7e7c2a", "name": "Facebook", "type": "@blotato/n8n-nodes-blotato.blotato", "position": [ 2000, 1520 ], "typeVersion": 2, "credentials": {} }, { "parameters": { "options": {}, "accountId": { "__rl": true, "mode": "list", "value": "11892", "cachedResultUrl": "https://backend.blotato.com/v2/accounts/11892", "cachedResultName": "doc.firass" }, "postContentText": "={{ $('Save Idea & Metadata to Google Sheets').first().json.caption }}", "postContentMediaUrls": "={{ $json.url }}" }, "id": "e7c07757-8d72-41bd-bb00-da0faed38e8a", "name": "Instagram", "type": "@blotato/n8n-nodes-blotato.blotato", "position": [ 1632, 1696 ], "typeVersion": 2, "credentials": {} }, { "parameters": { "options": {}, "platform": "threads", "accountId": { "__rl": true, "mode": "list", "value": "2280", "cachedResultUrl": "https://backend.blotato.com/v2/accounts/2280", "cachedResultName": "doc.firass" }, "postContentText": "={{ $('Save Idea & Metadata to Google Sheets').first().json.caption }}", "postContentMediaUrls": "={{ $json.url }}" }, "id": "d2e3223b-8355-42e1-a145-fbf6888725ef", "name": "Threads", "type": "@blotato/n8n-nodes-blotato.blotato", "position": [ 1632, 1904 ], "typeVersion": 2, "credentials": {} }, { "parameters": { "options": {}, "platform": "bluesky", "accountId": { "__rl": true, "mode": "list", "value": "6012", "cachedResultUrl": "https://backend.blotato.com/v2/accounts/6012", "cachedResultName": "formationinternet.bsky.social" }, "postContentText": "={{ $('Save Idea & Metadata to Google Sheets').first().json.caption }}", "postContentMediaUrls": "={{ $json.url }}" }, "id": "03ef5dad-624d-49fa-85f8-767bdcd3f5ac", "name": "Bluesky", "type": "@blotato/n8n-nodes-blotato.blotato", "position": [ 1824, 1904 ], "typeVersion": 2, "credentials": {} }, { "parameters": { "options": {}, "platform": "pinterest", "accountId": { "__rl": true, "mode": "list", "value": "363", "cachedResultUrl": "https://backend.blotato.com/v2/accounts/363", "cachedResultName": "formationinternet2022" }, "postContentText": "={{ $('Save Idea & Metadata to Google Sheets').first().json.caption }}", "pinterestBoardId": { "__rl": true, "mode": "id", "value": "1146658823815436667" }, "postContentMediaUrls": "={{ $json.url }}" }, "id": "cdf84688-a254-4288-9cbc-b5c66f09cea0", "name": "Pinterest", "type": "@blotato/n8n-nodes-blotato.blotato", "position": [ 2000, 1904 ], "typeVersion": 2, "credentials": {} }, { "parameters": { "options": {}, "platform": "twitter", "accountId": { "__rl": true, "mode": "list", "value": "1289", "cachedResultUrl": "https://backend.blotato.com/v2/accounts/1289", "cachedResultName": "Docteur_Firas" }, "postContentText": "={{ $('Save Idea & Metadata to Google Sheets').first().json.caption }}", "postContentMediaUrls": "={{ $json.url }}" }, "id": "9576e941-bd26-4b47-ae0d-4ec50350d9a3", "name": "Twitter (X)", "type": "@blotato/n8n-nodes-blotato.blotato", "position": [ 1824, 1696 ], "typeVersion": 2, "credentials": {} }, { "parameters": { "model": { "__rl": true, "mode": "list", "value": "gpt-5-mini", "cachedResultName": "gpt-5-mini" }, "options": {} }, "id": "3912175b-5ccd-4b8e-8092-943ee7952434", "name": "LLM: Generate Raw Idea (GPT-5)", "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi", "position": [ 1408, 624 ], "typeVersion": 1.2, "credentials": {} } ], "connections": { "Trigger: Start Daily Content Generation": { "main": [ [ { "node": "Generate Creative Video Idea", "type": "main", "index": 0 } ] ] }, "Tool: Inject Creative Perspective (Idea)": { "ai_tool": [ [ { "node": "Generate Creative Video Idea", "type": "ai_tool", "index": 0 } ] ] }, "Parse AI Output (Idea, Environment, Sound)": { "ai_outputParser": [ [ { "node": "Generate Creative Video Idea", "type": "ai_outputParser", "index": 0 } ] ] }, "Save Idea & Metadata to Google Sheets": { "main": [ [ { "node": "Generate Detailed Video Prompts", "type": "main", "index": 0 } ] ] }, "LLM: Draft Video Prompt Details (GPT-4.1)": { "ai_languageModel": [ [ { "node": "Generate Detailed Video Prompts", "type": "ai_languageModel", "index": 0 } ] ] }, "Tool: Refine and Validate Prompts1": { "ai_tool": [ [ { "node": "Generate Detailed Video Prompts", "type": "ai_tool", "index": 0 } ] ] }, "Parse Structured Video Prompt Output": { "ai_outputParser": [ [ { "node": "Generate Detailed Video Prompts", "type": "ai_outputParser", "index": 0 } ] ] }, "Extract Individual Scene Descriptions": { "main": [ [ { "node": "Generate Video Clips (seedance)", "type": "main", "index": 0 } ] ] }, "Wait for Clip Generation (Wavespeed AI)": { "main": [ [ { "node": "Retrieve Video Clips", "type": "main", "index": 0 } ] ] }, "Retrieve Video Clips": { "main": [ [ { "node": "Generate ASMR Sound (Fal AI)", "type": "main", "index": 0 } ] ] }, "Generate ASMR Sound (Fal AI)": { "main": [ [ { "node": "Wait for Sound Generation (Fal AI)", "type": "main", "index": 0 } ] ] }, "Wait for Sound Generation (Fal AI)": { "main": [ [ { "node": "Retrieve Final Sound Output", "type": "main", "index": 0 } ] ] }, "Retrieve Final Sound Output": { "main": [ [ { "node": "List Clip URLs for Stitching", "type": "main", "index": 0 } ] ] }, "List Clip URLs for Stitching": { "main": [ [ { "node": "Merge Clips into Final Video (Fal AI)", "type": "main", "index": 0 } ] ] }, "Merge Clips into Final Video (Fal AI)": { "main": [ [ { "node": "Wait for Video Rendering (Fal AI)", "type": "main", "index": 0 } ] ] }, "Wait for Video Rendering (Fal AI)": { "main": [ [ { "node": "Retrieve Final Merged Video", "type": "main", "index": 0 } ] ] }, "Retrieve Final Merged Video": { "main": [ [ { "node": "URL Final Video", "type": "main", "index": 0 } ] ] }, "URL Final Video": { "main": [ [ { "node": "Upload Video to BLOTATO", "type": "main", "index": 0 } ] ] }, "Generate Creative Video Idea": { "main": [ [ { "node": "Save Idea & Metadata to Google Sheets", "type": "main", "index": 0 } ] ] }, "Generate Detailed Video Prompts": { "main": [ [ { "node": "Extract Individual Scene Descriptions", "type": "main", "index": 0 } ] ] }, "Generate Video Clips (seedance)": { "main": [ [ { "node": "Wait for Clip Generation (Wavespeed AI)", "type": "main", "index": 0 } ] ] }, "Upload Video to BLOTATO": { "main": [ [ { "node": "Tiktok", "type": "main", "index": 0 }, { "node": "Linkedin", "type": "main", "index": 0 }, { "node": "Facebook", "type": "main", "index": 0 }, { "node": "Instagram", "type": "main", "index": 0 }, { "node": "Twitter (X)", "type": "main", "index": 0 }, { "node": "Youtube", "type": "main", "index": 0 }, { "node": "Threads", "type": "main", "index": 0 }, { "node": "Bluesky", "type": "main", "index": 0 }, { "node": "Pinterest", "type": "main", "index": 0 } ] ] }, "Youtube": { "main": [ [ { "node": "Merge", "type": "main", "index": 5 } ] ] }, "Tiktok": { "main": [ [ { "node": "Merge", "type": "main", "index": 0 } ] ] }, "Merge": { "main": [ [ { "node": "Update Status to \"DONE\"", "type": "main", "index": 0 } ] ] }, "Update Status to \"DONE\"": { "main": [ [] ] }, "Linkedin": { "main": [ [ { "node": "Merge", "type": "main", "index": 1 } ] ] }, "Facebook": { "main": [ [ { "node": "Merge", "type": "main", "index": 2 } ] ] }, "Instagram": { "main": [ [ { "node": "Merge", "type": "main", "index": 3 } ] ] }, "Threads": { "main": [ [ { "node": "Merge", "type": "main", "index": 6 } ] ] }, "Bluesky": { "main": [ [ { "node": "Merge", "type": "main", "index": 7 } ] ] }, "Pinterest": { "main": [ [ { "node": "Merge", "type": "main", "index": 8 } ] ] }, "Twitter (X)": { "main": [ [ { "node": "Merge", "type": "main", "index": 4 } ] ] }, "LLM: Generate Raw Idea (GPT-5)": { "ai_languageModel": [ [ { "node": "Generate Creative Video Idea", "type": "ai_languageModel", "index": 0 } ] ] } }, "pinData": {}, "meta": { "instanceId": "51010d81a71c6cf169d62b2b72047298b92dc816b82240412188556876a110ad", "templateCredsSetupCompleted": true } }

Comments