8
n8n 中文网amn8n.com

LinkGPT

高级

这是一个Sales, AI领域的自动化工作流,包含 22 个节点。主要使用 If, Code, Wait, Hunter, HttpRequest 等节点,结合人工智能技术实现智能自动化。 使用OpenAI和Hunter自动化LinkedIn档案搜索与冷邮件外联

前置要求
  • 可能需要目标 API 的认证凭证
  • Google Sheets API 凭证
  • OpenAI API Key
工作流预览
可视化展示节点连接关系,支持缩放和平移
导出工作流
复制以下 JSON 配置到 n8n 导入,即可使用此工作流
{
  "id": "3hkkh26rGduY5nsP",
  "meta": {
    "instanceId": "7b22476bf9699de09fe66fed92056e8ae798418cc9901fa9bd85bb46439116b8"
  },
  "name": "LinkGPT",
  "tags": [
    {
      "id": "V4LdVOYIGIbfdqvb",
      "name": "linkedin",
      "createdAt": "2025-06-11T18:52:18.612Z",
      "updatedAt": "2025-06-11T18:52:18.612Z"
    },
    {
      "id": "yt7Z3T0SDl1Coo7S",
      "name": "hunter",
      "createdAt": "2025-06-11T18:52:25.423Z",
      "updatedAt": "2025-06-11T18:52:25.423Z"
    },
    {
      "id": "qlvLkg4Mxoeos0VK",
      "name": "cold email",
      "createdAt": "2025-06-11T18:52:31.368Z",
      "updatedAt": "2025-06-11T18:52:31.368Z"
    }
  ],
  "nodes": [
    {
      "id": "95580f35-3039-49e0-9dde-2218080c6c1d",
      "name": "等待",
      "type": "n8n-nodes-base.wait",
      "position": [
        760,
        880
      ],
      "webhookId": "eadafb7f-61bf-4648-bcdf-b1ffec403f85",
      "parameters": {},
      "typeVersion": 1.1
    },
    {
      "id": "e7ccc8dc-a658-499a-ab69-beed20b418c2",
      "name": "当收到聊天消息时",
      "type": "@n8n/n8n-nodes-langchain.chatTrigger",
      "position": [
        440,
        400
      ],
      "webhookId": "1fed76d2-a19a-4c44-aa3d-1bd0aef788bb",
      "parameters": {},
      "typeVersion": 1.1
    },
    {
      "id": "634d67e1-d251-4f9e-994b-642c3346734e",
      "name": "创建新表格",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        1120,
        400
      ],
      "parameters": {},
      "typeVersion": 4.5
    },
    {
      "id": "94a6bc5b-39a7-477b-81ef-ffea2e62284c",
      "name": "为新表格添加列",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        760,
        640
      ],
      "parameters": {},
      "typeVersion": 4.5
    },
    {
      "id": "260d8a51-0708-484b-98ed-9872f110bc2c",
      "name": "设置Google搜索的页码",
      "type": "n8n-nodes-base.code",
      "position": [
        1060,
        640
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "92461c5c-1c76-4c0e-b235-f41f952af35e",
      "name": "Google布尔搜索",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        1080,
        880
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "91016b0f-78f2-44a3-900a-c072d7e9ff53",
      "name": "如果未达到预期结果",
      "type": "n8n-nodes-base.if",
      "position": [
        400,
        900
      ],
      "parameters": {},
      "typeVersion": 2.2
    },
    {
      "id": "235a74ca-b58a-46f4-8de4-a08a83424efc",
      "name": "将结果附加到表格",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        740,
        1360
      ],
      "parameters": {},
      "typeVersion": 4.5
    },
    {
      "id": "3e24720c-39a8-4329-ae6e-c6e01b61b435",
      "name": "代码",
      "type": "n8n-nodes-base.code",
      "position": [
        4960,
        600
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "1db7dcd7-cf17-47f0-b44f-cd612797c88b",
      "name": "提取名字、姓氏、域名",
      "type": "n8n-nodes-base.code",
      "position": [
        1080,
        1140
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "18bd422d-6fc0-4442-9b2f-a34cd14d45e8",
      "name": "从Google HTTP响应中提取所有LinkedIn URL和工作场所上下文",
      "type": "n8n-nodes-base.code",
      "position": [
        400,
        1140
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "a2c6a9e3-3136-40cc-a58e-23c0b5e78999",
      "name": "起始值加10 - 转到下一页",
      "type": "n8n-nodes-base.code",
      "position": [
        100,
        900
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "52918647-57a2-4d1c-903c-4cb35429eb4c",
      "name": "Hunter",
      "type": "n8n-nodes-base.hunter",
      "position": [
        380,
        1360
      ],
      "parameters": {},
      "executeOnce": true,
      "typeVersion": 1
    },
    {
      "id": "140bc853-3ed4-4403-8e98-e24899401633",
      "name": "生成布尔搜索字符串",
      "type": "@n8n/n8n-nodes-langchain.openAi",
      "position": [
        740,
        400
      ],
      "parameters": {},
      "retryOnFail": false,
      "typeVersion": 1.8
    },
    {
      "id": "85e4341c-50a0-4123-b17f-072898de528a",
      "name": "提取联系方式",
      "type": "@n8n/n8n-nodes-langchain.openAi",
      "position": [
        680,
        1140
      ],
      "parameters": {},
      "typeVersion": 1.8
    },
    {
      "id": "79559a98-f857-4c24-a351-0856afa88932",
      "name": "便签 4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1240,
        880
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "e56703f5-b316-41e1-861f-ec4835155df8",
      "name": "便签",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        660,
        1060
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "185dc39c-4c61-445d-9981-30edcc10149a",
      "name": "要添加的列:linkedin_url、first_name、last_name、email、context、domain",
      "type": "n8n-nodes-base.code",
      "position": [
        420,
        640
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "c54825fe-cda7-48af-9d9d-5307ac51bbad",
      "name": "便签 1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        720,
        300
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "fa062c54-bdf5-4518-8300-7876657de377",
      "name": "便签 3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        640,
        820
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "42eb75e5-6c9e-4890-9248-7051a514ccae",
      "name": "便签 2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        60,
        760
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "b180f392-9809-45a8-97f4-3c9a3c0368e1",
      "name": "便签 5",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        180,
        1280
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    }
  ],
  "active": true,
  "pinData": {},
  "settings": {},
  "versionId": "19a94125-3580-413b-83dd-3ec7a769e021",
  "connections": {
    "Code": {
      "main": [
        []
      ]
    },
    "Wait": {
      "main": [
        [
          {
            "node": "Google Boolean Search",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Hunter": {
      "main": [
        [
          {
            "node": "Appends the results to the sheet",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Create a new sheet": {
      "main": [
        [
          {
            "node": "Columns to add: linkedin_url, first_name, last_name, email, context, domain",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Google Boolean Search": {
      "main": [
        [
          {
            "node": "Extracts all linkedin urls and workplace context from the google http response",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Extract Contact Details": {
      "main": [
        [
          {
            "node": "Extracts fname, lname, domainname",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Add columns to new sheet": {
      "main": [
        [
          {
            "node": "set page number for google search",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "When chat message received": {
      "main": [
        [
          {
            "node": "Generate a Boolean Search String",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "If desired results not reached": {
      "main": [
        [
          {
            "node": "Wait",
            "type": "main",
            "index": 0
          }
        ],
        []
      ]
    },
    "Appends the results to the sheet": {
      "main": [
        [
          {
            "node": "Adds 10 to start - Go to next page",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Generate a Boolean Search String": {
      "main": [
        [
          {
            "node": "Create a new sheet",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Extracts fname, lname, domainname": {
      "main": [
        [
          {
            "node": "Hunter",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "set page number for google search": {
      "main": [
        [
          {
            "node": "If desired results not reached",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Adds 10 to start - Go to next page": {
      "main": [
        [
          {
            "node": "If desired results not reached",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Columns to add: linkedin_url, first_name, last_name, email, context, domain": {
      "main": [
        [
          {
            "node": "Add columns to new sheet",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Extracts all linkedin urls and workplace context from the google http response": {
      "main": [
        [
          {
            "node": "Extract Contact Details",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}
常见问题

如何使用这个工作流?

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

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

高级 - 销售, 人工智能

需要付费吗?

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

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

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

作者
Abhijay Vuyyuru

Abhijay Vuyyuru

@abhijayvuyyuru

Product Manager at Google, Harvard MBA and Automation Expert for real-life use cases

外部链接
在 n8n.io 查看

分享此工作流