LinkedIn自动连接与销售个性化消息
高级
这是一个Sales, AI, Marketing领域的自动化工作流,包含 32 个节点。主要使用 If, Set, Wait, Gmail, SplitOut 等节点,结合人工智能技术实现智能自动化。 LinkedIn自动连接与销售个性化消息
前置要求
- •Google 账号和 Gmail API 凭证
- •Google Sheets API 凭证
- •OpenAI API Key
使用的节点 (32)
工作流预览
可视化展示节点连接关系,支持缩放和平移
导出工作流
复制以下 JSON 配置到 n8n 导入,即可使用此工作流
{
"meta": {
"instanceId": "29c98dbca94063b5244cfdee0f7dc745921e4086484ad77b275337665b4e0510",
"templateCredsSetupCompleted": true
},
"nodes": [
{
"id": "48e9b06e-2c98-422a-b576-fd51e27c4004",
"name": "拆分输出",
"type": "n8n-nodes-base.splitOut",
"position": [
360,
-180
],
"parameters": {},
"typeVersion": 1
},
{
"id": "26f03a9b-47b5-493e-b777-a95e4fb72eae",
"name": "遍历项目",
"type": "n8n-nodes-base.splitInBatches",
"position": [
180,
140
],
"parameters": {},
"typeVersion": 3
},
{
"id": "a79d1bbb-132d-4b14-8342-6492bc2bab41",
"name": "状态更新",
"type": "n8n-nodes-base.googleSheets",
"position": [
700,
100
],
"parameters": {},
"typeVersion": 4.5
},
{
"id": "0d6ae40b-a769-4a55-8028-3583fbbcc0cf",
"name": "等待",
"type": "n8n-nodes-base.wait",
"position": [
700,
320
],
"webhookId": "01645c06-8e3d-4da6-8143-b9c8e4f27f2d",
"parameters": {},
"typeVersion": 1.1
},
{
"id": "726a2b73-ab6d-4c37-a0eb-fec2a1e231de",
"name": "遍历项目1",
"type": "n8n-nodes-base.splitInBatches",
"position": [
-260,
600
],
"parameters": {},
"typeVersion": 3
},
{
"id": "bd99a591-3638-4789-a918-cd07063df4d1",
"name": "等待1",
"type": "n8n-nodes-base.wait",
"position": [
640,
620
],
"webhookId": "6a15518c-2338-469a-a3e1-7fff19728430",
"parameters": {},
"typeVersion": 1.1
},
{
"id": "3e9d035c-7b59-442a-aeb4-7bc8ec2a31df",
"name": "Gmail",
"type": "n8n-nodes-base.gmail",
"position": [
-220,
880
],
"webhookId": "088ea187-9e89-4ff0-aea2-d1b9f553343c",
"parameters": {},
"typeVersion": 2.1
},
{
"id": "ec75892c-2403-4ea5-8aa3-19eb6a22bb29",
"name": "计划触发器",
"type": "n8n-nodes-base.scheduleTrigger",
"position": [
1040,
140
],
"parameters": {},
"typeVersion": 1.2
},
{
"id": "bf3e49ab-7742-41ec-8d94-22b0bab58005",
"name": "如果出错则添加浏览器流程",
"type": "n8n-nodes-base.noOp",
"position": [
1360,
-100
],
"parameters": {},
"typeVersion": 1
},
{
"id": "da7500f0-a7be-4ea9-9119-13fa294ea23c",
"name": "抓取新连接的个人资料",
"type": "n8n-nodes-browserflow.browserflow",
"position": [
1280,
460
],
"parameters": {},
"typeVersion": 1
},
{
"id": "af06b8e5-4175-472b-a38c-7177458d0520",
"name": "AI 代理",
"type": "@n8n/n8n-nodes-langchain.agent",
"position": [
1720,
460
],
"parameters": {},
"typeVersion": 1.8
},
{
"id": "88ad8cb7-2341-47e3-9dce-435b6fe6f888",
"name": "OpenAI 聊天模型",
"type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
"position": [
1700,
640
],
"parameters": {},
"typeVersion": 1.2
},
{
"id": "22e37d14-21fe-403a-8a7f-16e3b748f2bf",
"name": "等待2",
"type": "n8n-nodes-base.wait",
"position": [
1060,
460
],
"webhookId": "de127e26-b70a-4a2c-847f-e81664749186",
"parameters": {},
"typeVersion": 1.1
},
{
"id": "00df905d-3469-4bc1-bc82-e054a3a1d977",
"name": "遍历项目2",
"type": "n8n-nodes-base.splitInBatches",
"position": [
1080,
-140
],
"parameters": {},
"typeVersion": 3
},
{
"id": "a2a881d2-2eae-4508-a297-72bec381451c",
"name": "便签",
"type": "n8n-nodes-base.stickyNote",
"position": [
-400,
20
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "1695c863-4355-4d3c-b66a-bb079d4eac25",
"name": "便签1",
"type": "n8n-nodes-base.stickyNote",
"position": [
-400,
-240
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "35c82e45-49ba-4a1a-998f-4563a217312b",
"name": "便签2",
"type": "n8n-nodes-base.stickyNote",
"position": [
960,
-240
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "1f7d05b5-7f44-4c06-a1c3-7ea9bff7294f",
"name": "个人资料抓取器",
"type": "n8n-nodes-browserflow.browserflow",
"position": [
60,
-180
],
"parameters": {},
"typeVersion": 1
},
{
"id": "2437d440-5b57-44cb-945a-aea51d490a91",
"name": "连接检查器",
"type": "n8n-nodes-browserflow.browserflow",
"position": [
340,
240
],
"parameters": {},
"typeVersion": 1
},
{
"id": "fe121136-15ea-47d4-83f0-ed8bca9a4969",
"name": "邀请发送器",
"type": "n8n-nodes-browserflow.browserflow",
"position": [
-20,
620
],
"parameters": {},
"typeVersion": 1
},
{
"id": "23750f6e-249c-4be9-a4d7-0a61cbe80a52",
"name": "检查连接",
"type": "n8n-nodes-browserflow.browserflow",
"position": [
1500,
140
],
"parameters": {},
"typeVersion": 1
},
{
"id": "0339abfe-2538-4f4c-ba83-b1375f862f10",
"name": "填写关键词",
"type": "n8n-nodes-base.formTrigger",
"position": [
-280,
-180
],
"webhookId": "9fa62efc-c6bc-4625-ba50-ee88bfbf230a",
"parameters": {},
"typeVersion": 2.2
},
{
"id": "7e394a27-d1da-4c12-9130-b03221bd4925",
"name": "添加个人资料",
"type": "n8n-nodes-base.googleSheets",
"position": [
680,
-180
],
"parameters": {},
"typeVersion": 4.5
},
{
"id": "fecafbf6-8791-4ae8-812c-0c1062ee6a55",
"name": "在个人资料更新时运行",
"type": "n8n-nodes-base.googleSheetsTrigger",
"position": [
-300,
280
],
"parameters": {},
"typeVersion": 1
},
{
"id": "afbf905b-4c4d-4bf8-a1df-e749730e0619",
"name": "检查某人是否是连接。",
"type": "n8n-nodes-base.if",
"position": [
-80,
280
],
"parameters": {},
"typeVersion": 2.2
},
{
"id": "df4087dc-2f6a-4315-97ae-a0aebbb651b5",
"name": "如果是连接",
"type": "n8n-nodes-base.if",
"position": [
480,
120
],
"parameters": {},
"typeVersion": 2.2
},
{
"id": "49d1cf62-a5c0-41d5-ab27-f8c769b64488",
"name": "更新邀请",
"type": "n8n-nodes-base.googleSheets",
"position": [
200,
620
],
"parameters": {},
"typeVersion": 4.5
},
{
"id": "15461d1f-a39a-4856-94a1-70e0118eee84",
"name": "设置连接限制",
"type": "n8n-nodes-base.set",
"position": [
420,
620
],
"parameters": {},
"typeVersion": 3.4
},
{
"id": "b1e73c82-5f81-42f3-8237-c62937889547",
"name": "获取个人资料",
"type": "n8n-nodes-base.googleSheets",
"position": [
1260,
140
],
"parameters": {},
"typeVersion": 4.5
},
{
"id": "ba8162cd-2792-44a9-b720-99c205b5cff3",
"name": "如果是连接1",
"type": "n8n-nodes-base.if",
"position": [
1780,
140
],
"parameters": {},
"typeVersion": 2.2
},
{
"id": "c146956d-24b6-40d2-971e-f6fed40c0f4f",
"name": "整理信息",
"type": "n8n-nodes-base.set",
"position": [
1500,
460
],
"parameters": {},
"typeVersion": 3.4
},
{
"id": "d4acef09-1a4d-4027-be28-421c2771e6c6",
"name": "发送个性化消息",
"type": "n8n-nodes-browserflow.browserflow",
"position": [
1880,
740
],
"parameters": {},
"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)可能需要您自行付费。
相关工作流推荐
LinkedIn自动连接与销售个性化消息-N8N
LinkedIn自动连接与销售个性化消息-N8N
If
Set
Wait
+12
33 节点Vansh Arora
[模板] AI宠物店 v8
🐶 AI宠物店助手 - 集成GPT-4o、Google日历和WhatsApp/Instagram/Facebook
If
N8n
Set
+38
244 节点Amanda Benks
销售
基于AI的潜在客户信息增强(Bright Data MCP和Google Sheets)
基于AI的潜在客户信息增强:使用Bright Data MCP和Google Sheets
If
Set
Wait
+19
51 节点Cyril Nicko Gaspar
销售
使用GPT-4o、WordPress和LinkedIn发布自动化RSS内容到博客文章
使用GPT-4o、WordPress和LinkedIn发布自动化RSS内容到博客文章
If
Set
Code
+21
40 节点Immanuel
人工智能
在可视化参考库中探索n8n节点
在可视化参考库中探索n8n节点
If
Ftp
Set
+93
113 节点I versus AI
其他
(Duc)深度研究市场模板
集成PerplexityAI研究和OpenAI内容的多层级WordPress博客生成器
If
Set
Xml
+28
132 节点Daniel Ng
人工智能