8
n8n 中文网amn8n.com

基于AI的潜在客户生成(Apollo、LinkedIn研究和4步个性化邮件)

高级

这是一个Lead Generation, Multimodal AI领域的自动化工作流,包含 30 个节点。主要使用 If, Set, Code, Filter, FormTrigger 等节点。 基于AI的潜在客户生成:使用Apollo、LinkedIn研究和4步个性化邮件

前置要求
  • 可能需要目标 API 的认证凭证
  • Google Sheets API 凭证
  • OpenAI API Key
工作流预览
可视化展示节点连接关系,支持缩放和平移
导出工作流
复制以下 JSON 配置到 n8n 导入,即可使用此工作流
{
  "meta": {
    "instanceId": "28099d2544433ae0f39c65315a4d4c531947fcb0f060a94d6047d7be5df31063",
    "templateCredsSetupCompleted": true
  },
  "nodes": [
    {
      "id": "4e9caad2-ee4c-40a1-ae1e-b83e68bd4379",
      "name": "便签2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -40,
        0
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "cc1a0044-84e4-434b-937b-0c4617d448f6",
      "name": "生成查询",
      "type": "n8n-nodes-base.set",
      "position": [
        740,
        160
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "c0ea2d57-8d46-4b66-8ba6-8ad43e22a4e9",
      "name": "创建 Apollo URL",
      "type": "n8n-nodes-base.code",
      "position": [
        940,
        160
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "4dee498d-5372-4853-8d95-59ee4f33da80",
      "name": "过滤器",
      "type": "n8n-nodes-base.filter",
      "position": [
        1600,
        160
      ],
      "parameters": {},
      "typeVersion": 2.2
    },
    {
      "id": "6e61100a-ccc2-443d-8ce9-b97927525caa",
      "name": "保存潜在客户",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        1780,
        160
      ],
      "parameters": {},
      "typeVersion": 4.6
    },
    {
      "id": "027958db-43e4-4ce8-83d0-7fda87c21f64",
      "name": "便签3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        480,
        0
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "85c5a3c5-a390-439e-8ce2-cda77a2fd2cd",
      "name": "便签4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        480,
        360
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "1b817f0c-99f7-45a1-af8f-ae6106aa755c",
      "name": "便签",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1120,
        60
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "d0b503a3-0df0-4cf2-b37b-f1c627223d36",
      "name": "Apollo 爬虫(付费)",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        2100,
        160
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "1784549b-f019-48c4-99ed-f052566b4ac4",
      "name": "Apollo 爬虫",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        1180,
        160
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "ced2c256-baba-4576-b289-9d6e89b07681",
      "name": "提取信息",
      "type": "n8n-nodes-base.set",
      "position": [
        1420,
        160
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "94072872-68a7-4e5c-8b21-601d05873b77",
      "name": "编辑字段",
      "type": "n8n-nodes-base.set",
      "position": [
        1500,
        500
      ],
      "parameters": {},
      "typeVersion": 3.4,
      "alwaysOutputData": true
    },
    {
      "id": "c0cf0744-52db-4129-b8f4-f99e7e9a36e0",
      "name": "检查时区",
      "type": "n8n-nodes-base.code",
      "position": [
        1400,
        780
      ],
      "parameters": {},
      "typeVersion": 2,
      "alwaysOutputData": true
    },
    {
      "id": "277d7eff-c268-462b-a4de-c89d81d8282a",
      "name": "分配发件人邮箱",
      "type": "n8n-nodes-base.code",
      "position": [
        1600,
        780
      ],
      "parameters": {},
      "typeVersion": 2,
      "alwaysOutputData": true
    },
    {
      "id": "4b2abdee-a7a0-4849-918b-e7001bd6a3cf",
      "name": "添加退订令牌",
      "type": "n8n-nodes-base.code",
      "position": [
        1800,
        780
      ],
      "parameters": {},
      "typeVersion": 2,
      "alwaysOutputData": true
    },
    {
      "id": "008ef762-e4c0-4416-8272-f351cd027d0e",
      "name": "保存邮箱",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        2000,
        780
      ],
      "parameters": {},
      "typeVersion": 4.6,
      "alwaysOutputData": true
    },
    {
      "id": "24030301-9a0f-448a-a96f-6f1971bd2e3f",
      "name": "保存分析",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        2200,
        780
      ],
      "parameters": {},
      "typeVersion": 4.6,
      "alwaysOutputData": true
    },
    {
      "id": "aa7b5706-ba2b-405f-9941-a12678a5b3fb",
      "name": "生成 LinkedIn 开场白",
      "type": "@n8n/n8n-nodes-langchain.openAi",
      "position": [
        740,
        780
      ],
      "parameters": {},
      "typeVersion": 1.8,
      "alwaysOutputData": true
    },
    {
      "id": "7e40ecbc-4599-41d9-ae48-41a4e96a2fef",
      "name": "分析数据",
      "type": "@n8n/n8n-nodes-langchain.openAi",
      "position": [
        2040,
        500
      ],
      "parameters": {},
      "typeVersion": 1.8,
      "alwaysOutputData": true
    },
    {
      "id": "ad2a1478-ebce-4242-8bbb-8370593b2a5f",
      "name": "生成邮件",
      "type": "@n8n/n8n-nodes-langchain.openAi",
      "position": [
        1060,
        780
      ],
      "parameters": {},
      "typeVersion": 1.8,
      "alwaysOutputData": true
    },
    {
      "id": "2a355964-a612-429e-9361-b89477c9ae77",
      "name": "计划触发器",
      "type": "n8n-nodes-base.scheduleTrigger",
      "position": [
        520,
        540
      ],
      "parameters": {},
      "typeVersion": 1.2
    },
    {
      "id": "28673b4e-4070-4296-9f8c-2f8e24b905f7",
      "name": "LinkedIn 是否存在?",
      "type": "n8n-nodes-base.if",
      "position": [
        1100,
        540
      ],
      "parameters": {},
      "typeVersion": 2.2,
      "alwaysOutputData": true
    },
    {
      "id": "cbfbb06c-0b1a-4eb5-ae3b-5da392d9e0d2",
      "name": "获取潜在客户",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        700,
        540
      ],
      "parameters": {},
      "typeVersion": 4.6,
      "alwaysOutputData": true
    },
    {
      "id": "017e420a-0519-4f88-add0-56f4b6993787",
      "name": "遍历项目",
      "type": "n8n-nodes-base.splitInBatches",
      "position": [
        880,
        540
      ],
      "parameters": {},
      "typeVersion": 3,
      "alwaysOutputData": true
    },
    {
      "id": "b5804cf2-9627-4768-bbeb-876a6b9f4359",
      "name": "LinkedIn 爬虫",
      "type": "n8n-nodes-base.httpRequest",
      "onError": "continueRegularOutput",
      "position": [
        1320,
        500
      ],
      "parameters": {},
      "typeVersion": 4.2,
      "alwaysOutputData": true
    },
    {
      "id": "e90194c7-4ad4-4897-ad6a-aae2afd05d68",
      "name": "公司爬虫",
      "type": "n8n-nodes-base.httpRequest",
      "onError": "continueRegularOutput",
      "position": [
        1680,
        500
      ],
      "parameters": {},
      "typeVersion": 4.2,
      "alwaysOutputData": true
    },
    {
      "id": "424c5674-7203-426d-ab0d-e5826e88ff23",
      "name": "整理响应",
      "type": "n8n-nodes-base.code",
      "position": [
        540,
        780
      ],
      "parameters": {},
      "typeVersion": 2,
      "alwaysOutputData": true
    },
    {
      "id": "b66d0cb5-ecaf-4bd9-a05e-8587f578ffa1",
      "name": "关于您",
      "type": "n8n-nodes-base.set",
      "position": [
        1860,
        500
      ],
      "parameters": {},
      "typeVersion": 3.4,
      "alwaysOutputData": true
    },
    {
      "id": "251054db-dbd7-4def-ac70-a7d4d3ff9a67",
      "name": "便签5",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2040,
        60
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "c2056d09-2472-4cad-bc92-3b15e7a88ff2",
      "name": "输入目标受众",
      "type": "n8n-nodes-base.formTrigger",
      "position": [
        540,
        160
      ],
      "webhookId": "ff72bad8-0d00-41f6-88b9-dd4e5f34a58e",
      "parameters": {},
      "typeVersion": 2.2
    }
  ],
  "pinData": {},
  "connections": {
    "Filter": {
      "main": [
        [
          {
            "node": "Save Prospects",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "About You": {
      "main": [
        [
          {
            "node": "Analyse Data",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Edit Fields": {
      "main": [
        [
          {
            "node": "Company Scraper",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Save Emails": {
      "main": [
        [
          {
            "node": "Save Analysis",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Analyse Data": {
      "main": [
        [
          {
            "node": "Organise Response",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Extract Info": {
      "main": [
        [
          {
            "node": "Filter",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get Prospects": {
      "main": [
        [
          {
            "node": "Loop Over Items",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Save Analysis": {
      "main": [
        [
          {
            "node": "Loop Over Items",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Apollo Scraper": {
      "main": [
        [
          {
            "node": "Extract Info",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Generate Query": {
      "main": [
        [
          {
            "node": "Create Apollo URL",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Genrate Emails": {
      "main": [
        [
          {
            "node": "Check Time Zone",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Check Time Zone": {
      "main": [
        [
          {
            "node": "Assign Sender Email",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Company Scraper": {
      "main": [
        [
          {
            "node": "About You",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Loop Over Items": {
      "main": [
        [],
        [
          {
            "node": "If Linkedin Exists?",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Linkedin Scraper": {
      "main": [
        [
          {
            "node": "Edit Fields",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Schedule Trigger": {
      "main": [
        [
          {
            "node": "Get Prospects",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Add Opt Out Token": {
      "main": [
        [
          {
            "node": "Save Emails",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Create Apollo URL": {
      "main": [
        [
          {
            "node": "Apollo Scraper",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Organise Response": {
      "main": [
        [
          {
            "node": "Generate LinkedIn Opener",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Assign Sender Email": {
      "main": [
        [
          {
            "node": "Add Opt Out Token",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "If Linkedin Exists?": {
      "main": [
        [
          {
            "node": "Linkedin Scraper",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Loop Over Items",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Enter Target Audience": {
      "main": [
        [
          {
            "node": "Generate Query",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Generate LinkedIn Opener": {
      "main": [
        [
          {
            "node": "Genrate Emails",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}
常见问题

如何使用这个工作流?

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

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

高级 - 潜在客户开发, 多模态 AI

需要付费吗?

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

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

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

作者
Gain FLow AI

Gain FLow AI

@gain-flow

GainFlow AI is your go-to AI automation agency, specializing in Python and no-code solutions to eliminate repetitive tasks for individuals and businesses. Free up your time and boost efficiency. For inquiries, Fill this form - https://docs.google.com/forms/d/e/1FAIpQLSfIiXdw4HMcI2HM-Obng13j_RFiKv7X-mjOVm_mcy2ucRA8EA/viewform or reach out to us at info.gainflow@gmail.com.

外部链接
在 n8n.io 查看

分享此工作流