8
n8n 中文网amn8n.com

## 🤖 **LIGUA033/LOREALCANTARA - 其他生成工作流**

高级

这是一个AI, Marketing领域的自动化工作流,包含 61 个节点。主要使用 If, Set, Wait, Merge, Filter 等节点,结合人工智能技术实现智能自动化。 基于AI的Meta广告分析与创建:使用Gemini、GPT-4.1 Mini和广告管理器

前置要求
  • Google Drive API 凭证
  • 可能需要目标 API 的认证凭证
  • Google Sheets API 凭证
  • Facebook Graph API 凭证
  • OpenAI API Key
工作流预览
可视化展示节点连接关系,支持缩放和平移
导出工作流
复制以下 JSON 配置到 n8n 导入,即可使用此工作流
{
  "id": "HSkxJKrT4lRkab16",
  "meta": {
    "instanceId": "0aee4372a556f3e4774323f4ed89755880cea473443f0948966509bbf55dec04",
    "templateCredsSetupCompleted": true
  },
  "name": "## 🤖 **LIGUA033/LOREALCANTARA - 其他生成工作流**",
  "tags": [],
  "nodes": [
    {
      "id": "6205a675-8533-458b-a0db-1298740d5161",
      "name": "分析 Meta 广告、创建广告文案并上传图片和视频广告到 Meta 广告管理器",
      "type": "n8n-nodes-base.facebookGraphApi",
      "position": [
        2340,
        1980
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "fe523d79-a5c5-43d4-a6b0-e89c190d9007",
      "name": "上传广告视频",
      "type": "n8n-nodes-base.facebookGraphApi",
      "position": [
        2740,
        1980
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "49f08c36-3494-4304-8542-67ff1deb244e",
      "name": "获取视频预览图片",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        2740,
        1020
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "c638cf41-7820-4bf0-a253-dd9387a5ed32",
      "name": "使用 Gemini 分析视频",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        1300,
        1120
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "4025ddce-afd4-4526-9a94-b59cbaa5837a",
      "name": "Gemini - 生成上传 URL",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        1720,
        1120
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "c116efd1-ac34-46bd-ae31-4650cc369f25",
      "name": "Gemini - 上传文件",
      "type": "n8n-nodes-base.googleDrive",
      "position": [
        1520,
        1120
      ],
      "parameters": {},
      "typeVersion": 3
    },
    {
      "id": "cd25f2c2-5697-44d7-919b-1ef23505d124",
      "name": "创建资源",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        2380,
        780
      ],
      "parameters": {},
      "typeVersion": 4.5
    },
    {
      "id": "55aae2bf-e57b-4e06-baca-9ca3ca99d8b5",
      "name": "从 Google Drive 下载",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        2640,
        780
      ],
      "parameters": {},
      "executeOnce": true,
      "typeVersion": 4.5
    },
    {
      "id": "5dc2e330-814b-43c7-9228-7c412a4bd4a3",
      "name": "获取所有行",
      "type": "n8n-nodes-base.filter",
      "position": [
        2880,
        780
      ],
      "parameters": {},
      "typeVersion": 2.2
    },
    {
      "id": "b402bfd8-7e64-4220-b5e8-7e88b765d896",
      "name": "AI 描述为空",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        2340,
        1120
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "e81071cf-e86a-42f0-ac80-13432e6b2097",
      "name": "如果",
      "type": "n8n-nodes-base.if",
      "position": [
        2540,
        1120
      ],
      "parameters": {},
      "typeVersion": 2.2
    },
    {
      "id": "0719ebaf-3c86-4d46-b5f3-9ed00c53936e",
      "name": "检查状态",
      "type": "n8n-nodes-base.wait",
      "position": [
        2720,
        1220
      ],
      "webhookId": "34306fcb-9f52-44cd-8343-333bb6032833",
      "parameters": {},
      "typeVersion": 1.1
    },
    {
      "id": "110d630e-0e17-42b9-998a-a224fa844b54",
      "name": "等待 2 秒",
      "type": "n8n-nodes-base.wait",
      "position": [
        2140,
        1120
      ],
      "webhookId": "4451f2eb-68a3-420f-9c07-833308375076",
      "parameters": {},
      "typeVersion": 1.1
    },
    {
      "id": "48520a4b-7a8b-41e5-8c43-329c20870bc9",
      "name": "AI 代理",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        2960,
        1020
      ],
      "parameters": {},
      "typeVersion": 1.8
    },
    {
      "id": "57fa5985-8551-42a6-bd47-9519589a3bf7",
      "name": "视频或图片",
      "type": "n8n-nodes-base.switch",
      "position": [
        3300,
        780
      ],
      "parameters": {},
      "typeVersion": 3.2
    },
    {
      "id": "649afa30-f30a-4c09-94ed-923f34515fd8",
      "name": "OpenAI Chat Model",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        2940,
        1220
      ],
      "parameters": {},
      "typeVersion": 1.2
    },
    {
      "id": "ab605d41-39a5-4a97-ab2f-8b1b52a5d846",
      "name": "等待 3 秒",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        3100,
        780
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "e571a88e-ca16-4572-ad6c-62f068504fb1",
      "name": "结构化输出解析器",
      "type": "@n8n/n8n-nodes-langchain.outputParserStructured",
      "position": [
        3160,
        1220
      ],
      "parameters": {},
      "typeVersion": 1.2
    },
    {
      "id": "29dc39cb-f783-4f94-868e-e5e6a40a73b2",
      "name": "获取文件元数据",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        1260,
        2020
      ],
      "parameters": {},
      "typeVersion": 4.5
    },
    {
      "id": "7d39fa34-bca9-45f1-b88f-76480317de39",
      "name": "获取要处理的广告",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        1260,
        2300
      ],
      "parameters": {},
      "typeVersion": 4.5
    },
    {
      "id": "304aafc4-5bd0-44f5-b20e-a38e5baefa75",
      "name": "合并",
      "type": "n8n-nodes-base.merge",
      "position": [
        1720,
        2160
      ],
      "parameters": {},
      "typeVersion": 3.1
    },
    {
      "id": "618ec524-d237-4495-8a51-0333069784e3",
      "name": "AI 代理1",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        2960,
        1440
      ],
      "parameters": {},
      "typeVersion": 1.8
    },
    {
      "id": "b56d7a32-7772-48ec-bf20-dbc8709484ab",
      "name": "Google Drive",
      "type": "n8n-nodes-base.googleDrive",
      "position": [
        1300,
        1440
      ],
      "parameters": {},
      "typeVersion": 3
    },
    {
      "id": "6a63d1f4-4e33-4cb5-ac02-7b73c9c7e216",
      "name": "OpenAI 聊天模型1",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        2940,
        1660
      ],
      "parameters": {},
      "typeVersion": 1.2
    },
    {
      "id": "d24b46b8-2dfe-4979-a678-5f43e23491ec",
      "name": "结构化输出解析器1",
      "type": "@n8n/n8n-nodes-langchain.outputParserStructured",
      "position": [
        3160,
        1660
      ],
      "parameters": {},
      "typeVersion": 1.2
    },
    {
      "id": "655d8706-a92c-4ad7-8b07-0bf14ce3febf",
      "name": "当点击\"测试工作流\"时",
      "type": "n8n-nodes-base.manualTrigger",
      "position": [
        920,
        2140
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "4ad90a98-acbc-4866-a51a-4d11d7a3a44e",
      "name": "获取设置",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        2160,
        1980
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "f02961b4-328a-4b5f-9d99-6ea5be623123",
      "name": "等待",
      "type": "n8n-nodes-base.wait",
      "position": [
        2540,
        1980
      ],
      "webhookId": "c022fd1f-a2ca-445d-ba8b-1e847b03ac3a",
      "parameters": {},
      "typeVersion": 1.1
    },
    {
      "id": "e7f640d3-b382-4076-895b-3482bce6bee6",
      "name": "获取视频",
      "type": "n8n-nodes-base.switch",
      "position": [
        1900,
        2160
      ],
      "parameters": {},
      "typeVersion": 3.2
    },
    {
      "id": "7133563d-7b1a-4ad2-94b8-92e09c1bf7dd",
      "name": "视频或图片资源",
      "type": "n8n-nodes-base.facebookGraphApi",
      "position": [
        3800,
        2280
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "6b07b2cd-a0cd-494d-9243-0f3ebe836830",
      "name": "Facebook Graph API",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        2160,
        2280
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "783616dd-ddae-459a-b01b-381c0616812f",
      "name": "获取图片 1",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        2800,
        2200
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "dae5668c-4be2-4a19-800f-83d7b63e1518",
      "name": "获取图片",
      "type": "n8n-nodes-base.googleDriveTrigger",
      "position": [
        1260,
        780
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "9b6145e0-3fd8-4664-a9dc-297f7d949191",
      "name": "Google Drive 文件夹已更新",
      "type": "n8n-nodes-base.googleDrive",
      "position": [
        1520,
        780
      ],
      "parameters": {},
      "typeVersion": 3
    },
    {
      "id": "d3566142-d98e-47dc-a0a1-74a0be61170f",
      "name": "获取所有文件",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        1780,
        780
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "5135bbca-2715-401c-9019-5b21b1b76362",
      "name": "获取文件元数据",
      "type": "n8n-nodes-base.set",
      "position": [
        2060,
        780
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "75a91825-ea89-461c-85e5-77a2a6736dee",
      "name": "提取文件规格",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        3320,
        1020
      ],
      "parameters": {},
      "typeVersion": 4.5
    },
    {
      "id": "367910e1-f247-4bcd-8ba3-e65afd3ac731",
      "name": "保存视频分析输出",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        3340,
        1440
      ],
      "parameters": {},
      "typeVersion": 4.5
    },
    {
      "id": "d730546f-874b-4f85-882b-415f201f3941",
      "name": "保存图片分析输出",
      "type": "n8n-nodes-base.filter",
      "position": [
        1480,
        2020
      ],
      "parameters": {},
      "typeVersion": 2.2
    },
    {
      "id": "485afc5d-4490-44a1-b25a-d87b21f1fe04",
      "name": "筛选未处理的广告",
      "type": "n8n-nodes-base.facebookGraphApi",
      "position": [
        2960,
        1980
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "31fc206d-3f57-4c40-a24e-8299bbd6e452",
      "name": "创建视频广告创意",
      "type": "n8n-nodes-base.facebookGraphApi",
      "position": [
        3580,
        1980
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "51e84264-cd4a-4385-be69-ee11ae4429d5",
      "name": "创建视频广告",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        4120,
        1980
      ],
      "parameters": {},
      "typeVersion": 4.5
    },
    {
      "id": "cb41025e-e1e0-454c-93b5-a36eba57dba5",
      "name": "保存视频广告详情",
      "type": "n8n-nodes-base.if",
      "position": [
        2560,
        2280
      ],
      "parameters": {},
      "typeVersion": 2.2
    },
    {
      "id": "73757cd6-9a2c-4bc5-8842-f92177a31cd3",
      "name": "检查是否为两张或一张图片",
      "type": "n8n-nodes-base.facebookGraphApi",
      "position": [
        2340,
        2280
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "93f5be7e-8a94-4aaa-8e65-e2316e7bc15a",
      "name": "上传广告图片",
      "type": "n8n-nodes-base.facebookGraphApi",
      "position": [
        3240,
        2200
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "49efc025-f772-4669-96c7-a9ed4b2dca63",
      "name": "创建多图片创意",
      "type": "n8n-nodes-base.facebookGraphApi",
      "position": [
        3000,
        2520
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "d7fe1213-3db6-47b3-ac69-debc873c79e0",
      "name": "创建图片创意",
      "type": "n8n-nodes-base.facebookGraphApi",
      "position": [
        3020,
        2200
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "4887b86c-c0be-4810-90ff-0a5be4a07b71",
      "name": "上传第二张广告图片",
      "type": "n8n-nodes-base.facebookGraphApi",
      "position": [
        3580,
        2280
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "77f3371f-b818-4bf0-9381-126aa374f453",
      "name": "便签",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1260,
        660
      ],
      "parameters": {
        "content": "创建图片广告"
      },
      "typeVersion": 1
    },
    {
      "id": "92a00fa1-89be-45e0-9055-189ac0479114",
      "name": "便签1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2380,
        660
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "c064fecd-9d51-4839-bf86-9134b12102c4",
      "name": "便签 2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        3500,
        1100
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "f27867dc-13f3-4d7a-8a5b-04776c6389ff",
      "name": "便签 3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        3520,
        1520
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "cc280912-6f45-4836-8c22-edd471c13ec8",
      "name": "便签 4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        4080,
        1880
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "225cde15-4ded-41b1-a6ea-b40ea1c9e961",
      "name": "便签 5",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        4080,
        2460
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "9875016f-c878-4215-ba17-a350d8fa26e6",
      "name": "保存图片广告详情",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        4120,
        2280
      ],
      "parameters": {},
      "typeVersion": 4.5
    },
    {
      "id": "72d1819a-b983-4f0c-afc2-1f83baf6416f",
      "name": "便签6",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1220,
        2460
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "79292ebc-98f7-4acb-aca7-01d641091301",
      "name": "便签7",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1220,
        1920
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "bb4afb0c-97cb-41db-a42d-44c10aed33f3",
      "name": "便签8",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        680,
        660
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "729d2f7e-4e14-4c91-8fa5-1d42eef3923c",
      "name": "### 替换 Airtable 连接",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2900,
        1340
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "82abdc96-707e-4a9f-8717-217dc583c06f",
      "name": "便签10",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2900,
        1780
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "051d9a9f-d786-4188-91a5-0f33cf8dba24",
      "name": "便签11",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        640,
        1940
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    }
  ],
  "active": false,
  "pinData": {},
  "settings": {
    "executionOrder": "v1"
  },
  "versionId": "7ec4840f-4712-4879-b777-fa11bb265770",
  "connections": {
    "If": {
      "main": [
        [
          {
            "node": "Analyze Video with Gemini",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Wait 2 Seconds",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Wait": {
      "main": [
        [
          {
            "node": "Get Video Preview Image",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Merge": {
      "main": [
        [
          {
            "node": "Video or Image Asset",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "AI Agent": {
      "main": [
        [
          {
            "node": "Save Video Analysis Output",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "AI Agent1": {
      "main": [
        [
          {
            "node": "Save Image Analysis Output",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get Video": {
      "main": [
        [
          {
            "node": "Upload Ad Video",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get image ": {
      "main": [
        [
          {
            "node": "Upload Second Ad Image",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Check State": {
      "main": [
        [
          {
            "node": "If",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get image 1": {
      "main": [
        [
          {
            "node": "Upload Ad Image",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Create Asset": {
      "main": [
        [
          {
            "node": "Get All Rows",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get All Rows": {
      "main": [
        [
          {
            "node": "AI Description is Empty",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get Settings": {
      "main": [
        [
          {
            "node": "Merge",
            "type": "main",
            "index": 1
          }
        ]
      ]
    },
    "Google Drive": {
      "main": [
        [
          {
            "node": "AI Agent1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Video or Image": {
      "main": [
        [
          {
            "node": "Gemini - Generate Upload URL",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Google Drive",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Wait 2 Seconds": {
      "main": [
        [
          {
            "node": "Check State",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Wait 3 Seconds": {
      "main": [
        [
          {
            "node": "Check State",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Create Image Ad": {
      "main": [
        [
          {
            "node": "Facebook Graph API",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Create Video Ad": {
      "main": [
        [
          {
            "node": "Save Video Ad Details",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Fetch All Files": {
      "main": [
        [
          {
            "node": "Get Files Metadata",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Upload Ad Image": {
      "main": [
        [
          {
            "node": "Check if two or one image",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Upload Ad Video": {
      "main": [
        [
          {
            "node": "Wait",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get File Metadata": {
      "main": [
        [
          {
            "node": "Video or Image",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI Chat Model": {
      "ai_languageModel": [
        [
          {
            "node": "AI Agent",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Extract File Specs": {
      "main": [
        [
          {
            "node": "Create Asset",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Facebook Graph API": {
      "main": [
        [
          {
            "node": "Save Image Ad Details",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get Ads to Process": {
      "main": [
        [
          {
            "node": "Filter Unprocessed Ads",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get Files Metadata": {
      "main": [
        [
          {
            "node": "Extract File Specs",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI Chat Model1": {
      "ai_languageModel": [
        [
          {
            "node": "AI Agent1",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Gemini - Upload File": {
      "main": [
        [
          {
            "node": "Wait 3 Seconds",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Video or Image Asset": {
      "main": [
        [
          {
            "node": "Get Video",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Get image 1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Create Image Creative": {
      "main": [
        [
          {
            "node": "Create Image Ad",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Filter Unprocessed Ads": {
      "main": [
        [
          {
            "node": "Merge",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Upload Second Ad Image": {
      "main": [
        [
          {
            "node": "Create Multiple Image Creative",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "AI Description is Empty": {
      "main": [
        [
          {
            "node": "Get File Metadata",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get Video Preview Image": {
      "main": [
        [
          {
            "node": "Create Video Ad Creative",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Create Video Ad Creative": {
      "main": [
        [
          {
            "node": "Create Video Ad",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Structured Output Parser": {
      "ai_outputParser": [
        [
          {
            "node": "AI Agent",
            "type": "ai_outputParser",
            "index": 0
          }
        ]
      ]
    },
    "Analyze Video with Gemini": {
      "main": [
        [
          {
            "node": "AI Agent",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Check if two or one image": {
      "main": [
        [
          {
            "node": "Get image ",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Create Image Creative",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Structured Output Parser1": {
      "ai_outputParser": [
        [
          {
            "node": "AI Agent1",
            "type": "ai_outputParser",
            "index": 0
          }
        ]
      ]
    },
    "Download from Google Drive": {
      "main": [
        [
          {
            "node": "Gemini - Upload File",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Google Drive Folder Updated": {
      "main": [
        [
          {
            "node": "Fetch All Files",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Gemini - Generate Upload URL": {
      "main": [
        [
          {
            "node": "Download from Google Drive",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Create Multiple Image Creative": {
      "main": [
        [
          {
            "node": "Create Image Ad",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "When clicking ‘Test workflow’": {
      "main": [
        [
          {
            "node": "Get Ads to Process",
            "type": "main",
            "index": 0
          },
          {
            "node": "Get Settings",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}
常见问题

如何使用这个工作流?

复制上方的 JSON 配置代码,在您的 n8n 实例中创建新工作流并选择「从 JSON 导入」,粘贴配置后根据需要修改凭证设置即可。

这个工作流适合什么场景?

高级 - 人工智能, 营销

需要付费吗?

本工作流完全免费,您可以直接导入使用。但请注意,工作流中使用的第三方服务(如 OpenAI API)可能需要您自行付费。

工作流信息
难度等级
高级
节点数量61
分类2
节点类型16
难度说明

适合高级用户,包含 16+ 个节点的复杂工作流

外部链接
在 n8n.io 查看

分享此工作流