8
n8n 中文网amn8n.com

LinkedIn自动连接与销售个性化消息-N8N

高级

这是一个自动化工作流,包含 33 个节点。主要使用 If, Set, Wait, Gmail, SplitOut 等节点。 LinkedIn自动连接与销售个性化消息-N8N

前置要求
  • Google 账号和 Gmail API 凭证
  • Google Sheets API 凭证
  • OpenAI API Key

分类

-
工作流预览
可视化展示节点连接关系,支持缩放和平移
导出工作流
复制以下 JSON 配置到 n8n 导入,即可使用此工作流
{
  "meta": {
    "instanceId": "28099d2544433ae0f39c65315a4d4c531947fcb0f060a94d6047d7be5df31063",
    "templateCredsSetupCompleted": true
  },
  "nodes": [
    {
      "id": "6193fe63-4e6d-4e58-af80-820cc62da1e7",
      "name": "拆分输出",
      "type": "n8n-nodes-base.splitOut",
      "position": [
        760,
        60
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "708e6444-a067-4f9b-9f62-9d625cbf57e2",
      "name": "遍历项目",
      "type": "n8n-nodes-base.splitInBatches",
      "position": [
        580,
        380
      ],
      "parameters": {},
      "typeVersion": 3
    },
    {
      "id": "b3a144d3-3823-4f45-b7b0-58fb70223797",
      "name": "状态更新",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        1100,
        340
      ],
      "parameters": {},
      "typeVersion": 4.5
    },
    {
      "id": "cb0bfa34-13c8-4a99-a1cc-a75cb459810b",
      "name": "等待",
      "type": "n8n-nodes-base.wait",
      "position": [
        1100,
        560
      ],
      "webhookId": "01645c06-8e3d-4da6-8143-b9c8e4f27f2d",
      "parameters": {},
      "typeVersion": 1.1
    },
    {
      "id": "7e57e9c2-bd83-440a-a9fc-27007d550d39",
      "name": "遍历项目1循环",
      "type": "n8n-nodes-base.splitInBatches",
      "position": [
        140,
        840
      ],
      "parameters": {},
      "typeVersion": 3
    },
    {
      "id": "942e2afe-764d-4996-b17d-01b35c541e97",
      "name": "等待1",
      "type": "n8n-nodes-base.wait",
      "position": [
        1040,
        860
      ],
      "webhookId": "6a15518c-2338-469a-a3e1-7fff19728430",
      "parameters": {},
      "typeVersion": 1.1
    },
    {
      "id": "4075ec1d-f29c-47ba-bc9a-a1704565251c",
      "name": "Gmail",
      "type": "n8n-nodes-base.gmail",
      "position": [
        180,
        1120
      ],
      "webhookId": "088ea187-9e89-4ff0-aea2-d1b9f553343c",
      "parameters": {},
      "typeVersion": 2.1
    },
    {
      "id": "a731c4c3-99ce-4948-bcdf-6916fb5bd1d8",
      "name": "计划触发器",
      "type": "n8n-nodes-base.scheduleTrigger",
      "position": [
        1440,
        380
      ],
      "parameters": {},
      "typeVersion": 1.2
    },
    {
      "id": "fb07671b-1e67-420c-9637-7aae37edc3ca",
      "name": "如果出错则添加浏览器流程",
      "type": "n8n-nodes-base.noOp",
      "position": [
        1760,
        140
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "856168fe-25fc-4af4-9995-48c3c004ab60",
      "name": "抓取新连接个人资料",
      "type": "n8n-nodes-browserflow.browserflow",
      "position": [
        1680,
        700
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "aeebc455-c90e-40f0-abe8-8a0a3bce7c3e",
      "name": "AI Agent",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        2120,
        700
      ],
      "parameters": {},
      "typeVersion": 1.8
    },
    {
      "id": "7311df4d-9cb5-4aa2-9a12-881819d09737",
      "name": "OpenAI 聊天模型",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        2100,
        880
      ],
      "parameters": {},
      "typeVersion": 1.2
    },
    {
      "id": "6e124f60-2cac-437e-9dea-8847be940da0",
      "name": "等待2",
      "type": "n8n-nodes-base.wait",
      "position": [
        1460,
        700
      ],
      "webhookId": "de127e26-b70a-4a2c-847f-e81664749186",
      "parameters": {},
      "typeVersion": 1.1
    },
    {
      "id": "1151ed7d-ec05-4234-98e6-5d34fdb1498e",
      "name": "遍历项目2",
      "type": "n8n-nodes-base.splitInBatches",
      "position": [
        1480,
        100
      ],
      "parameters": {},
      "typeVersion": 3
    },
    {
      "id": "04dd46e8-eaa5-42da-ba8a-4bb41bb249f2",
      "name": "便签",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        0,
        260
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "efb202a0-8a25-4382-b48d-bcd5482ecb3b",
      "name": "便签 1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        0,
        0
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "8c6ba5ed-c06f-4b3f-b4b7-aa3835291032",
      "name": "便签 2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1360,
        0
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "7f5a91ea-a469-4252-abdd-11cd81b02722",
      "name": "个人资料抓取器",
      "type": "n8n-nodes-browserflow.browserflow",
      "position": [
        460,
        60
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "a4bf0041-7f2f-4fed-946a-cb1711fbbc6b",
      "name": "连接检查器",
      "type": "n8n-nodes-browserflow.browserflow",
      "position": [
        740,
        480
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "f77ae32c-6eb5-4e61-81ad-e32aa8c78ea5",
      "name": "邀请发送器",
      "type": "n8n-nodes-browserflow.browserflow",
      "position": [
        380,
        860
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "41330fb6-c57a-4b2e-934a-f8f099e33e2c",
      "name": "检查连接",
      "type": "n8n-nodes-browserflow.browserflow",
      "position": [
        1900,
        380
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "d0e3f971-21da-4e7f-9822-1210a854b0aa",
      "name": "填写关键词",
      "type": "n8n-nodes-base.formTrigger",
      "position": [
        120,
        60
      ],
      "webhookId": "9fa62efc-c6bc-4625-ba50-ee88bfbf230a",
      "parameters": {},
      "typeVersion": 2.2
    },
    {
      "id": "face174c-e987-4cd1-93bb-15c4855f4d0d",
      "name": "添加个人资料",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        1080,
        60
      ],
      "parameters": {},
      "typeVersion": 4.5
    },
    {
      "id": "42fc8820-58df-45fc-ab01-82e1dc0ad976",
      "name": "在个人资料更新时运行",
      "type": "n8n-nodes-base.googleSheetsTrigger",
      "position": [
        100,
        520
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "06c1608f-a872-4d95-b95a-b8e56183cbe7",
      "name": "检查某人是否为连接。",
      "type": "n8n-nodes-base.if",
      "position": [
        320,
        520
      ],
      "parameters": {},
      "typeVersion": 2.2
    },
    {
      "id": "e4b1a72d-799f-4891-8e1b-0b022d9ba8b2",
      "name": "如果是连接",
      "type": "n8n-nodes-base.if",
      "position": [
        880,
        360
      ],
      "parameters": {},
      "typeVersion": 2.2
    },
    {
      "id": "f1f7f5ab-009e-4411-966b-158e8cd48110",
      "name": "更新邀请",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        600,
        860
      ],
      "parameters": {},
      "typeVersion": 4.5
    },
    {
      "id": "d082df29-e849-4c90-ba3f-d4839f82af6b",
      "name": "设置连接限制",
      "type": "n8n-nodes-base.set",
      "position": [
        820,
        860
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "cfb3ecce-b3f5-4cb1-9ce5-7806b8686b8c",
      "name": "获取个人资料",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        1660,
        380
      ],
      "parameters": {},
      "typeVersion": 4.5
    },
    {
      "id": "7be30440-d7cb-4213-aaa1-0473148f3256",
      "name": "如果是连接1",
      "type": "n8n-nodes-base.if",
      "position": [
        2180,
        380
      ],
      "parameters": {},
      "typeVersion": 2.2
    },
    {
      "id": "347142ac-a0bc-4be2-9dba-b22f4f89a86d",
      "name": "整理信息",
      "type": "n8n-nodes-base.set",
      "position": [
        1900,
        700
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "9fb6c52e-e3ca-44a2-8c3f-7b7e4653f808",
      "name": "发送个性化消息",
      "type": "n8n-nodes-browserflow.browserflow",
      "position": [
        2280,
        980
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "8aea44dd-9500-490c-9107-cbc0ea1af44c",
      "name": "便签 3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -540,
        0
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    }
  ],
  "pinData": {},
  "connections": {
    "Wait": {
      "main": [
        [
          {
            "node": "Loop Over Items1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Wait1": {
      "main": [
        [
          {
            "node": "Loop Over Items1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Wait2": {
      "main": [
        [
          {
            "node": "Scrap New Connection Profile",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "AI Agent": {
      "main": [
        [
          {
            "node": "Send Personalised Message",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Split Out": {
      "main": [
        [
          {
            "node": "Add Profiles",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get Profiles": {
      "main": [
        [
          {
            "node": "Check Connection",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "If connection": {
      "main": [
        [
          {
            "node": "Stat Update",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Wait",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Invite Sender": {
      "main": [
        [
          {
            "node": "Update Invite",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Update Invite": {
      "main": [
        [
          {
            "node": "Set Connection Limit",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "If connection1": {
      "main": [
        [
          {
            "node": "Wait2",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Loop Over Items": {
      "main": [
        [
          {
            "node": "If connection",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Connection Checker",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Profile Scraper": {
      "main": [
        [
          {
            "node": "Split Out",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Check Connection": {
      "main": [
        [
          {
            "node": "If connection1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Loop Over Items1": {
      "main": [
        [
          {
            "node": "Gmail",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Invite Sender",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Loop Over Items2": {
      "main": [
        [],
        [
          {
            "node": "add browser flow if it gives error",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Schedule Trigger": {
      "main": [
        [
          {
            "node": "Get Profiles",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Fill Out Keywords": {
      "main": [
        [
          {
            "node": "Profile Scraper",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI Chat Model": {
      "ai_languageModel": [
        [
          {
            "node": "AI Agent",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Connection Checker": {
      "main": [
        [
          {
            "node": "Loop Over Items",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Organise Infomation": {
      "main": [
        [
          {
            "node": "AI Agent",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Set Connection Limit": {
      "main": [
        [
          {
            "node": "Wait1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Run when profile is update": {
      "main": [
        [
          {
            "node": "Check if a person is a connection.",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Scrap New Connection Profile": {
      "main": [
        [
          {
            "node": "Organise Infomation",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Check if a person is a connection.": {
      "main": [
        [
          {
            "node": "Loop Over Items",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "add browser flow if it gives error": {
      "main": [
        [
          {
            "node": "Loop Over Items2",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}
常见问题

如何使用这个工作流?

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

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

高级

需要付费吗?

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

工作流信息
难度等级
高级
节点数量33
分类-
节点类型15
难度说明

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

外部链接
在 n8n.io 查看

分享此工作流