8
n8n 中文网amn8n.com

使用GPT-4o、Brevo和NocoDB自动化销售外联和响应管理

高级

这是一个Lead Nurturing, AI Chatbot领域的自动化工作流,包含 77 个节点。主要使用 If, Set, Code, Cron, Wait 等节点。 使用GPT-4o、Brevo和NocoDB自动化销售外联和响应管理

前置要求
  • Google 账号和 Gmail API 凭证
  • 可能需要目标 API 的认证凭证
  • OpenAI API Key
工作流预览
可视化展示节点连接关系,支持缩放和平移
导出工作流
复制以下 JSON 配置到 n8n 导入,即可使用此工作流
{
  "nodes": [
    {
      "id": "118f0264-6461-4908-a975-592d16ed3636",
      "name": "通过邮箱查找潜在客户",
      "type": "n8n-nodes-base.nocoDb",
      "position": [
        -2576,
        -368
      ],
      "parameters": {},
      "typeVersion": 3
    },
    {
      "id": "5befd791-b40e-4718-841f-580e6daa2e8b",
      "name": "AI 意图分类",
      "type": "@n8n/n8n-nodes-langchain.openAi",
      "position": [
        -2336,
        -368
      ],
      "parameters": {},
      "typeVersion": 1.4
    },
    {
      "id": "5abb9288-d712-4d7e-8db5-a35f28f9f783",
      "name": "创建人工审核",
      "type": "n8n-nodes-base.nocoDb",
      "position": [
        -816,
        -432
      ],
      "parameters": {},
      "typeVersion": 3
    },
    {
      "id": "c1fef333-d6ab-4ab7-a3ed-c70a07c98296",
      "name": "生成 AI 响应",
      "type": "@n8n/n8n-nodes-langchain.openAi",
      "position": [
        -1568,
        0
      ],
      "parameters": {},
      "typeVersion": 1.4
    },
    {
      "id": "75969f05-6f9f-4b79-8eca-53fe54ffd141",
      "name": "自然响应延迟",
      "type": "n8n-nodes-base.wait",
      "position": [
        -1248,
        0
      ],
      "webhookId": "505a3ef8-eadb-4c8f-af64-c8068dbfe102",
      "parameters": {},
      "typeVersion": 1.1
    },
    {
      "id": "1f900d82-bbab-4afd-875f-d1ff6df201bb",
      "name": "记录交互",
      "type": "n8n-nodes-base.nocoDb",
      "position": [
        -848,
        0
      ],
      "parameters": {},
      "typeVersion": 3
    },
    {
      "id": "d7133b31-910f-4a52-9f18-a907cb459d31",
      "name": "更新潜在客户评分",
      "type": "n8n-nodes-base.nocoDb",
      "position": [
        -656,
        0
      ],
      "parameters": {},
      "typeVersion": 3
    },
    {
      "id": "6ca4b99e-0b72-4e85-8f1e-1ea0812ac8cb",
      "name": "便签",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -2816,
        -448
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "7c05e34e-ec1f-4e3e-9b9f-175219ec8c30",
      "name": "解析事件数据",
      "type": "n8n-nodes-base.code",
      "position": [
        -320,
        -1568
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "b771526f-3e51-45ae-80b7-1441239340f6",
      "name": "查找潜在客户",
      "type": "n8n-nodes-base.nocoDb",
      "position": [
        -144,
        -1568
      ],
      "parameters": {},
      "typeVersion": 3
    },
    {
      "id": "5eae4fe2-228a-4bb0-a870-2e71b350ecbb",
      "name": "找到潜在客户?",
      "type": "n8n-nodes-base.if",
      "position": [
        32,
        -1568
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "cecb3647-e99a-4b0b-90d2-459b75e71ef1",
      "name": "记录互动事件",
      "type": "n8n-nodes-base.nocoDb",
      "position": [
        256,
        -1840
      ],
      "parameters": {},
      "typeVersion": 3
    },
    {
      "id": "54bc035f-1aeb-48c3-8c5f-49607d079316",
      "name": "计算评分更新",
      "type": "n8n-nodes-base.code",
      "position": [
        416,
        -1840
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "166fd639-ee7b-4418-9f62-a4bb856c2c8d",
      "name": "更新潜在客户互动",
      "type": "n8n-nodes-base.nocoDb",
      "position": [
        608,
        -1840
      ],
      "parameters": {},
      "typeVersion": 3
    },
    {
      "id": "b77889b4-3540-498f-8110-372a3e516a71",
      "name": "需要特殊操作?",
      "type": "n8n-nodes-base.if",
      "position": [
        784,
        -1840
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "0d74353b-55d4-41c9-b3bb-3e5e35895225",
      "name": "便签2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -384,
        -1968
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "de8bdd41-addd-48f1-b77c-17ce6f176bd2",
      "name": "每日触发器",
      "type": "n8n-nodes-base.cron",
      "position": [
        -304,
        -352
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "da06f4a9-9fe0-4530-a9ab-cca5d1d91594",
      "name": "获取所有活跃潜在客户",
      "type": "n8n-nodes-base.nocoDb",
      "position": [
        -288,
        -48
      ],
      "parameters": {},
      "typeVersion": 3
    },
    {
      "id": "977da414-4801-4292-af89-ab4e7740b8f1",
      "name": "批量处理",
      "type": "n8n-nodes-base.splitInBatches",
      "position": [
        -16,
        -336
      ],
      "parameters": {},
      "typeVersion": 3
    },
    {
      "id": "d45100b6-6db4-44f0-982c-697886cb4c0a",
      "name": "计算评分衰减",
      "type": "n8n-nodes-base.code",
      "position": [
        272,
        -112
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "42924864-f69a-454e-9154-e511b6654190",
      "name": "更新潜在客户评分",
      "type": "n8n-nodes-base.nocoDb",
      "position": [
        448,
        -112
      ],
      "parameters": {},
      "typeVersion": 3
    },
    {
      "id": "e8877f47-3c83-4431-80bc-e5caf3dc7668",
      "name": "需要重新互动?",
      "type": "n8n-nodes-base.if",
      "position": [
        720,
        -112
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "6a775921-bc1b-48b4-8df6-148deb51ef3b",
      "name": "安排重新互动",
      "type": "n8n-nodes-base.nocoDb",
      "position": [
        1072,
        0
      ],
      "parameters": {},
      "typeVersion": 3
    },
    {
      "id": "fb370e3d-de13-43ee-8476-805a5eec599f",
      "name": "生成分析报告",
      "type": "n8n-nodes-base.code",
      "position": [
        640,
        -352
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "05f0d542-b2e8-4b0e-a9ad-fda9f004e37d",
      "name": "存储分析数据",
      "type": "n8n-nodes-base.nocoDb",
      "position": [
        1088,
        -352
      ],
      "parameters": {},
      "typeVersion": 3
    },
    {
      "id": "aa4b5d49-bd14-49f6-a204-e38068f862ad",
      "name": "便签3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -368,
        -448
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "25037919-1fb1-4e18-b7ba-1f29e554be81",
      "name": "每小时触发",
      "type": "n8n-nodes-base.cron",
      "position": [
        -2784,
        -1904
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "16cf06e6-9ea9-471a-8cd6-c11e03f518c8",
      "name": "生成个性化邮件",
      "type": "@n8n/n8n-nodes-langchain.openAi",
      "position": [
        -1168,
        -1904
      ],
      "parameters": {},
      "typeVersion": 1.4
    },
    {
      "id": "563e10fa-1b45-4737-b0aa-7c2c3b82e3d7",
      "name": "获取产品信息",
      "type": "n8n-nodes-base.nocoDb",
      "position": [
        -2176,
        -1792
      ],
      "parameters": {},
      "typeVersion": 3
    },
    {
      "id": "2ea7fb48-7276-4c22-bb86-bbbb8bed6636",
      "name": "记录外联",
      "type": "n8n-nodes-base.nocoDb",
      "position": [
        -624,
        -1904
      ],
      "parameters": {},
      "typeVersion": 3
    },
    {
      "id": "52f4ee1a-d8e6-4566-85c3-44abddc26692",
      "name": "更新潜在客户状态",
      "type": "n8n-nodes-base.nocoDb",
      "position": [
        -640,
        -1472
      ],
      "parameters": {},
      "typeVersion": 3
    },
    {
      "id": "3219177f-bba5-4508-8230-25f779134b51",
      "name": "获取前 10 名潜在客户",
      "type": "n8n-nodes-base.nocoDb",
      "position": [
        -2640,
        -1904
      ],
      "parameters": {},
      "typeVersion": 3
    },
    {
      "id": "cfe797a5-76d6-457f-a7bf-1bc31c1daf48",
      "name": "所有产品",
      "type": "n8n-nodes-base.aggregate",
      "position": [
        -1936,
        -1792
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "3db5e067-2525-4483-8868-532974868dc9",
      "name": "发送初始外联邮件",
      "type": "n8n-nodes-base.httpRequest",
      "onError": "continueErrorOutput",
      "position": [
        -864,
        -1904
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "62086565-96c7-4825-ad59-8bd2be126041",
      "name": "便签1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -2832,
        -1968
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "d5c4e571-1262-4a7d-b314-3f2ccc1550b4",
      "name": "Gmail Webhook",
      "type": "n8n-nodes-base.gmailTrigger",
      "position": [
        -2704,
        80
      ],
      "parameters": {},
      "typeVersion": 1.2
    },
    {
      "id": "c62a4ca9-5567-4b7e-b51a-c4a4fa788b2d",
      "name": "发送 AI 响应",
      "type": "n8n-nodes-base.gmail",
      "position": [
        -1056,
        0
      ],
      "webhookId": "855142e2-20ca-4b47-a558-2a6c50f2f793",
      "parameters": {},
      "typeVersion": 2.1
    },
    {
      "id": "82264f96-30ba-47bb-b215-26e57006df04",
      "name": "通知销售团队",
      "type": "n8n-nodes-base.gmail",
      "position": [
        -640,
        -432
      ],
      "webhookId": "9275e9a0-bbe7-4f47-8b67-1bee58adcacd",
      "parameters": {},
      "typeVersion": 2.1
    },
    {
      "id": "29c3a767-0ce1-4786-a0d3-267fe7a0277d",
      "name": "获取所有产品",
      "type": "n8n-nodes-base.nocoDb",
      "position": [
        -2448,
        112
      ],
      "parameters": {},
      "typeVersion": 3
    },
    {
      "id": "e6ca55d6-894e-49fe-b9b5-10358f7ab34a",
      "name": "聚合产品",
      "type": "n8n-nodes-base.aggregate",
      "position": [
        -2112,
        112
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "fee75654-96dd-4f80-af8a-93bdfa552bd6",
      "name": "Brevo 事件",
      "type": "n8n-nodes-base.sendInBlueTrigger",
      "position": [
        -336,
        -1840
      ],
      "webhookId": "e7fda98f-b01d-4554-97bb-e7fe1669a4d2",
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "cfbdd2f2-fabd-409f-97a5-56e2286368e3",
      "name": "发送消息",
      "type": "n8n-nodes-base.gmail",
      "position": [
        880,
        -352
      ],
      "webhookId": "1380c5d0-d9d8-4ca8-9b77-cd6ea51c3d96",
      "parameters": {},
      "typeVersion": 2.1
    },
    {
      "id": "a2e388b5-b0eb-4724-8625-37e3d7a53cc4",
      "name": "删除一行",
      "type": "n8n-nodes-base.nocoDb",
      "position": [
        1024,
        -1856
      ],
      "parameters": {},
      "typeVersion": 3
    },
    {
      "id": "78ca4686-92c0-41ec-bdf8-2ceef8ce565f",
      "name": "解析响应数据",
      "type": "n8n-nodes-base.code",
      "position": [
        -2752,
        -352
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "9d7a1473-0f08-42b3-9ed5-1f9034df6930",
      "name": "聚合",
      "type": "n8n-nodes-base.aggregate",
      "position": [
        -1504,
        -1904
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "e34cb3b7-9527-4a3f-930b-b28dfc912113",
      "name": "合并",
      "type": "n8n-nodes-base.merge",
      "position": [
        -1664,
        -1920
      ],
      "parameters": {},
      "typeVersion": 3.2
    },
    {
      "id": "9f941464-f81b-450e-99b6-0aeba9564da9",
      "name": "设置外联变量",
      "type": "n8n-nodes-base.set",
      "position": [
        -1360,
        -1904
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "1966ccf0-25ae-4801-9a0d-19716cf18080",
      "name": "循环处理线索",
      "type": "n8n-nodes-base.splitInBatches",
      "position": [
        -2672,
        -1568
      ],
      "parameters": {},
      "typeVersion": 3
    },
    {
      "id": "917f43a8-fbbe-49d0-8b74-5898d7779ae2",
      "name": "获取先前通信",
      "type": "n8n-nodes-base.nocoDb",
      "position": [
        -2176,
        -1584
      ],
      "parameters": {},
      "typeVersion": 3
    },
    {
      "id": "da0f4c85-ee34-4947-a663-969b6c346b7e",
      "name": "所有通信",
      "type": "n8n-nodes-base.aggregate",
      "position": [
        -1936,
        -1584
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "d183ebed-3bcd-4bc3-8200-d2002a7102fa",
      "name": "收集所有结果",
      "type": "n8n-nodes-base.aggregate",
      "position": [
        288,
        -352
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "e75a6c4d-7a86-40c9-b9e8-1b9a4d255ed4",
      "name": "便签4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -3808,
        -2288
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "2811c2ff-5e6a-4be7-a40d-b855a7c62ef5",
      "name": "便利贴5",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -2784,
        -2720
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "0da28371-60f1-4d5d-9666-c05d38af5eb6",
      "name": "便签 6",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -2816,
        -912
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "6900ab75-f4f4-4c9f-b9ce-62548fb532fe",
      "name": "便签 7",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -384,
        -2304
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "e203848c-6b65-48dc-9de4-eec580b409d2",
      "name": "便签8",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -368,
        -864
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "85be2bbe-cd81-4626-9869-857faff50391",
      "name": "便签 9",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -3824,
        -2736
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "2df96186-249f-4534-8941-ba66ae5b4e3a",
      "name": "获取当前模板",
      "type": "n8n-nodes-base.nocoDb",
      "position": [
        -2176,
        -1952
      ],
      "parameters": {},
      "typeVersion": 3
    },
    {
      "id": "833e54ef-bbc4-456c-9273-2b93dd8531ba",
      "name": "当前模板",
      "type": "n8n-nodes-base.aggregate",
      "position": [
        -1936,
        -1952
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "307c0aad-fdc3-4ffa-ae91-cb6df8a81ab8",
      "name": "获取先前交流",
      "type": "n8n-nodes-base.nocoDb",
      "position": [
        -2336,
        -80
      ],
      "parameters": {},
      "typeVersion": 3
    },
    {
      "id": "d5ef9b05-74a4-49c6-a1ab-440514385da1",
      "name": "合并1",
      "type": "n8n-nodes-base.merge",
      "position": [
        -1888,
        0
      ],
      "parameters": {},
      "typeVersion": 3.2
    },
    {
      "id": "a697b597-b72a-4e90-8414-099a72137151",
      "name": "聚合用于响应",
      "type": "n8n-nodes-base.aggregate",
      "position": [
        -1728,
        0
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "2df3303a-bb0b-429f-a882-93b56c3f54b1",
      "name": "便签11",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -5088,
        -2736
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "4bb01778-9eec-4eb9-9c66-b44c8f9a7970",
      "name": "便签10",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -3280,
        -1968
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "28dd82ab-ca00-47e0-9c33-41b6a26cfcc0",
      "name": "便签12",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -3280,
        -48
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "837b89db-4525-4058-a9fb-bf2a6306ed47",
      "name": "便签13",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1808,
        -880
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "c1cd97cc-3e8f-42e6-90ea-8c9971b05a2b",
      "name": "便签14",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -2224,
        -2208
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "6821b60a-d9e1-41b6-9b00-3ac19fa23d2e",
      "name": "便签15",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1680,
        -2224
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "de0c7f7c-1668-4be8-8926-02f28499f643",
      "name": "便签16",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -2800,
        -2272
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "ea225795-89e2-447f-9c88-24804ab92bbd",
      "name": "便签17",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1408,
        304
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "3ae9ec7e-0d86-49ed-88ce-76fe1731303a",
      "name": "便签18",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        48,
        336
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "a0478814-c477-458b-9402-c123b7c32be8",
      "name": "按响应类型路由",
      "type": "n8n-nodes-base.switch",
      "position": [
        -1968,
        -416
      ],
      "parameters": {},
      "typeVersion": 3.3
    },
    {
      "id": "2188f7c0-b925-41e9-8d64-36563202cfd5",
      "name": "所有交流",
      "type": "n8n-nodes-base.aggregate",
      "position": [
        -2112,
        -80
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "c7c33b0a-61b0-4cef-b540-c7fc4ec8e52c",
      "name": "潜在客户已退订",
      "type": "n8n-nodes-base.nocoDb",
      "position": [
        -816,
        -256
      ],
      "parameters": {},
      "typeVersion": 3
    },
    {
      "id": "940882cb-20b7-4297-b654-6590e7502bab",
      "name": "潜在客户待审核",
      "type": "n8n-nodes-base.nocoDb",
      "position": [
        -1072,
        -432
      ],
      "parameters": {},
      "typeVersion": 3
    },
    {
      "id": "86c8d143-ac9f-4c57-9c8a-8998348b6a0e",
      "name": "潜在客户不在办公室",
      "type": "n8n-nodes-base.nocoDb",
      "position": [
        -1568,
        -272
      ],
      "parameters": {},
      "typeVersion": 3
    },
    {
      "id": "1c537d95-2525-4a00-8c49-c74446a12c62",
      "name": "便签19",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -3808,
        -1840
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    }
  ],
  "pinData": {},
  "connections": {
    "Merge": {
      "main": [
        [
          {
            "node": "Aggregate",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Merge1": {
      "main": [
        [
          {
            "node": "Aggregate For Response",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Aggregate": {
      "main": [
        [
          {
            "node": "Set Outreach Variables",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Find Lead": {
      "main": [
        [
          {
            "node": "Lead Found?",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Brevo Event": {
      "main": [
        [
          {
            "node": "Parse Event Data",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Lead Found?": {
      "main": [
        [
          {
            "node": "Log Engagement Event",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "All Products": {
      "main": [
        [
          {
            "node": "Merge",
            "type": "main",
            "index": 1
          }
        ]
      ]
    },
    "Log Outreach": {
      "main": [
        [
          {
            "node": "Update Lead Status",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "All Exchanges": {
      "main": [
        [
          {
            "node": "Merge1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Daily Trigger": {
      "main": [
        [
          {
            "node": "Get All Active Leads",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Gmail Webhook": {
      "main": [
        [
          {
            "node": "Parse Response Data",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Hourly Trigger": {
      "main": [
        [
          {
            "node": "Get Top 10 Leads",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Send a message": {
      "main": [
        [
          {
            "node": "Store Analytics",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Log Interaction": {
      "main": [
        [
          {
            "node": "Update Lead Score",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Loop Over Leads": {
      "main": [
        [],
        [
          {
            "node": "Get Product Info",
            "type": "main",
            "index": 0
          },
          {
            "node": "Get Previous Correspondance",
            "type": "main",
            "index": 0
          },
          {
            "node": "Get Current Template",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Current Template": {
      "main": [
        [
          {
            "node": "Merge",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get All Products": {
      "main": [
        [
          {
            "node": "Aggregated Products",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get Product Info": {
      "main": [
        [
          {
            "node": "All Products",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get Top 10 Leads": {
      "main": [
        [
          {
            "node": "Loop Over Leads",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Parse Event Data": {
      "main": [
        [
          {
            "node": "Find Lead",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Send AI Response": {
      "main": [
        [
          {
            "node": "Log Interaction",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "All Correspondance": {
      "main": [
        [
          {
            "node": "Merge",
            "type": "main",
            "index": 2
          }
        ]
      ]
    },
    "Find Lead by Email": {
      "main": [
        [
          {
            "node": "AI Intent Classification",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Process in Batches": {
      "main": [
        [
          {
            "node": "Collect All Results",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Calculate Score Decay",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Update Lead Scores": {
      "main": [
        [
          {
            "node": "Needs Re-engagement?",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Update Lead Status": {
      "main": [
        [
          {
            "node": "Loop Over Leads",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Aggregated Products": {
      "main": [
        [
          {
            "node": "Merge1",
            "type": "main",
            "index": 1
          }
        ]
      ]
    },
    "Collect All Results": {
      "main": [
        [
          {
            "node": "Generate Analytics Report",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Lead Pending Review": {
      "main": [
        [
          {
            "node": "Create Manual Review",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Parse Response Data": {
      "main": [
        [
          {
            "node": "Find Lead by Email",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Create Manual Review": {
      "main": [
        [
          {
            "node": "Notify Sales Team",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Generate AI Response": {
      "main": [
        [
          {
            "node": "Natural Response Delay",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get All Active Leads": {
      "main": [
        [
          {
            "node": "Process in Batches",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get Current Template": {
      "main": [
        [
          {
            "node": "Current Template",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Log Engagement Event": {
      "main": [
        [
          {
            "node": "Calculate Score Update",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Needs Re-engagement?": {
      "main": [
        [
          {
            "node": "Schedule Re-engagement",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Process in Batches",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Calculate Score Decay": {
      "main": [
        [
          {
            "node": "Update Lead Scores",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get Previous Exchange": {
      "main": [
        [
          {
            "node": "All Exchanges",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Aggregate For Response": {
      "main": [
        [
          {
            "node": "Generate AI Response",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Calculate Score Update": {
      "main": [
        [
          {
            "node": "Update Lead Engagement",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Natural Response Delay": {
      "main": [
        [
          {
            "node": "Send AI Response",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Route By Response Type": {
      "main": [
        [
          {
            "node": "Lead Pending Review",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Lead Unsubscribed",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Lead Out Of Office",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Get Previous Exchange",
            "type": "main",
            "index": 0
          },
          {
            "node": "Get All Products",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Schedule Re-engagement": {
      "main": [
        [
          {
            "node": "Process in Batches",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Set Outreach Variables": {
      "main": [
        [
          {
            "node": "Generate Personalized Email",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Special Action Needed?": {
      "main": [
        [
          {
            "node": "Delete a row",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Update Lead Engagement": {
      "main": [
        [
          {
            "node": "Special Action Needed?",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "AI Intent Classification": {
      "main": [
        [
          {
            "node": "Route By Response Type",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Generate Analytics Report": {
      "main": [
        [
          {
            "node": "Send a message",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Generate Personalized Email": {
      "main": [
        [
          {
            "node": "Send Initial Outreach Email",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get Previous Correspondance": {
      "main": [
        [
          {
            "node": "All Correspondance",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Send Initial Outreach Email": {
      "main": [
        [
          {
            "node": "Log Outreach",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}
常见问题

如何使用这个工作流?

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

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

高级 - 客户培育, AI 聊天机器人

需要付费吗?

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

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

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

外部链接
在 n8n.io 查看

分享此工作流