8
n8n 中文网amn8n.com

AI驱动YouTube产品评论自动分析

高级

这是一个Market Research, Multimodal AI领域的自动化工作流,包含 25 个节点。主要使用 Set, Code, Gmail, Limit, Webhook 等节点。 基于Apify和GPT的AI驱动YouTube产品评论自动分析

前置要求
  • Google 账号和 Gmail API 凭证
  • HTTP Webhook 端点(n8n 会自动生成)
  • 可能需要目标 API 的认证凭证
  • OpenAI API Key
工作流预览
可视化展示节点连接关系,支持缩放和平移
导出工作流
复制以下 JSON 配置到 n8n 导入,即可使用此工作流
{
  "meta": {
    "instanceId": "18cadbf4f92d9e3efcb516ab1bd61c54d0868a5f613567189d2b194bbe7e02fc",
    "templateCredsSetupCompleted": true
  },
  "nodes": [
    {
      "id": "940d4a2a-d0ba-453e-bd43-e41b30062bb1",
      "name": "Apify API",
      "type": "n8n-nodes-base.set",
      "position": [
        1728,
        768
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "f3f60eb8-792c-4be9-8dc9-8fc3ae19535e",
      "name": "Webhook",
      "type": "n8n-nodes-base.webhook",
      "position": [
        368,
        592
      ],
      "webhookId": "8c06c4fa-f70d-49bb-80ad-0fa1dd6238d5",
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "92a4e539-2e44-4bfe-b1f9-739124e995aa",
      "name": "邮件发送",
      "type": "n8n-nodes-base.set",
      "position": [
        1056,
        768
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "c56e9fba-4826-416a-aae5-287dcbed7cbe",
      "name": "方法检测",
      "type": "n8n-nodes-base.code",
      "position": [
        1280,
        768
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "5d7aaec8-a28c-4eeb-8509-fc9d853bdbe7",
      "name": "代码1",
      "type": "n8n-nodes-base.code",
      "position": [
        1504,
        768
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "686dbd8c-5119-4bb0-b661-0742b2b55603",
      "name": "产品",
      "type": "n8n-nodes-base.set",
      "position": [
        832,
        768
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "9103f208-9ce6-4681-87f2-cb39ca31ea6e",
      "name": "遍历项目",
      "type": "n8n-nodes-base.splitInBatches",
      "position": [
        800,
        1008
      ],
      "parameters": {},
      "typeVersion": 3
    },
    {
      "id": "8074df64-e6d4-4ccc-ad32-48f012f1dff3",
      "name": "向模型发送消息",
      "type": "@n8n/n8n-nodes-langchain.openAi",
      "position": [
        1520,
        992
      ],
      "parameters": {},
      "typeVersion": 1.8
    },
    {
      "id": "fb4acf38-4896-4317-a2af-194b2c02e69b",
      "name": "重命名",
      "type": "n8n-nodes-base.set",
      "position": [
        608,
        768
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "5c3b006f-c7dd-49b8-aaf4-2b8bf166959c",
      "name": "限制",
      "type": "n8n-nodes-base.limit",
      "position": [
        576,
        1008
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "9caa56f1-6b4c-45ca-aa2a-ecdf295699ee",
      "name": "",
      "type": "n8n-nodes-base.set",
      "notes": "opcional but the output is clearer and more polished",
      "position": [
        1104,
        992
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "ee639bd2-e0d0-47b8-8fc8-837e3317f1f9",
      "name": "合并",
      "type": "n8n-nodes-base.code",
      "position": [
        1312,
        992
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "27855e06-938e-45d5-9149-abb76e42f1e8",
      "name": "响应 Webhook",
      "type": "n8n-nodes-base.respondToWebhook",
      "position": [
        2176,
        816
      ],
      "parameters": {},
      "typeVersion": 1.4
    },
    {
      "id": "905eecca-dc4f-42f2-a942-d17646851eba",
      "name": "便签3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        608,
        144
      ],
      "parameters": {
        "content": "代理2"
      },
      "typeVersion": 1
    },
    {
      "id": "60dcada1-e26f-4319-ad7e-0b2482c1b7d5",
      "name": "智能体1",
      "type": "n8n-nodes-base.httpRequest",
      "notes": "Agents can also fail due to maintenance or API limits being reached.",
      "onError": "continueErrorOutput",
      "position": [
        368,
        1008
      ],
      "parameters": {},
      "retryOnFail": true,
      "typeVersion": 4.2,
      "waitBetweenTries": 5000
    },
    {
      "id": "e78627c3-0b4f-476b-8adb-419d8cc5e9fd",
      "name": "",
      "type": "n8n-nodes-base.httpRequest",
      "notes": "Agents can also fail due to maintenance or API limits being reached.",
      "onError": "continueErrorOutput",
      "position": [
        1104,
        1152
      ],
      "parameters": {},
      "retryOnFail": true,
      "typeVersion": 4.2,
      "waitBetweenTries": 5000
    },
    {
      "id": "a2c73961-dfef-426e-9553-c604e0a5b754",
      "name": "便签5",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -80,
        592
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "8b7210e1-a6d0-4d8f-8e65-34f48e316e76",
      "name": "手动触发",
      "type": "n8n-nodes-base.manualTrigger",
      "position": [
        368,
        768
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "3ee9dd3f-2143-45ac-ac3d-0ca83caa5a37",
      "name": "便签1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        608,
        432
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "b4423513-18a4-46de-b724-5b9c932c478f",
      "name": "便签7",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        48,
        960
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "16bf17be-b4dd-43c0-94c8-51b833db8e1a",
      "name": "便签8",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -224,
        1120
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "83c4ae3f-0ddd-42cc-a025-dcb24c419e34",
      "name": "便签",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1312,
        1200
      ],
      "parameters": {
        "content": "发送审核"
      },
      "typeVersion": 1
    },
    {
      "id": "ff1b55ec-319f-4c06-8b1d-cdea836862f5",
      "name": "Markdown 转 HTML",
      "type": "n8n-nodes-base.markdown",
      "position": [
        1920,
        992
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "0437a198-39b5-4293-845a-5848c105c399",
      "name": "错误原因",
      "type": "n8n-nodes-base.gmail",
      "position": [
        2176,
        992
      ],
      "webhookId": "2f70962f-d4ed-4aa8-8783-157c884910aa",
      "parameters": {},
      "typeVersion": 2.1
    },
    {
      "id": "9e05d568-8238-4acc-86db-74b76d81eb89",
      "name": "Error why",
      "type": "n8n-nodes-base.stopAndError",
      "position": [
        592,
        1200
      ],
      "parameters": {},
      "typeVersion": 1
    }
  ],
  "pinData": {},
  "connections": {
    "LANG": {
      "main": [
        [
          {
            "node": "Agent 1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Code1": {
      "main": [
        [
          {
            "node": "LANG",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Limit": {
      "main": [
        [
          {
            "node": "Loop Over Items",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Merge": {
      "main": [
        [
          {
            "node": "Message a model",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Manual": {
      "main": [
        [
          {
            "node": "PRODUCT",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Rename": {
      "main": [
        [
          {
            "node": "Merge",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Agent 1": {
      "main": [
        [
          {
            "node": "Limit",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Error why",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Agent 2": {
      "main": [
        [
          {
            "node": "Loop Over Items",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Error why",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "PRODUCT": {
      "main": [
        [
          {
            "node": "Apify API",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Webhook": {
      "main": [
        [
          {
            "node": "PRODUCT",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Apify API": {
      "main": [
        [
          {
            "node": "Email send",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Email send": {
      "main": [
        [
          {
            "node": "Method detect",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Send Review": {
      "main": [
        []
      ]
    },
    "Method detect": {
      "main": [
        [
          {
            "node": "Code1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Loop Over Items": {
      "main": [
        [
          {
            "node": "Rename",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Agent 2",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Message a model": {
      "main": [
        [
          {
            "node": "Markdown to HTML",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Markdown to HTML": {
      "main": [
        [
          {
            "node": "Send Review",
            "type": "main",
            "index": 0
          },
          {
            "node": "Respond to Webhook",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}
常见问题

如何使用这个工作流?

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

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

高级 - 市场调研, 多模态 AI

需要付费吗?

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

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

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

作者
Oriol Seguí

Oriol Seguí

@oxsr11

Completion of a higher degree on the way to university (computer engineering)

外部链接
在 n8n.io 查看

分享此工作流