8
n8n 中文网amn8n.com

使用PhantomBuster和GPT-4进行LinkedIn资料爬取与结构化数据提取

高级

这是一个Lead Generation, AI Summarization领域的自动化工作流,包含 16 个节点。主要使用 Wait, HttpRequest, GoogleSheets, Agent, ScheduleTrigger 等节点。 LinkedIn爬取、结构化与消息发送(PhantomBuster与GPT-4)

前置要求
  • 可能需要目标 API 的认证凭证
  • Google Sheets API 凭证
  • OpenAI API Key
工作流预览
可视化展示节点连接关系,支持缩放和平移
导出工作流
复制以下 JSON 配置到 n8n 导入,即可使用此工作流
{
  "id": "Bo012Ve1xjb2UvGz",
  "meta": {
    "instanceId": "70da30c32dfca2c8fe2d688fa1f6bf834f1145a963b1dca87ba81a3c249f0060"
  },
  "name": "使用PhantomBuster和GPT-4进行LinkedIn资料爬取与结构化数据提取",
  "tags": [],
  "nodes": [
    {
      "id": "050b23e5-af76-4600-b9a6-340a8667f875",
      "name": "Azure OpenAI聊天模型",
      "type": "@n8n/n8n-nodes-langchain.lmChatAzureOpenAi",
      "position": [
        608,
        140
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "c5ff6d93-f560-494e-9f39-443abec422f0",
      "name": "结构化输出解析器",
      "type": "@n8n/n8n-nodes-langchain.outputParserStructured",
      "position": [
        728,
        140
      ],
      "parameters": {},
      "typeVersion": 1.2
    },
    {
      "id": "075cc15d-7388-4a6b-9957-584389e6e89b",
      "name": "等待",
      "type": "n8n-nodes-base.wait",
      "position": [
        140,
        -80
      ],
      "webhookId": "e9f0b9cc-f051-49fb-95bb-c20b9ef762f9",
      "parameters": {},
      "typeVersion": 1.1
    },
    {
      "id": "dd6d3271-327d-4de7-a26f-cfd54b97d897",
      "name": "Azure OpenAI聊天模型1",
      "type": "@n8n/n8n-nodes-langchain.lmChatAzureOpenAi",
      "position": [
        1204,
        140
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "0e2b6b76-a5eb-4dc1-a712-167ce2488953",
      "name": "结构化输出解析器1",
      "type": "@n8n/n8n-nodes-langchain.outputParserStructured",
      "notes": "\\n\\n should break line ",
      "position": [
        1324,
        140
      ],
      "parameters": {},
      "typeVersion": 1.2
    },
    {
      "id": "8d6235f1-a8b8-47db-bfc5-908b90dbde94",
      "name": "计划触发器",
      "type": "n8n-nodes-base.scheduleTrigger",
      "position": [
        -740,
        -80
      ],
      "parameters": {},
      "typeVersion": 1.2
    },
    {
      "id": "cc856530-a323-4499-a0ea-c7b8cf6b5f18",
      "name": "从电子表格获取URL",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        -520,
        -80
      ],
      "parameters": {},
      "typeVersion": 4.5
    },
    {
      "id": "a3d3306f-9f50-4d62-bf63-01aedcb4f122",
      "name": "临时URL存储",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        -300,
        -80
      ],
      "parameters": {},
      "typeVersion": 4.5
    },
    {
      "id": "fbb23c68-eb57-4e62-8082-25de044d9e13",
      "name": "POST到Phantombuster API",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        -80,
        -80
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "7a2fd291-012c-4fb4-820a-2c56e5a9dda5",
      "name": "从Phantombuster API GET",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        360,
        -80
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "95917eb0-1770-409f-8e21-ed31ad2c5414",
      "name": "使用GPT-4从输出中提取URL",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        580,
        -80
      ],
      "parameters": {},
      "typeVersion": 1.9
    },
    {
      "id": "78f58ded-7c90-4963-a9b0-b37baa191187",
      "name": "从URL获取LinkedIn数据",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        956,
        -80
      ],
      "parameters": {},
      "retryOnFail": true,
      "typeVersion": 4.2
    },
    {
      "id": "cfdda7bf-5671-4217-8c3e-b810ec7014f8",
      "name": "使用模板创建个性化消息",
      "type": "@n8n/n8n-nodes-langchain.chainLlm",
      "position": [
        1176,
        -80
      ],
      "parameters": {},
      "typeVersion": 1.6
    },
    {
      "id": "05f7e20a-12b8-42c5-aff4-d32cb1e8308f",
      "name": "更新个性化消息到电子表格",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        1552,
        -80
      ],
      "parameters": {},
      "retryOnFail": true,
      "typeVersion": 4.5
    },
    {
      "id": "8082d646-86ae-48e1-8dd0-bef1dfbe977a",
      "name": "删除临时URL存储",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        1772,
        -80
      ],
      "parameters": {},
      "typeVersion": 4.5
    },
    {
      "id": "c09ea986-7593-4797-ad96-d639b463efb3",
      "name": "便签",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1520,
        -260
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    }
  ],
  "active": false,
  "pinData": {},
  "settings": {
    "executionOrder": "v1"
  },
  "versionId": "7aaed66f-b64b-416c-b023-e629aee84c38",
  "connections": {
    "Wait": {
      "main": [
        [
          {
            "node": "GET from Phantombuster API",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Schedule Trigger": {
      "main": [
        [
          {
            "node": "Fetch URL from Spreadsheet",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Temp URL Storage": {
      "main": [
        [
          {
            "node": "POST to Phantombuster API",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Azure OpenAI Chat Model": {
      "ai_languageModel": [
        [
          {
            "node": "Extract URL from Output using GPT-4",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Azure OpenAI Chat Model1": {
      "ai_languageModel": [
        [
          {
            "node": "Create Personalised Messages using a Template",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Structured Output Parser": {
      "ai_outputParser": [
        [
          {
            "node": "Extract URL from Output using GPT-4",
            "type": "ai_outputParser",
            "index": 0
          }
        ]
      ]
    },
    "POST to Phantombuster API": {
      "main": [
        [
          {
            "node": "Wait",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Structured Output Parser1": {
      "ai_outputParser": [
        [
          {
            "node": "Create Personalised Messages using a Template",
            "type": "ai_outputParser",
            "index": 0
          }
        ]
      ]
    },
    "Fetch URL from Spreadsheet": {
      "main": [
        [
          {
            "node": "Temp URL Storage",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "GET LinkedIn Data from URL": {
      "main": [
        [
          {
            "node": "Create Personalised Messages using a Template",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "GET from Phantombuster API": {
      "main": [
        [
          {
            "node": "Extract URL from Output using GPT-4",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Extract URL from Output using GPT-4": {
      "main": [
        [
          {
            "node": "GET LinkedIn Data from URL",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Update Personalised Messages to Spreadsheet": {
      "main": [
        [
          {
            "node": "Delete Temp URL Storage",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Create Personalised Messages using a Template": {
      "main": [
        [
          {
            "node": "Update Personalised Messages to Spreadsheet",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}
常见问题

如何使用这个工作流?

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

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

高级 - 潜在客户开发, AI 摘要总结

需要付费吗?

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

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

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

作者
Rahul Joshi

Rahul Joshi

@rahul08

Rahul Joshi is a seasoned technology leader specializing in the n8n automation tool and AI-driven workflow automation. With deep expertise in building open-source workflow automation and self-hosted automation platforms, he helps organizations eliminate manual processes through intelligent n8n ai agent automation solutions.

外部链接
在 n8n.io 查看

分享此工作流