8
n8n 中文网amn8n.com

Airtop Facebook自动化

高级

这是一个Social Media领域的自动化工作流,包含 27 个节点。主要使用 Set, Wait, Airtop, Telegram, GoogleSheets 等节点。 使用Airtop、Google Sheets和Telegram自动化发布到多个Facebook群组

前置要求
  • Telegram Bot Token
  • Google Sheets API 凭证
工作流预览
可视化展示节点连接关系,支持缩放和平移
导出工作流
复制以下 JSON 配置到 n8n 导入,即可使用此工作流
{
  "id": "g4ZTLYmxGCgG6UGG",
  "meta": {
    "instanceId": "c2650793f644091dc80fb900fe63448ad1f4b774008de9608064d67294f8307c",
    "templateCredsSetupCompleted": true
  },
  "name": "Airtop Facebook 自动化",
  "tags": [],
  "nodes": [
    {
      "id": "84e9fc40-9ed8-4533-b385-6ae9ef2ff4e4",
      "name": "打开群组",
      "type": "n8n-nodes-base.airtop",
      "position": [
        3008,
        224
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "4146f2af-d64b-4806-a394-2239ba7517da",
      "name": "滚动60%",
      "type": "n8n-nodes-base.airtop",
      "position": [
        3232,
        224
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "9e254e17-aa6c-4b5b-a684-8fb3d72db0ec",
      "name": "点击发帖框",
      "type": "n8n-nodes-base.airtop",
      "position": [
        3680,
        224
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "f68d7e3f-95d0-42f1-8a05-45ab1217e507",
      "name": "获取实时视图",
      "type": "n8n-nodes-base.airtop",
      "position": [
        2768,
        16
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "d6a7edeb-900c-470a-b12e-b80e702174dc",
      "name": "如有弹窗则点击关闭",
      "type": "n8n-nodes-base.airtop",
      "disabled": true,
      "maxTries": 2,
      "position": [
        2992,
        16
      ],
      "parameters": {},
      "retryOnFail": true,
      "typeVersion": 1
    },
    {
      "id": "15aed18f-d9a5-4403-b70b-cbc58b064b4d",
      "name": "点击切换个人资料",
      "type": "n8n-nodes-base.airtop",
      "disabled": true,
      "position": [
        3216,
        16
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "bd36a93f-afb2-4cdf-b0c4-29fb6564c3ad",
      "name": "返回首页",
      "type": "n8n-nodes-base.airtop",
      "position": [
        2160,
        288
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "75e2d36a-7864-4dc9-b4e7-aad67305084c",
      "name": "在首页滚动",
      "type": "n8n-nodes-base.airtop",
      "position": [
        2368,
        288
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "4a8ee02e-4b20-4e30-a2d6-a6febc2b3bfd",
      "name": "设置消息和聊天ID",
      "type": "n8n-nodes-base.set",
      "position": [
        1712,
        16
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "9fda8173-feb2-435e-9c86-85219c392c5a",
      "name": "开始",
      "type": "n8n-nodes-base.telegramTrigger",
      "position": [
        1504,
        16
      ],
      "webhookId": "1e558573-987c-4695-beb8-b0f68cd02791",
      "parameters": {},
      "typeVersion": 1.2
    },
    {
      "id": "1b29ed6b-55fe-4337-b5b7-854a7fe19764",
      "name": "设置会话ID和窗口ID",
      "type": "n8n-nodes-base.set",
      "position": [
        2352,
        16
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "9d32485e-4dc8-4ff6-9580-e87edc7a8784",
      "name": "向下滚动一点",
      "type": "n8n-nodes-base.airtop",
      "position": [
        2576,
        16
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "97e56b56-cf94-43bb-81ac-e2d9a9c1852a",
      "name": "打开目标个人资料",
      "type": "n8n-nodes-base.airtop",
      "position": [
        1712,
        288
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "97760130-55b6-403e-9a10-4e29011935c9",
      "name": "切换到目标个人资料",
      "type": "n8n-nodes-base.airtop",
      "position": [
        1936,
        288
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "7c0e00fd-1b18-4618-9a1d-c6a19e35d244",
      "name": "获取群组列表",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        2560,
        288
      ],
      "parameters": {},
      "typeVersion": 4.6
    },
    {
      "id": "470265de-32bc-43c4-808d-63d0c97be926",
      "name": "向每个群组发帖",
      "type": "n8n-nodes-base.splitInBatches",
      "position": [
        2784,
        320
      ],
      "parameters": {},
      "typeVersion": 3
    },
    {
      "id": "8ee9ba9b-77b7-42e0-ae3d-bbb81c55a0fb",
      "name": "关闭浏览器",
      "type": "n8n-nodes-base.airtop",
      "position": [
        3008,
        416
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "3f84bb0f-8e0e-4725-9754-8f5338b00182",
      "name": "启动浏览器",
      "type": "n8n-nodes-base.airtop",
      "position": [
        1936,
        16
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "99cc753a-9598-4491-a245-cb0570f8faa2",
      "name": "打开Facebook",
      "type": "n8n-nodes-base.airtop",
      "position": [
        2160,
        16
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "5daec519-7b7f-410f-bf01-b833f094112a",
      "name": "撰写帖子",
      "type": "n8n-nodes-base.airtop",
      "position": [
        3888,
        224
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "be42a8a3-a250-486f-80da-b76d4d6b5715",
      "name": "发布帖子",
      "type": "n8n-nodes-base.airtop",
      "position": [
        3248,
        464
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "6351f223-e1ba-437d-b155-5a89a0fc8eb2",
      "name": "查找发帖框",
      "type": "n8n-nodes-base.airtop",
      "position": [
        3456,
        224
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "59aaecd6-a239-45e2-aa1f-10390554ef4e",
      "name": "发布后滚动",
      "type": "n8n-nodes-base.airtop",
      "position": [
        3456,
        464
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "f1bb970b-9cf6-4ba2-a3bb-4d641e90fa38",
      "name": "发送成功消息",
      "type": "n8n-nodes-base.telegram",
      "position": [
        3680,
        464
      ],
      "webhookId": "41ab4745-f68e-44f9-bd41-8fa71ee79821",
      "parameters": {},
      "typeVersion": 1.2
    },
    {
      "id": "7e1d7555-50e5-45e1-9f19-2846b704bbd3",
      "name": "等待5秒",
      "type": "n8n-nodes-base.wait",
      "position": [
        3904,
        464
      ],
      "webhookId": "1b4ce421-794c-4976-a12f-e0f98d318517",
      "parameters": {},
      "typeVersion": 1.1
    },
    {
      "id": "f66d867f-f4a7-4f86-81f3-ba7524711177",
      "name": "前往页面",
      "type": "n8n-nodes-base.airtop",
      "disabled": true,
      "position": [
        1504,
        288
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "f7ab70ed-51fb-446c-828f-883b3a504cd1",
      "name": "便签",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1472,
        496
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    }
  ],
  "active": false,
  "pinData": {},
  "settings": {
    "executionOrder": "v1",
    "saveManualExecutions": true,
    "saveExecutionProgress": true,
    "saveDataErrorExecution": "all",
    "saveDataSuccessExecution": "all"
  },
  "versionId": "21e7f81c-33a3-4046-bad6-0e01450cf656",
  "connections": {
    "Start": {
      "main": [
        [
          {
            "node": "Set message and chatId",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Scroll60%": {
      "main": [
        [
          {
            "node": "Find Post Box",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Write Post": {
      "main": [
        [
          {
            "node": "Publish Post",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "open group": {
      "main": [
        [
          {
            "node": "Scroll60%",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Go to Pages": {
      "main": [
        [
          {
            "node": "Open Desired Profile",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Back to home": {
      "main": [
        [
          {
            "node": "Scroll on home",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Publish Post": {
      "main": [
        [
          {
            "node": "Scroll After Posting",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Find Post Box": {
      "main": [
        [
          {
            "node": "click post box",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get live view": {
      "main": [
        [
          {
            "node": "click close if theres popup modal",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Open Facebook": {
      "main": [
        [
          {
            "node": "Set sessionId and windowId",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Start Browser": {
      "main": [
        [
          {
            "node": "Open Facebook",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get Group List": {
      "main": [
        [
          {
            "node": "Post to Each Group",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Scroll on home": {
      "main": [
        [
          {
            "node": "Get Group List",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Wait 5 Seconds": {
      "main": [
        [
          {
            "node": "Post to Each Group",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "click post box": {
      "main": [
        [
          {
            "node": "Write Post",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Scroll Down a Bit": {
      "main": [
        [
          {
            "node": "Get live view",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Post to Each Group": {
      "main": [
        [
          {
            "node": "Close Browser",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "open group",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Open Desired Profile": {
      "main": [
        [
          {
            "node": "Switch to Desired Profile",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Scroll After Posting": {
      "main": [
        [
          {
            "node": "Send Success Message",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Send Success Message": {
      "main": [
        [
          {
            "node": "Wait 5 Seconds",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Set message and chatId": {
      "main": [
        [
          {
            "node": "Start Browser",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Click to switch profile": {
      "main": [
        [
          {
            "node": "Go to Pages",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Switch to Desired Profile": {
      "main": [
        [
          {
            "node": "Back to home",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Set sessionId and windowId": {
      "main": [
        [
          {
            "node": "Scroll Down a Bit",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "click close if theres popup modal": {
      "main": [
        [
          {
            "node": "Click to switch profile",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}
常见问题

如何使用这个工作流?

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

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

高级 - 社交媒体

需要付费吗?

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

工作流信息
难度等级
高级
节点数量27
分类1
节点类型8
难度说明

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

外部链接
在 n8n.io 查看

分享此工作流