LinkedIn帖子互动数据提取器 - 模板
中级
这是一个Marketing领域的自动化工作流,包含 7 个节点。主要使用 Set, Code, Airtop, FormTrigger, ExecuteWorkflowTrigger 等节点。 使用Airtop提取LinkedIn帖子互动数据
前置要求
- •无特殊前置要求,导入即可使用
分类
工作流预览
可视化展示节点连接关系,支持缩放和平移
导出工作流
复制以下 JSON 配置到 n8n 导入,即可使用此工作流
{
"id": "3gPcwtlj06KIygRO",
"meta": {
"instanceId": "28a947b92b197fc2524eaba16e57560338657b2b0b5796300b2f1cedc1d0d355",
"templateCredsSetupCompleted": true
},
"name": "LinkedIn 帖子互动数据提取器 - 模板",
"tags": [],
"nodes": [
{
"id": "6b6d54ef-21ad-43ef-be6a-14fc4295577d",
"name": "Airtop",
"type": "n8n-nodes-base.airtop",
"position": [
160,
220
],
"parameters": {
"url": "={{ $json.post_url }}",
"prompt": "You are looking at a LinkedIn post.\nYour job is to extract engagement data from the post.\n\nExtract the information of the people that have commented and reacted to this post. I want their name, their job title and their profile_url.\n\nI also want the total number of reactions, comments and reposts. For each of these values, if you are unable to find it, set it as -1.",
"resource": "extraction",
"operation": "query",
"profileName": "={{ $json.airtop_profile }}",
"sessionMode": "new",
"additionalFields": {
"outputSchema": "{\n \"type\": \"object\",\n \"properties\": {\n \"interactors\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"object\",\n \"properties\": {\n \"name\": {\n \"type\": \"string\",\n \"description\": \"The name of the person who commented or reacted.\"\n },\n \"job_title\": {\n \"type\": \"string\",\n \"description\": \"The job title of the person who commented or reacted.\"\n },\n \"profile_url\": {\n \"type\": \"string\",\n \"description\": \"The url of their profile\"\n }\n },\n \"required\": [\n \"name\",\n \"job_title\"\n ],\n \"additionalProperties\": false\n }\n },\n \"reactions_count\": {\n \"type\": \"number\",\n \"description\": \"the number of reactions the post received\"\n },\n \"comments_count\": {\n \"type\": \"number\",\n \"description\": \"the number of comments the post has\"\n },\n \"reposts_count\": {\n \"type\": \"number\",\n \"description\": \"the number of reposts the post has\"\n }\n },\n \"required\": [\n \"interactors\",\n \"reactions_count\",\n \"comments_count\",\n \"reposts_count\"\n ],\n \"additionalProperties\": false,\n \"$schema\": \"http://json-schema.org/draft-07/schema#\"\n}"
}
},
"credentials": {},
"typeVersion": 1
},
{
"id": "463f422f-ee53-4d84-b904-764a69a60f1a",
"name": "解析互动分析响应",
"type": "n8n-nodes-base.code",
"position": [
380,
220
],
"parameters": {
"jsCode": "const result = JSON.parse($input.first().json.data.modelResponse)\nreturn [{json: {...result}}]"
},
"typeVersion": 2
},
{
"id": "32383187-f2f2-4b00-b7c8-4b7d684e6fc1",
"name": "便签1",
"type": "n8n-nodes-base.stickyNote",
"position": [
-360,
-40
],
"parameters": {
"color": 5,
"width": 900,
"height": 540,
"content": "## 提取互动数据"
},
"typeVersion": 1
},
{
"id": "2869efa1-1ca1-44a6-a980-2d901f6cadcf",
"name": "当被其他工作流执行时",
"type": "n8n-nodes-base.executeWorkflowTrigger",
"position": [
-280,
320
],
"parameters": {
"workflowInputs": {
"values": [
{
"name": "airtop_profile"
},
{
"name": "linkedin_post_url"
}
]
}
},
"typeVersion": 1.1
},
{
"id": "1c593188-6f2f-4182-a9bf-93da8acd0791",
"name": "表单提交时",
"type": "n8n-nodes-base.formTrigger",
"position": [
-280,
120
],
"webhookId": "07cf0540-37d2-49c2-a52e-0e985364c843",
"parameters": {
"options": {},
"formTitle": "LinkedIn Post Engagement Data Extractor",
"formFields": {
"values": [
{
"fieldLabel": "Airtop Profile (Logged into Linkedin)",
"requiredField": true
},
{
"fieldLabel": "Post URL",
"requiredField": true
}
]
},
"formDescription": "With this Agent, you'll be able to extract valuable information from a LinkedIn Post, such as number comments, reactions and reposts for a given publication, as well as a list of some of the commenters with their respective titles and profile urls"
},
"typeVersion": 2.2
},
{
"id": "74d20b84-fe2c-4d4f-beab-39d900eba200",
"name": "映射字段",
"type": "n8n-nodes-base.set",
"position": [
-60,
220
],
"parameters": {
"options": {},
"assignments": {
"assignments": [
{
"id": "c0dc91e4-64bc-4082-b109-835f061eee4c",
"name": "airtop_profile",
"type": "string",
"value": "={{ $json.airtop_profile || $json[\"Airtop Profile (Logged into Linkedin)\"] }}"
},
{
"id": "afc8f5b2-73bf-4bd0-b98c-458c521c8a0d",
"name": "post_url",
"type": "string",
"value": "={{ $json.linkedin_post_url || $json[\"Post URL\"] }}"
}
]
}
},
"typeVersion": 3.4
},
{
"id": "5f79d197-6e41-4762-9d86-f62ada1e0c85",
"name": "便签",
"type": "n8n-nodes-base.stickyNote",
"position": [
-1400,
-240
],
"parameters": {
"width": 900,
"height": 1260,
"content": "README"
},
"typeVersion": 1
}
],
"active": false,
"pinData": {},
"settings": {
"executionOrder": "v1"
},
"versionId": "6de86713-894a-42b1-b461-2baa11f343b2",
"connections": {
"Airtop": {
"main": [
[
{
"node": "Parse engagement analysis response",
"type": "main",
"index": 0
}
]
]
},
"Map fields": {
"main": [
[
{
"node": "Airtop",
"type": "main",
"index": 0
}
]
]
},
"On form submission": {
"main": [
[
{
"node": "Map fields",
"type": "main",
"index": 0
}
]
]
},
"When Executed by Another Workflow": {
"main": [
[
{
"node": "Map fields",
"type": "main",
"index": 0
}
]
]
}
}
}常见问题
如何使用这个工作流?
复制上方的 JSON 配置代码,在您的 n8n 实例中创建新工作流并选择「从 JSON 导入」,粘贴配置后根据需要修改凭证设置即可。
这个工作流适合什么场景?
中级 - 营销
需要付费吗?
本工作流完全免费,您可以直接导入使用。但请注意,工作流中使用的第三方服务(如 OpenAI API)可能需要您自行付费。
相关工作流推荐
网站抓取器
基于Airtop的LLM网站抓取器
If
Set
Code
+6
24 节点Airtop
营销
X - 线程中的响应
使用Airtop浏览器自动化的X线程自动回复
Set
Wait
Airtop
+3
11 节点Airtop
人工智能
提取LinkedIn个人资料信息
使用Airtop和AI解析提取结构化LinkedIn个人资料数据
Set
Airtop
Form Trigger
+2
6 节点Airtop
销售
提取X帖子评论
使用Airtop浏览器自动化提取并结构化X帖子评论
Set
Airtop
Form Trigger
+2
7 节点Airtop
营销
监控X
使用Airtop进行X帖子实时监控与自动分类
Set
Code
Airtop
+3
9 节点Airtop
营销
个人 ICP 评分与 LinkedIn
使用 Airtop 评估 LinkedIn 个人资料与理想客户画像匹配度
Set
Airtop
Form Trigger
+2
8 节点Airtop
产品
工作流信息
难度等级
中级
节点数量7
分类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 查看 →
分享此工作流