{
  "name": "Create AI product review videos with Gemini, Veo 3, Blotato and Google Sheets",
  "nodes": [
    {
      "id": "9be96357-f528-4e8b-9ded-fc6f9df265bb",
      "name": "Google Gemini Chat Model",
      "type": "@n8n/n8n-nodes-langchain.lmChatGoogleGemini",
      "position": [
        -1184,
        176
      ]
    },
    {
      "id": "8df6e615-8000-4f6f-b7f6-6c8d25624167",
      "name": "Structured Output Parser1",
      "type": "@n8n/n8n-nodes-langchain.outputParserStructured",
      "position": [
        -944,
        144
      ]
    },
    {
      "id": "851b173f-5093-4e3c-823d-e017ec18d9d6",
      "name": "Wait3",
      "type": "n8n-nodes-base.wait",
      "position": [
        -240,
        272
      ]
    },
    {
      "id": "34dfb73c-db8a-4768-bc10-d0c1450a0b87",
      "name": "Get Images",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        -16,
        272
      ]
    },
    {
      "id": "039910b6-1255-4239-ba1a-2d27ccc75320",
      "name": "Generate Images",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        -448,
        272
      ]
    },
    {
      "id": "8fb2e5e3-265c-4989-b127-e64475d93bb3",
      "name": "Google Gemini Chat Model1",
      "type": "@n8n/n8n-nodes-langchain.lmChatGoogleGemini",
      "position": [
        -1184,
        992
      ]
    },
    {
      "id": "c0d1d207-9a4e-4ed2-b39f-d09e1b12beea",
      "name": "Generate Videos",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        -384,
        752
      ]
    },
    {
      "id": "746a1c77-f782-474c-9ab0-1ee57ca4a94f",
      "name": "Wait1",
      "type": "n8n-nodes-base.wait",
      "position": [
        -192,
        752
      ]
    },
    {
      "id": "8e70b0e6-55f8-4597-a5a4-28e1128aecab",
      "name": "Get Videos",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        -16,
        752
      ]
    },
    {
      "id": "4e3157e7-02c0-4149-919c-b8b6b846982e",
      "name": "If1",
      "type": "n8n-nodes-base.if",
      "position": [
        160,
        752
      ]
    },
    {
      "id": "04ef9a4a-7a46-4358-a59e-f742a7b83a23",
      "name": "Code in JavaScript",
      "type": "n8n-nodes-base.code",
      "position": [
        -1264,
        1424
      ]
    },
    {
      "id": "1edb4090-0a50-4534-9b9b-fe43cbc2a503",
      "name": "Upload media",
      "type": "@blotato/n8n-nodes-blotato.blotato",
      "position": [
        -480,
        1424
      ]
    },
    {
      "id": "af58fd15-ed8e-4e3d-a154-9afed6298596",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -656,
        560
      ],
      "parameters": {
        "width": 1024,
        "height": 576,
        "content": "## Video Generation\nGenerate short video scenes from the video prompts and monitor rendering status.\nEach scene is processed independently before being merged into the final video.\n"
      }
    },
    {
      "id": "b38141d2-c511-4d92-b333-dd514963ff96",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1504,
        1136
      ],
      "parameters": {
        "width": 848,
        "height": 672,
        "content": "## Video Merge\nMerge all generated video scenes into a single final product review video.\nThis step prepares the video for publishing without manual editing.\n\n"
      }
    },
    {
      "id": "bcc9b865-edde-439f-9933-fe8a18e89601",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1504,
        560
      ],
      "parameters": {
        "width": 848,
        "height": 576,
        "content": "## Video Prompt Generation\nGenerate structured video prompts for each scene based on the product review script.\nEach prompt represents a short segment of the final product review video.\n\n"
      }
    },
    {
      "id": "d4789257-7f33-4e4f-867d-368569aaec9f",
      "name": "Sticky Note3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -656,
        16
      ],
      "parameters": {
        "width": 1024,
        "height": 544,
        "content": "## Image Generation\nGenerate AI-based product images using the structured image prompts.\nThese images are used as visual references for the video generation stage.\n\n"
      }
    },
    {
      "id": "2d1bea5b-208c-4ec0-b197-46ba85f7f5d0",
      "name": "Sticky Note4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1504,
        16
      ],
      "parameters": {
        "width": 848,
        "height": 544,
        "content": "## Image Prompt Generation\nAnalyze the product image to extract visual context and generate structured image prompts.\nThese prompts are reused later to ensure visual consistency across generated scene"
      }
    },
    {
      "id": "22577962-9fc1-4a82-a6fa-cfbd201f44cb",
      "name": "Sticky Note5",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -656,
        1136
      ],
      "parameters": {
        "width": 1024,
        "height": 672,
        "content": "## Publish & Log\nPublish the final video to social media platforms.\nPublishing results, including success and error states, are logged to Google Sheets for tracking.\n\n\n"
      }
    },
    {
      "id": "994a9248-118b-411f-8553-77ad2278759c",
      "name": "Sticky Note7",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -2768,
        0
      ],
      "parameters": {
        "width": 800,
        "height": 848,
        "content": "## 🛠️ Workflow Setup Guide\n\nAuthor: [GiangxAI](https://www.youtube.com/@giangxai.official)\n\n## How it works\n\n- Submit a product image and basic product information through a form as the workflow input"
      }
    },
    {
      "id": "5c6032e1-0b5c-4aeb-8a9f-9e497d1e86f7",
      "name": "Product Image & Info Input",
      "type": "n8n-nodes-base.formTrigger",
      "position": [
        -1744,
        288
      ]
    },
    {
      "id": "5a86273a-63b8-447d-9875-d54d78e0f1e0",
      "name": "Analyze Product Image",
      "type": "@n8n/n8n-nodes-langchain.googleGemini",
      "position": [
        -1312,
        288
      ]
    },
    {
      "id": "5171befd-2ab5-4379-9bbe-6e7b323a0d54",
      "name": "AI Prompt Agent",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        -1024,
        288
      ]
    },
    {
      "id": "61d6ed9c-cb12-478d-a007-db2ed6a58248",
      "name": "Split Video Prompts",
      "type": "n8n-nodes-base.splitOut",
      "position": [
        -896,
        736
      ]
    },
    {
      "id": "e001fc36-f200-4eb8-be2c-7fb4069a14e4",
      "name": "Video Prompt Parser",
      "type": "@n8n/n8n-nodes-langchain.outputParserStructured",
      "position": [
        -1072,
        1008
      ]
    },
    {
      "id": "9282cfe8-8b80-4425-8ef1-d3ce61ddd31d",
      "name": "Create Video Prompt",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        -1232,
        736
      ]
    },
    {
      "id": "c542088d-a110-4142-993b-e67ecf387bf2",
      "name": "Loop Video Prompts",
      "type": "n8n-nodes-base.splitInBatches",
      "position": [
        -560,
        752
      ]
    },
    {
      "id": "75910483-ea6d-4924-9f70-ea1ee59185cd",
      "name": "Aggregate Videos",
      "type": "n8n-nodes-base.aggregate",
      "position": [
        -1456,
        1424
      ]
    },
    {
      "id": "c26499cf-7ee1-4fd8-bc66-cda8ed83f384",
      "name": "Merge Videos",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        -1040,
        1424
      ]
    },
    {
      "id": "e63ca7d0-6689-45cc-bb24-1a608f40b916",
      "name": "Download Video",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        -848,
        1424
      ]
    },
    {
      "id": "13678d8d-7c35-4119-bc0c-4c449d8b9109",
      "name": "Log Success",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        112,
        1344
      ]
    },
    {
      "id": "adbcfadd-d392-4056-a0f6-54648573cd28",
      "name": "Log Error",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        128,
        1552
      ]
    },
    {
      "id": "4a08a365-318e-41c8-832c-ac5281567190",
      "name": "Create post Facebook",
      "type": "@blotato/n8n-nodes-blotato.blotato",
      "position": [
        -288,
        1424
      ]
    },
    {
      "id": "ae699705-e99d-4279-a21f-be0b6eeb92f1",
      "name": "Sticky Note6",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1872,
        0
      ],
      "parameters": {
        "width": 368,
        "height": 576,
        "content": "## Product input\n\nSubmit a product image and basic product information.\nThe workflow will generate, merge, and publish an AI product review video automatically.\n"
      }
    }
  ],
  "connections": {
    "If1": {
      "main": [
        [
          {
            "node": "Loop Video Prompts",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Wait1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Wait1": {
      "main": [
        [
          {
            "node": "Get Videos",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Wait3": {
      "main": [
        [
          {
            "node": "Get Images",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get Images": {
      "main": [
        [
          {
            "node": "Create Video Prompt",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get Videos": {
      "main": [
        [
          {
            "node": "If1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Merge Videos": {
      "main": [
        []
      ]
    },
    "Upload media": {
      "main": [
        [
          {
            "node": "Create post Facebook",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Download Video": {
      "main": [
        [
          {
            "node": "Upload media",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "AI Prompt Agent": {
      "main": [
        [
          {
            "node": "Generate Images",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Generate Images": {
      "main": [
        [
          {
            "node": "Wait3",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Generate Videos": {
      "main": [
        [
          {
            "node": "Wait1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Aggregate Videos": {
      "main": [
        [
          {
            "node": "Code in JavaScript",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Code in JavaScript": {
      "main": [
        [
          {
            "node": "Merge Videos",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Loop Video Prompts": {
      "main": [
        [
          {
            "node": "Aggregate Videos",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Generate Videos",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Create Video Prompt": {
      "main": [
        [
          {
            "node": "Split Video Prompts",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Split Video Prompts": {
      "main": [
        [
          {
            "node": "Loop Video Prompts",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Video Prompt Parser": {
      "ai_outputParser": [
        [
          {
            "node": "Create Video Prompt",
            "type": "ai_outputParser",
            "index": 0
          }
        ]
      ]
    },
    "Create post Facebook": {
      "main": [
        [
          {
            "node": "Log Success",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Log Error",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Analyze Product Image": {
      "main": [
        [
          {
            "node": "AI Prompt Agent",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Google Gemini Chat Model": {
      "ai_languageModel": [
        [
          {
            "node": "AI Prompt Agent",
            "type": "ai_languageModel",
            "index": 0
          },
          {
            "node": "Structured Output Parser1",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Google Gemini Chat Model1": {
      "ai_languageModel": [
        [
          {
            "node": "Create Video Prompt",
            "type": "ai_languageModel",
            "index": 0
          },
          {
            "node": "Video Prompt Parser",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Structured Output Parser1": {
      "ai_outputParser": [
        [
          {
            "node": "AI Prompt Agent",
            "type": "ai_outputParser",
            "index": 0
          }
        ]
      ]
    },
    "Product Image & Info Input": {
      "main": [
        [
          {
            "node": "Analyze Product Image",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}