8
n8n 中文网amn8n.com

潜在客户研究员LinkedIn

高级

这是一个Sales, AI, Marketing领域的自动化工作流,包含 36 个节点。主要使用 If, Set, Wait, Merge, GoogleDocs 等节点,结合人工智能技术实现智能自动化。 自动化潜在客户研究 - 从LinkedIn到可发送报告

前置要求
  • 可能需要目标 API 的认证凭证
  • Google Sheets API 凭证
  • OpenAI API Key
工作流预览
可视化展示节点连接关系,支持缩放和平移
导出工作流
复制以下 JSON 配置到 n8n 导入,即可使用此工作流
{
  "id": "YBHcwnvMQcolHQbs",
  "meta": {
    "instanceId": "740c1df6d3b1b6ea8a9d2223701f6904173f9e3cf7381cd181644b043420ba09",
    "templateCredsSetupCompleted": true
  },
  "name": "潜在客户研究员LinkedIn",
  "tags": [],
  "nodes": [
    {
      "id": "26294706-c6b1-452e-a1dc-efa450182cdd",
      "name": "当点击\"测试工作流\"时",
      "type": "n8n-nodes-base.manualTrigger",
      "position": [
        -1940,
        380
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "a4344c8c-b907-454f-981e-0c00c3ba4c40",
      "name": "遍历项目",
      "type": "n8n-nodes-base.splitInBatches",
      "position": [
        -1040,
        380
      ],
      "parameters": {},
      "typeVersion": 3
    },
    {
      "id": "6f4dbb06-71b7-4f25-8fb4-d06b4aae4766",
      "name": "OpenAI 聊天模型2",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        -400,
        60
      ],
      "parameters": {},
      "typeVersion": 1.2
    },
    {
      "id": "99087d5c-37fb-420a-85a7-160e2d43b837",
      "name": "检查Perplexity研究",
      "type": "@n8n/n8n-nodes-langchain.chainLlm",
      "position": [
        -420,
        -100
      ],
      "parameters": {},
      "typeVersion": 1.6
    },
    {
      "id": "4f872b82-e780-4890-8a7d-41d8d6c64234",
      "name": "等待",
      "type": "n8n-nodes-base.wait",
      "position": [
        -380,
        740
      ],
      "webhookId": "c7c74525-e8f0-449f-83fe-2ad13a3c85b4",
      "parameters": {},
      "typeVersion": 1.1
    },
    {
      "id": "64c8e84f-1f53-471f-9641-e377d48c0f53",
      "name": "等待1",
      "type": "n8n-nodes-base.wait",
      "position": [
        -380,
        1020
      ],
      "webhookId": "746791f6-28ad-43f8-96e9-434a6b29c0e0",
      "parameters": {},
      "typeVersion": 1.1
    },
    {
      "id": "b6474b3e-903d-458e-af9a-443334883649",
      "name": "合并",
      "type": "n8n-nodes-base.merge",
      "position": [
        640,
        360
      ],
      "parameters": {},
      "typeVersion": 3.1
    },
    {
      "id": "77165ac5-db51-4521-9b30-5db198dcbbf4",
      "name": "如果",
      "type": "n8n-nodes-base.if",
      "position": [
        -40,
        -100
      ],
      "parameters": {},
      "typeVersion": 2.2
    },
    {
      "id": "fb0dfafb-814b-458a-ac4c-610f3e65e36f",
      "name": "OpenAI 聊天模型",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        880,
        600
      ],
      "parameters": {},
      "typeVersion": 1.2
    },
    {
      "id": "749c577a-7f0b-4fe6-ac66-1c6ff0c5fd55",
      "name": "多表:您可以连接多个表以实现有组织的数据结构",
      "type": "@n8n/n8n-nodes-langchain.outputParserStructured",
      "position": [
        1140,
        580
      ],
      "parameters": {},
      "typeVersion": 1.2
    },
    {
      "id": "f2ecbb9b-2225-4759-92cc-8ed76c843aed",
      "name": "潜在客户分析",
      "type": "@n8n/n8n-nodes-langchain.chainLlm",
      "position": [
        940,
        360
      ],
      "parameters": {},
      "typeVersion": 1.6
    },
    {
      "id": "5cf46861-5b6a-4be9-92e7-66cab0b18bf7",
      "name": "OpenAI 聊天模型1",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        2020,
        620
      ],
      "parameters": {},
      "typeVersion": 1.2
    },
    {
      "id": "6b734dbe-c2b9-4881-a8b3-73e4e9ff5b9a",
      "name": "生成报告",
      "type": "@n8n/n8n-nodes-langchain.chainLlm",
      "position": [
        2040,
        360
      ],
      "parameters": {},
      "typeVersion": 1.6
    },
    {
      "id": "700ec879-2401-4b25-8085-df0d7a677520",
      "name": "获取所有数据",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        -1620,
        380
      ],
      "parameters": {},
      "typeVersion": 4.5
    },
    {
      "id": "e8e4e7df-b4bb-4ea1-b683-b6ccdcb62358",
      "name": "设置数据",
      "type": "n8n-nodes-base.set",
      "position": [
        -1380,
        380
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "c6597dd3-77f2-415f-a775-ca100dc1795d",
      "name": "个人LinkedIn账户POST",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        -640,
        740
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "e9fab932-c8c8-4eaf-95ca-4a963ec76278",
      "name": "个人LinkedIn账户GET",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        -120,
        740
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "b7ad91d7-e8da-4706-9409-aed151fd9c68",
      "name": "公司LinkedIn账户POST",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        -640,
        1020
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "07555619-0608-49bf-b0ba-ffdeed961053",
      "name": "公司LinkedIn账户GET",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        -120,
        1020
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "ba71884b-5072-4d5d-bc3a-0b249869c372",
      "name": "设置个人结果",
      "type": "n8n-nodes-base.set",
      "position": [
        180,
        740
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "e9624562-4b93-4f7d-b5a6-dba93bce4287",
      "name": "设置公司结果",
      "type": "n8n-nodes-base.set",
      "position": [
        180,
        1020
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "08b6bbd8-9788-4f24-ae7e-0258bf1f677c",
      "name": "Perplexity搜索",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        -660,
        -100
      ],
      "parameters": {},
      "retryOnFail": true,
      "typeVersion": 4.2,
      "waitBetweenTries": 5000
    },
    {
      "id": "edea210f-2bff-4323-b6ea-09e5d53a1603",
      "name": "如果为TRUE则设置",
      "type": "n8n-nodes-base.set",
      "position": [
        220,
        -120
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "2be693ef-108d-470c-b40d-ab76c52acb5d",
      "name": "如果为WRONG则设置",
      "type": "n8n-nodes-base.set",
      "position": [
        220,
        40
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "13f1a968-a0ab-4e88-9811-a670da2bda0b",
      "name": "Perplexity竞争对手研究",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        1580,
        360
      ],
      "parameters": {},
      "retryOnFail": true,
      "typeVersion": 4.2,
      "waitBetweenTries": 5000
    },
    {
      "id": "94f44462-5e19-4406-95fd-8d9712989441",
      "name": "将报告添加到文档",
      "type": "n8n-nodes-base.googleDocs",
      "position": [
        2820,
        360
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "9a1cf89f-f974-407f-a127-067567e9387b",
      "name": "创建文档",
      "type": "n8n-nodes-base.googleDocs",
      "position": [
        2640,
        360
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "4f520fc2-3ac5-43ad-affd-326b7992ed27",
      "name": "添加到表格",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        3100,
        360
      ],
      "parameters": {},
      "typeVersion": 4.5
    },
    {
      "id": "7fe8d6c7-44ee-402e-a26e-0bb02c227e25",
      "name": "便签",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -2020,
        60
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "a5ae4a02-015e-4bb7-9c02-c8d8a7c49938",
      "name": "便签1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -740,
        320
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "df56ac90-1e59-4193-aa90-3f9173e38d48",
      "name": "便签2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -760,
        -460
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "38612702-b7bd-4a6a-9a9c-265fa8ba5a97",
      "name": "便签3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        780,
        -100
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "8795bb9e-3df3-4763-ba78-f900f65cd2a3",
      "name": "便签4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1920,
        -100
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "77112353-600a-4c80-a7f4-c17261d87e41",
      "name": "便签5",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1380,
        -100
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "55d86410-dbf3-4fe5-8452-3d2adbb21ff0",
      "name": "便签6",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2540,
        -100
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "7094b36e-3e59-4389-a1be-e0d8cad5e77f",
      "name": "便签7",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        3520,
        -160
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    }
  ],
  "active": false,
  "pinData": {},
  "settings": {
    "executionOrder": "v1"
  },
  "versionId": "605226db-13f3-4067-b4dc-4cf8b4177b3f",
  "connections": {
    "If": {
      "main": [
        [
          {
            "node": "Set if TRUE",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Set if WRONG",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Wait": {
      "main": [
        [
          {
            "node": "Personal LinkedIn Account GET",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Merge": {
      "main": [
        [
          {
            "node": "Analyst of prospect",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Wait1": {
      "main": [
        [
          {
            "node": "Company LinkedIn Account GET",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Set Data": {
      "main": [
        [
          {
            "node": "Loop Over Items",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Create doc": {
      "main": [
        [
          {
            "node": "Add report to doc",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Set if TRUE": {
      "main": [
        [
          {
            "node": "Merge",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get All Data": {
      "main": [
        [
          {
            "node": "Set Data",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Set if WRONG": {
      "main": [
        [
          {
            "node": "Merge",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Add to sheets": {
      "main": [
        [
          {
            "node": "Loop Over Items",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Generate Report": {
      "main": [
        [
          {
            "node": "Create doc",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Loop Over Items": {
      "main": [
        [],
        [
          {
            "node": "Company LinkedIn Account POST",
            "type": "main",
            "index": 0
          },
          {
            "node": "Perplexity Search",
            "type": "main",
            "index": 0
          },
          {
            "node": "Personal LinkedIn Account POST",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Add report to doc": {
      "main": [
        [
          {
            "node": "Add to sheets",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI Chat Model": {
      "ai_languageModel": [
        [
          {
            "node": "Analyst of prospect",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Perplexity Search": {
      "main": [
        [
          {
            "node": "check  perplexity research",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI Chat Model1": {
      "ai_languageModel": [
        [
          {
            "node": "Generate Report",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI Chat Model2": {
      "ai_languageModel": [
        [
          {
            "node": "check  perplexity research",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Analyst of prospect": {
      "main": [
        [
          {
            "node": "Perplexity Competitor Research",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Set Results Company": {
      "main": [
        [
          {
            "node": "Merge",
            "type": "main",
            "index": 2
          }
        ]
      ]
    },
    "Set Results Personal": {
      "main": [
        [
          {
            "node": "Merge",
            "type": "main",
            "index": 1
          }
        ]
      ]
    },
    "Structured Output Parser": {
      "ai_outputParser": [
        [
          {
            "node": "Analyst of prospect",
            "type": "ai_outputParser",
            "index": 0
          }
        ]
      ]
    },
    "check  perplexity research": {
      "main": [
        [
          {
            "node": "If",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Company LinkedIn Account GET": {
      "main": [
        [
          {
            "node": "Set Results Company",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Company LinkedIn Account POST": {
      "main": [
        [
          {
            "node": "Wait1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Personal LinkedIn Account GET": {
      "main": [
        [
          {
            "node": "Set Results Personal",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Perplexity Competitor Research": {
      "main": [
        [
          {
            "node": "Generate Report",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Personal LinkedIn Account POST": {
      "main": [
        [
          {
            "node": "Wait",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "When clicking ‘Test workflow’": {
      "main": [
        [
          {
            "node": "Get All Data",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}
常见问题

如何使用这个工作流?

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

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

高级 - 销售, 人工智能, 营销

需要付费吗?

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

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

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

作者
LukaszB

LukaszB

@lukaszb

AI Automation Expert | Web & Mobile App Integrator With 2+ years of experience, I build smart automations, web & mobile app workflows, and scalable platforms using tools like n8n, Make, and more. I help businesses reduce operational costs, save time, and scale faster with AI-powered solutions. For business enquiries, send me an email at kontakt@lumizone.pl

外部链接
在 n8n.io 查看

分享此工作流