监控X
中级
这是一个Marketing领域的自动化工作流,包含 9 个节点。主要使用 Set, Code, Airtop, Filter, ExecuteWorkflowTrigger 等节点。 使用Airtop进行X帖子实时监控与自动分类
前置要求
- •无特殊前置要求,导入即可使用
分类
工作流预览
可视化展示节点连接关系,支持缩放和平移
导出工作流
复制以下 JSON 配置到 n8n 导入,即可使用此工作流
{
"id": "EDJZmzgjpQYoRAFh",
"meta": {
"instanceId": "28a947b92b197fc2524eaba16e57560338657b2b0b5796300b2f1cedc1d0d355",
"templateCredsSetupCompleted": true
},
"name": "监控 X",
"tags": [],
"nodes": [
{
"id": "6d32d28a-d604-431f-a8e9-051b890c63d2",
"name": "当被其他工作流执行时",
"type": "n8n-nodes-base.executeWorkflowTrigger",
"position": [
-320,
320
],
"parameters": {
"workflowInputs": {
"values": [
{
"name": "airtop_profile"
},
{
"name": "x_url"
},
{
"name": "relevant_categories"
}
]
}
},
"typeVersion": 1.1
},
{
"id": "fcba7e05-3ab7-4036-9505-d840d8cb3d8e",
"name": "提取帖子",
"type": "n8n-nodes-base.airtop",
"position": [
560,
320
],
"parameters": {
"prompt": "=This is X search results. Extract up to 10 non-sponsored posts in English. For each post extract post writer, time, post text and post URL. Return only posts that appear in the search results. A valid post URL inclides /status/\n\n\nAlso classify posts based on the following categories:\n{{ $('Inputs').item.json.categories }}\n\nIMPORTANT anything that is not directly related to categories above should return [NA]",
"resource": "extraction",
"additionalFields": {
"outputSchema": "{ \"type\": \"object\", \"properties\": { \"posts\": { \"type\": \"array\", \"items\": { \"type\": \"object\", \"properties\": { \"writer\": { \"type\": \"string\", \"description\": \"The writer of the post\" }, \"time\": { \"type\": \"string\", \"description\": \"The time the post was made\" }, \"text\": { \"type\": \"string\", \"description\": \"The text content of the post\" }, \"url\": { \"type\": \"string\", \"description\": \"The URL of the post\" }, \"category\": { \"type\": \"string\", \"description\": \"The category of the post based on predefined categories\" } }, \"required\": [ \"writer\", \"time\", \"text\", \"url\", \"category\" ], \"additionalProperties\": false } } }, \"required\": [ \"posts\" ], \"additionalProperties\": false, \"$schema\": \"http://json-schema.org/draft-07/schema#\"}",
"paginationMode": "infinite-scroll",
"interactionMode": "auto"
}
},
"credentials": {
"airtopApi": {
"id": "Yi4YPNnovLVUjFn5",
"name": "Airtop Official Org"
}
},
"typeVersion": 1
},
{
"id": "3184b362-5875-445a-8c0f-c7fabfaeca1d",
"name": "会话",
"type": "n8n-nodes-base.airtop",
"position": [
120,
320
],
"parameters": {
"proxy": "integrated",
"profileName": "={{ $('Inputs').item.json.profile }}"
},
"credentials": {
"airtopApi": {
"id": "Yi4YPNnovLVUjFn5",
"name": "Airtop Official Org"
}
},
"typeVersion": 1
},
{
"id": "e2808fa6-be3d-42db-8fae-077bc977e7fd",
"name": "窗口",
"type": "n8n-nodes-base.airtop",
"position": [
340,
320
],
"parameters": {
"url": "={{ $('Inputs').item.json.url }}",
"resource": "window",
"additionalFields": {}
},
"credentials": {
"airtopApi": {
"id": "Yi4YPNnovLVUjFn5",
"name": "Airtop Official Org"
}
},
"typeVersion": 1
},
{
"id": "46c08221-84c0-42d3-8a3a-f572e1906e9a",
"name": "结束会话",
"type": "n8n-nodes-base.airtop",
"position": [
780,
320
],
"parameters": {
"operation": "terminate"
},
"credentials": {
"airtopApi": {
"id": "Yi4YPNnovLVUjFn5",
"name": "Airtop Official Org"
}
},
"typeVersion": 1
},
{
"id": "91460277-a8d9-4425-bc76-68b8f0209ae7",
"name": "过滤掉 [NA] 帖子",
"type": "n8n-nodes-base.filter",
"position": [
1220,
320
],
"parameters": {
"options": {},
"conditions": {
"options": {
"version": 2,
"leftValue": "",
"caseSensitive": true,
"typeValidation": "strict"
},
"combinator": "or",
"conditions": [
{
"id": "111d98cf-f141-45e2-a1d8-36442e2b130b",
"operator": {
"type": "string",
"operation": "notContains"
},
"leftValue": "={{ $json.category }}",
"rightValue": "NA"
}
]
}
},
"typeVersion": 2.2
},
{
"id": "e06c0c9b-c121-4703-903c-e071b21c2498",
"name": "解析 JSON 输出",
"type": "n8n-nodes-base.code",
"position": [
1000,
320
],
"parameters": {
"jsCode": "const posts = JSON.parse($('Extract posts').last().json.data.modelResponse).posts\n\nif (!posts.length) {\n return [{ json: {}}]\n}\n\nreturn posts.map((post) => ({\n json: post\n}));"
},
"typeVersion": 2
},
{
"id": "2cb39cac-306f-496c-8198-8118b78f5781",
"name": "输入",
"type": "n8n-nodes-base.set",
"position": [
-100,
320
],
"parameters": {
"options": {},
"assignments": {
"assignments": [
{
"id": "75931d59-a1ee-483b-97b4-fe3b380e8e11",
"name": "url",
"type": "string",
"value": "={{ $json.x_url }}"
},
{
"id": "9547c2d9-1676-4668-adb0-98fd69860d52",
"name": "profile",
"type": "string",
"value": "={{ $json.airtop_profile }}"
},
{
"id": "e54bd389-6933-49b0-9025-5d8a11b94dd0",
"name": "categories",
"type": "string",
"value": "={{ $json.relevant_categories }}"
}
]
}
},
"typeVersion": 3.4
},
{
"id": "2f194c76-29a7-401f-8cd4-a74794b72c79",
"name": "便签",
"type": "n8n-nodes-base.stickyNote",
"position": [
-40,
-1020
],
"parameters": {
"color": 5,
"width": 1100,
"height": 1240,
"content": "README"
},
"typeVersion": 1
}
],
"active": false,
"pinData": {},
"settings": {
"executionOrder": "v1"
},
"versionId": "b34d8340-64a4-41e4-a882-59e157490155",
"connections": {
"Inputs": {
"main": [
[
{
"node": "Session",
"type": "main",
"index": 0
}
]
]
},
"Window": {
"main": [
[
{
"node": "Extract posts",
"type": "main",
"index": 0
}
]
]
},
"Session": {
"main": [
[
{
"node": "Window",
"type": "main",
"index": 0
}
]
]
},
"End session": {
"main": [
[
{
"node": "Parse JSON output",
"type": "main",
"index": 0
}
]
]
},
"Extract posts": {
"main": [
[
{
"node": "End session",
"type": "main",
"index": 0
}
]
]
},
"Parse JSON output": {
"main": [
[
{
"node": "Filter out [NA] posts",
"type": "main",
"index": 0
}
]
]
},
"When Executed by Another Workflow": {
"main": [
[
{
"node": "Inputs",
"type": "main",
"index": 0
}
]
]
}
}
}常见问题
如何使用这个工作流?
复制上方的 JSON 配置代码,在您的 n8n 实例中创建新工作流并选择「从 JSON 导入」,粘贴配置后根据需要修改凭证设置即可。
这个工作流适合什么场景?
中级 - 营销
需要付费吗?
本工作流完全免费,您可以直接导入使用。但请注意,工作流中使用的第三方服务(如 OpenAI API)可能需要您自行付费。
相关工作流推荐
LinkedIn帖子互动数据提取器 - 模板
使用Airtop提取LinkedIn帖子互动数据
Set
Code
Airtop
+3
7 节点Airtop
营销
网站抓取器
基于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
营销
个人 ICP 评分与 LinkedIn
使用 Airtop 评估 LinkedIn 个人资料与理想客户画像匹配度
Set
Airtop
Form Trigger
+2
8 节点Airtop
产品
工作流信息
难度等级
中级
节点数量9
分类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 查看 →
分享此工作流