发送LinkedIn连接请求
高级
这是一个Sales领域的自动化工作流,包含 24 个节点。主要使用 Set, Airtop, Switch, FormTrigger, ExecuteWorkflowTrigger 等节点。 使用Airtop发送LinkedIn连接请求
前置要求
- •无特殊前置要求,导入即可使用
分类
工作流预览
可视化展示节点连接关系,支持缩放和平移
导出工作流
复制以下 JSON 配置到 n8n 导入,即可使用此工作流
{
"id": "FmBx6nhuF6oBguoL",
"meta": {
"instanceId": "28a947b92b197fc2524eaba16e57560338657b2b0b5796300b2f1cedc1d0d355",
"templateCredsSetupCompleted": true
},
"name": "发送 LinkedIn 连接请求",
"tags": [],
"nodes": [
{
"id": "887e533f-8c7e-410f-a1c0-6efa71afbfe1",
"name": "表单提交时",
"type": "n8n-nodes-base.formTrigger",
"position": [
-460,
-200
],
"webhookId": "03fb9147-76e2-4734-983d-ea6e3e31adeb",
"parameters": {
"options": {},
"formTitle": "LinkedIn connection requests",
"formFields": {
"values": [
{
"fieldLabel": "LinkedIn URL",
"requiredField": true
},
{
"fieldLabel": "Airtop Profile (connected to Linkedin)",
"requiredField": true
},
{
"fieldType": "textarea",
"fieldLabel": "Message"
}
]
},
"formDescription": "=<p>This automation checks whether a person is a contact on LinkedIn.</p>\n\n<p>If the person is not connected, the automation will send a connection request automatically.</p>\n\n<p>The automation requires an Airtop Profile that is authenticated on LinkedIn. Don't have one? Create a free profile and log in to LinkedIn at <a href=\"https://portal.airtop.ai/browser-profiles\">https://portal.airtop.ai/browser-profiles</a>.</p>\n"
},
"typeVersion": 2.2
},
{
"id": "61a37f6b-a032-407e-b10c-070685902136",
"name": "当被其他工作流执行时",
"type": "n8n-nodes-base.executeWorkflowTrigger",
"position": [
-460,
0
],
"parameters": {
"workflowInputs": {
"values": [
{
"name": "airtop_profile"
},
{
"name": "linked_url"
},
{
"name": "message"
}
]
}
},
"typeVersion": 1.1
},
{
"id": "99ed7cb1-2b89-4b04-9cb4-e57040a9804c",
"name": "开关1",
"type": "n8n-nodes-base.switch",
"position": [
1300,
-240
],
"parameters": {
"rules": {
"values": [
{
"conditions": {
"options": {
"version": 2,
"leftValue": "",
"caseSensitive": true,
"typeValidation": "strict"
},
"combinator": "and",
"conditions": [
{
"id": "28a7e0bb-72a4-43bf-b62b-6136a705c489",
"operator": {
"type": "string",
"operation": "empty",
"singleValue": true
},
"leftValue": "={{ $('Unify Params').item.json.message }}",
"rightValue": ""
}
]
}
},
{
"conditions": {
"options": {
"version": 2,
"leftValue": "",
"caseSensitive": true,
"typeValidation": "strict"
},
"combinator": "and",
"conditions": [
{
"id": "cbd885ba-776c-4425-8213-9b74ac1af647",
"operator": {
"type": "string",
"operation": "notEmpty",
"singleValue": true
},
"leftValue": "={{ $('Unify Params').item.json.message }}",
"rightValue": ""
}
]
}
}
]
},
"options": {}
},
"typeVersion": 3.2
},
{
"id": "291b375d-e7e5-4248-a518-1f8d94f973f8",
"name": "统一参数",
"type": "n8n-nodes-base.set",
"position": [
-240,
-100
],
"parameters": {
"options": {},
"assignments": {
"assignments": [
{
"id": "362c7a61-fa44-4ba0-8045-ff66ab37cd3b",
"name": "linkedin_url",
"type": "string",
"value": "={{ $json.linkedin_url || $json['LinkedIn URL']}}"
},
{
"id": "8ad1abd4-34d1-4d55-ae83-1320d41967b2",
"name": "airtop_profile",
"type": "string",
"value": "={{ $json.airtop_profile || $json['Airtop Profile (connected to Linkedin)']}}"
},
{
"id": "09630ef2-3561-40bb-aeb7-19feb8c5a8a5",
"name": "message",
"type": "string",
"value": "={{ $json.message || $json['Message']}}"
}
]
}
},
"typeVersion": 3.4
},
{
"id": "401038a9-24ef-4705-b80b-4cfd83bf1a89",
"name": "点击连接",
"type": "n8n-nodes-base.airtop",
"position": [
1080,
-240
],
"parameters": {
"resource": "interaction",
"windowId": "={{ $json.windowId }}",
"sessionId": "={{ $json.sessionId }}",
"additionalFields": {},
"elementDescription": "Connect"
},
"credentials": {
"airtopApi": {
"id": "Yi4YPNnovLVUjFn5",
"name": "Airtop Official Org"
}
},
"typeVersion": 1
},
{
"id": "19225625-1941-4f59-bd9b-b3b9b7e9b1ca",
"name": "发送无消息的连接请求",
"type": "n8n-nodes-base.airtop",
"position": [
1840,
-300
],
"parameters": {
"resource": "interaction",
"windowId": "={{ $('Click on connect').item.json.windowId }}",
"sessionId": "={{ $('Click on connect').item.json.sessionId }}",
"additionalFields": {},
"elementDescription": "Send without a note"
},
"credentials": {
"airtopApi": {
"id": "Yi4YPNnovLVUjFn5",
"name": "Airtop Official Org"
}
},
"typeVersion": 1
},
{
"id": "f73c4d2e-6484-4406-a387-ba2bbe7bb946",
"name": "点击添加备注",
"type": "n8n-nodes-base.airtop",
"position": [
1480,
-20
],
"parameters": {
"resource": "interaction",
"windowId": "={{ $('Click on connect').item.json.windowId }}",
"sessionId": "={{ $('Click on connect').item.json.sessionId }}",
"additionalFields": {},
"elementDescription": "Add a note"
},
"credentials": {
"airtopApi": {
"id": "Yi4YPNnovLVUjFn5",
"name": "Airtop Official Org"
}
},
"typeVersion": 1
},
{
"id": "897ef0b7-dd75-45ed-9e9d-b9b00e7d8855",
"name": "输入消息",
"type": "n8n-nodes-base.airtop",
"position": [
1700,
-20
],
"parameters": {
"text": "={{ $('Unify Params').item.json.message }}",
"resource": "interaction",
"windowId": "={{ $json.windowId }}",
"operation": "type",
"sessionId": "={{ $json.sessionId }}",
"additionalFields": {}
},
"credentials": {
"airtopApi": {
"id": "Yi4YPNnovLVUjFn5",
"name": "Airtop Official Org"
}
},
"typeVersion": 1
},
{
"id": "743a2347-fd6c-4327-af41-5872ff9f8bca",
"name": "发送带消息的连接请求",
"type": "n8n-nodes-base.airtop",
"position": [
1900,
-20
],
"parameters": {
"resource": "interaction",
"windowId": "={{ $json.windowId }}",
"sessionId": "={{ $json.sessionId }}",
"additionalFields": {},
"elementDescription": "Send"
},
"credentials": {
"airtopApi": {
"id": "Yi4YPNnovLVUjFn5",
"name": "Airtop Official Org"
}
},
"typeVersion": 1
},
{
"id": "adba0046-7288-46ec-8c13-c76760c44edd",
"name": "创建会话",
"type": "n8n-nodes-base.airtop",
"position": [
-20,
-100
],
"parameters": {
"profileName": "={{ $json.airtop_profile }}",
"saveProfileOnTermination": true
},
"credentials": {
"airtopApi": {
"id": "Yi4YPNnovLVUjFn5",
"name": "Airtop Official Org"
}
},
"typeVersion": 1
},
{
"id": "f081e081-9525-4d31-bc56-9be6123e81d2",
"name": "创建窗口",
"type": "n8n-nodes-base.airtop",
"position": [
200,
-100
],
"parameters": {
"url": "={{ $('Unify Params').item.json.linkedin_url }}",
"resource": "window",
"getLiveView": true,
"additionalFields": {}
},
"credentials": {
"airtopApi": {
"id": "Yi4YPNnovLVUjFn5",
"name": "Airtop Official Org"
}
},
"typeVersion": 1
},
{
"id": "ab766028-e576-49aa-8bdc-9615ed403282",
"name": "点击更多按钮",
"type": "n8n-nodes-base.airtop",
"position": [
420,
-100
],
"parameters": {
"resource": "interaction",
"additionalFields": {},
"elementDescription": "More button"
},
"credentials": {
"airtopApi": {
"id": "Yi4YPNnovLVUjFn5",
"name": "Airtop Official Org"
}
},
"typeVersion": 1
},
{
"id": "66bebc96-fb99-445b-b0a4-b05b3a2f6980",
"name": "是否为连接?",
"type": "n8n-nodes-base.switch",
"position": [
860,
-100
],
"parameters": {
"rules": {
"values": [
{
"conditions": {
"options": {
"version": 2,
"leftValue": "",
"caseSensitive": true,
"typeValidation": "strict"
},
"combinator": "and",
"conditions": [
{
"id": "b798dcb0-1ab0-486e-8d46-1707f4f45737",
"operator": {
"type": "string",
"operation": "contains"
},
"leftValue": "={{ $json.data.modelResponse }}",
"rightValue": "Connect"
}
]
}
},
{
"conditions": {
"options": {
"version": 2,
"leftValue": "",
"caseSensitive": true,
"typeValidation": "strict"
},
"combinator": "and",
"conditions": [
{
"id": "9a21639a-ff59-40c5-9dc2-a77a212c3d19",
"operator": {
"type": "string",
"operation": "notContains"
},
"leftValue": "={{ $json.data.modelResponse }}",
"rightValue": "Connect"
}
]
}
}
]
},
"options": {}
},
"typeVersion": 3.2
},
{
"id": "9ff5f293-1c49-455d-b7bb-260bc88585e4",
"name": "终止会话",
"type": "n8n-nodes-base.airtop",
"position": [
1080,
0
],
"parameters": {
"operation": "terminate",
"sessionId": "={{ $json.sessionId }}"
},
"credentials": {
"airtopApi": {
"id": "Yi4YPNnovLVUjFn5",
"name": "Airtop Official Org"
}
},
"typeVersion": 1
},
{
"id": "5e525111-b621-47ed-b5a6-4041f7e9eb86",
"name": "终止会话1",
"type": "n8n-nodes-base.airtop",
"position": [
2180,
-200
],
"parameters": {
"operation": "terminate"
},
"credentials": {
"airtopApi": {
"id": "Yi4YPNnovLVUjFn5",
"name": "Airtop Official Org"
}
},
"typeVersion": 1
},
{
"id": "0a483ecb-6967-4f47-8716-df8d218d40b1",
"name": "便签",
"type": "n8n-nodes-base.stickyNote",
"position": [
-520,
-320
],
"parameters": {
"width": 440,
"height": 480,
"content": "## 输入参数"
},
"typeVersion": 1
},
{
"id": "bf0c6f69-b175-4c3f-ac1a-09fd9fda014c",
"name": "便签1",
"type": "n8n-nodes-base.stickyNote",
"position": [
-60,
-320
],
"parameters": {
"color": 4,
"width": 1040,
"height": 480,
"content": "## LinkedIn 连接检查器"
},
"typeVersion": 1
},
{
"id": "f0d42603-d85b-4bea-9edd-950decaab8dd",
"name": "便签2",
"type": "n8n-nodes-base.stickyNote",
"position": [
1000,
-320
],
"parameters": {
"color": 5,
"width": 1100,
"height": 480,
"content": "## 发送连接请求"
},
"typeVersion": 1
},
{
"id": "26a9ce2e-31e1-4f3c-a0ea-033cbe28c108",
"name": "便签3",
"type": "n8n-nodes-base.stickyNote",
"position": [
1000,
-80
],
"parameters": {
"color": 3,
"width": 300,
"height": 240,
"content": "## 结束 Airtop 会话"
},
"typeVersion": 1
},
{
"id": "041c730f-3e1c-4b40-a0c1-af8041166839",
"name": "便签4",
"type": "n8n-nodes-base.stickyNote",
"position": [
2120,
-320
],
"parameters": {
"color": 3,
"width": 210,
"height": 480,
"content": "## 结束 Airtop 会话"
},
"typeVersion": 1
},
{
"id": "47a7face-b181-4975-9c52-dd4a88f76c40",
"name": "便利贴5",
"type": "n8n-nodes-base.stickyNote",
"position": [
1440,
-320
],
"parameters": {
"color": 6,
"width": 640,
"height": 200,
"content": "## 发送无备注请求"
},
"typeVersion": 1
},
{
"id": "19ae1946-161c-4696-bdec-309cdeda56a1",
"name": "便签 6",
"type": "n8n-nodes-base.stickyNote",
"position": [
1440,
-100
],
"parameters": {
"width": 640,
"height": 260,
"content": "## 发送带备注请求"
},
"typeVersion": 1
},
{
"id": "676c1d9f-5478-4c59-9764-4a2d8336d46d",
"name": "便签 7",
"type": "n8n-nodes-base.stickyNote",
"position": [
-1240,
-620
],
"parameters": {
"width": 700,
"height": 1080,
"content": "自述文件"
},
"typeVersion": 1
},
{
"id": "ace44b2d-dbb7-4525-80b0-0d720b19815e",
"name": "检查连接状态",
"type": "n8n-nodes-base.airtop",
"position": [
640,
-100
],
"parameters": {
"prompt": "=This is a LinkedIn profile page. Please perform the following actions based on the presence of specific elements in the top profile box:\n\n- Reply \"Connect\" if a \"Connect\" button is present.\n- Reply \"Pending\" if a \"Pending\" message is present.\n- Reply \"1st degree\" if this person is a first-degree connection, indicated by \"1st\" near the name.\n\nDo not reply with anything else.\n\nFor example:\n- If the \"Connect\" button is present, the output should be: \"Connect\"\n- If the \"Pending\" message is present, the output should be: \"Pending\"\n- If the person is a first-degree connection, the output should be: \"1st degree\"",
"resource": "extraction",
"operation": "query",
"additionalFields": {}
},
"credentials": {
"airtopApi": {
"id": "Yi4YPNnovLVUjFn5",
"name": "Airtop Official Org"
}
},
"typeVersion": 1
}
],
"active": false,
"pinData": {},
"settings": {
"callerPolicy": "workflowsFromSameOwner",
"errorWorkflow": "jOzgI7as1gGhlZ91",
"executionOrder": "v1"
},
"versionId": "9660ab0f-d083-49fe-a832-b79261c66960",
"connections": {
"Switch1": {
"main": [
[
{
"node": "Send connection w/out message",
"type": "main",
"index": 0
}
],
[
{
"node": "Click add a note",
"type": "main",
"index": 0
}
]
]
},
"Unify Params": {
"main": [
[
{
"node": "Create a Session",
"type": "main",
"index": 0
}
]
]
},
"Create a window": {
"main": [
[
{
"node": "Click More button",
"type": "main",
"index": 0
}
]
]
},
"Click add a note": {
"main": [
[
{
"node": "Type the message",
"type": "main",
"index": 0
}
]
]
},
"Click on connect": {
"main": [
[
{
"node": "Switch1",
"type": "main",
"index": 0
}
]
]
},
"Create a Session": {
"main": [
[
{
"node": "Create a window",
"type": "main",
"index": 0
}
]
]
},
"Is a connection?": {
"main": [
[
{
"node": "Click on connect",
"type": "main",
"index": 0
}
],
[
{
"node": "Terminate session",
"type": "main",
"index": 0
}
]
]
},
"Type the message": {
"main": [
[
{
"node": "Send connection w/ message",
"type": "main",
"index": 0
}
]
]
},
"Click More button": {
"main": [
[
{
"node": "Check connection status",
"type": "main",
"index": 0
}
]
]
},
"On form submission": {
"main": [
[
{
"node": "Unify Params",
"type": "main",
"index": 0
}
]
]
},
"Check connection status": {
"main": [
[
{
"node": "Is a connection?",
"type": "main",
"index": 0
}
]
]
},
"Send connection w/ message": {
"main": [
[
{
"node": "Terminate session1",
"type": "main",
"index": 0
}
]
]
},
"Send connection w/out message": {
"main": [
[
{
"node": "Terminate session1",
"type": "main",
"index": 0
}
]
]
},
"When Executed by Another Workflow": {
"main": [
[
{
"node": "Unify Params",
"type": "main",
"index": 0
}
]
]
}
}
}常见问题
如何使用这个工作流?
复制上方的 JSON 配置代码,在您的 n8n 实例中创建新工作流并选择「从 JSON 导入」,粘贴配置后根据需要修改凭证设置即可。
这个工作流适合什么场景?
高级 - 销售
需要付费吗?
本工作流完全免费,您可以直接导入使用。但请注意,工作流中使用的第三方服务(如 OpenAI API)可能需要您自行付费。
相关工作流推荐
提取LinkedIn个人资料信息
使用Airtop和AI解析提取结构化LinkedIn个人资料数据
Set
Airtop
Form Trigger
+2
6 节点Airtop
销售
获取公司 LinkedIn 页面
使用 Airtop 查找公司 LinkedIn 页面
If
Set
Airtop
+5
16 节点Airtop
销售
LinkedIn个人资料发现与验证
使用Airtop查找并验证LinkedIn个人资料
Set
Airtop
Filter
+3
9 节点Airtop
销售
公司 ICP 评分
使用 Airtop 评估公司理想客户画像
Set
Airtop
Form Trigger
+2
9 节点Airtop
销售
Linkedin 个人 ICP 评分
使用 Airtop 评估个人理想客户画像
Set
Airtop
Form Trigger
+2
8 节点Airtop
销售
通过域名验证公司 LinkedIn 页面
使用 Airtop 通过域名验证 LinkedIn 公司页面
Set
Airtop
Filter
+3
9 节点Airtop
销售
工作流信息
难度等级
高级
节点数量24
分类1
节点类型6
作者
Airtop
@cesar-at-airtopAirtop provides an intelligent browser automation API for AI agents, enabling seamless web interaction, including login, navigation, and data extraction from any site, even those with complex authentication - all with natural language instructions.In simple terms, we allow you to automate anything humans can do online, on any site with just words
外部链接
在 n8n.io 查看 →
分享此工作流