8
n8n 中文网amn8n.com

我的工作流

高级

这是一个Social Media领域的自动化工作流,包含 26 个节点。主要使用 Set, Wait, Airtop, Switch, GoogleSheets 等节点。 通过Telegram消息和Google表格自动化Facebook群组发帖

前置要求
  • Google Sheets API 凭证
  • Telegram Bot Token
工作流预览
可视化展示节点连接关系,支持缩放和平移
导出工作流
复制以下 JSON 配置到 n8n 导入,即可使用此工作流
{
  "meta": {
    "instanceId": "a763c93b0f318d2585c52916b60d2694ce40acf58f4ea10f43da04ea0955aadc"
  },
  "name": "我的工作流",
  "tags": [],
  "nodes": [
    {
      "id": "9102d919-d1f9-43c0-806c-7e44a9a579d0",
      "name": "设置消息和聊天 ID",
      "type": "n8n-nodes-base.set",
      "position": [
        -1008,
        1760
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "bce9bd95-7ecf-424e-af16-9b97d784c1f2",
      "name": "启动浏览器",
      "type": "n8n-nodes-base.airtop",
      "position": [
        -848,
        1760
      ],
      "parameters": {},
      "executeOnce": false,
      "typeVersion": 1
    },
    {
      "id": "80a8af58-6c53-43b0-8bdd-9a92cd78bed0",
      "name": "获取群组列表",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        -1808,
        2000
      ],
      "parameters": {},
      "typeVersion": 4
    },
    {
      "id": "e2dacfd4-ba36-458e-afa1-c80cda22f950",
      "name": "遍历项目",
      "type": "n8n-nodes-base.splitInBatches",
      "position": [
        -1472,
        2016
      ],
      "parameters": {},
      "typeVersion": 3
    },
    {
      "id": "b6edf456-158a-47d9-8cd6-d77a92ee8dd8",
      "name": "加载页面",
      "type": "n8n-nodes-base.airtop",
      "position": [
        -1824,
        2224
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "d8a86b2f-9ed8-456c-a7f5-22978eff3fa6",
      "name": "在页面 1 上滚动",
      "type": "n8n-nodes-base.airtop",
      "position": [
        -1456,
        2224
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "3bc670b2-6edd-430f-a69f-218aaea9ac62",
      "name": "点击元素",
      "type": "n8n-nodes-base.airtop",
      "position": [
        -1136,
        2224
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "dcac842a-86a0-48ad-a783-185a3a877660",
      "name": "输入文本",
      "type": "n8n-nodes-base.airtop",
      "position": [
        -800,
        2224
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "6cf1d672-f5fc-49fe-bb45-f3db04769550",
      "name": "点击元素 1",
      "type": "n8n-nodes-base.airtop",
      "position": [
        -448,
        2224
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "599cab94-d09f-47ad-be5c-7faf79fbc04b",
      "name": "等待",
      "type": "n8n-nodes-base.wait",
      "position": [
        -272,
        2224
      ],
      "webhookId": "28af604c-c946-43e8-8515-6ff1566c0dca",
      "parameters": {},
      "typeVersion": 1.1
    },
    {
      "id": "6a4d0a67-cf81-45b4-8bfd-374cd89f1bba",
      "name": "获取实时视图",
      "type": "n8n-nodes-base.airtop",
      "position": [
        -176,
        1760
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "a17968c3-2ea6-47f9-8e88-29a2e703e452",
      "name": "设置消息和聊天 ID1",
      "type": "n8n-nodes-base.set",
      "position": [
        -512,
        1760
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "a8d87943-7cfb-42d7-927a-c0ddf468b940",
      "name": "创建窗口",
      "type": "n8n-nodes-base.airtop",
      "position": [
        -688,
        1760
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "8b5b191b-b4d3-4fdc-acb6-5afd8a9dd26a",
      "name": "终止会话",
      "type": "n8n-nodes-base.airtop",
      "position": [
        -1264,
        2000
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "445a0690-7516-4a3c-9ae5-706f9785d691",
      "name": "在页面上滚动",
      "type": "n8n-nodes-base.airtop",
      "position": [
        -336,
        1760
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "fd7f57b0-9746-4c27-948b-6602ae204ec6",
      "name": "编辑字段",
      "type": "n8n-nodes-base.set",
      "position": [
        -1632,
        2000
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "82f1e120-0b07-4703-a2d8-d87c8cba2692",
      "name": "等待1",
      "type": "n8n-nodes-base.wait",
      "position": [
        -1632,
        2224
      ],
      "webhookId": "6d9c770b-cbf1-4bf8-a5a6-f29f741f5a90",
      "parameters": {},
      "typeVersion": 1.1
    },
    {
      "id": "eb9afda0-5900-4ab4-ba22-f51212a504fa",
      "name": "等待2",
      "type": "n8n-nodes-base.wait",
      "position": [
        -1296,
        2224
      ],
      "webhookId": "f15c2c94-32b6-45e1-952d-0d320d7aed57",
      "parameters": {},
      "typeVersion": 1.1
    },
    {
      "id": "31884b04-d420-4682-a434-32a74a68bcc8",
      "name": "Wait3",
      "type": "n8n-nodes-base.wait",
      "position": [
        -976,
        2224
      ],
      "webhookId": "acf8f076-54a2-42f2-8b50-f0888c4ca6e5",
      "parameters": {},
      "typeVersion": 1.1
    },
    {
      "id": "eee5355b-67a4-493d-9757-eea9d58fb956",
      "name": "Wait4",
      "type": "n8n-nodes-base.wait",
      "position": [
        -624,
        2224
      ],
      "webhookId": "f05ec1cb-6964-4bbc-91f7-41fa884c0bbd",
      "parameters": {},
      "typeVersion": 1.1
    },
    {
      "id": "33bfe4df-3ba2-42bf-ac55-ac59b02f9b5f",
      "name": "触发器",
      "type": "n8n-nodes-base.telegramTrigger",
      "position": [
        -1856,
        1760
      ],
      "webhookId": "96a20e88-ba8f-4827-b874-b0a9867c59e9",
      "parameters": {},
      "typeVersion": 1.1
    },
    {
      "id": "2c6b7b9e-435a-4834-b733-bda3ac4a117b",
      "name": "全局数据",
      "type": "n8n-nodes-base.set",
      "position": [
        -1712,
        1760
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "52bb4548-dbee-40b8-87a5-eb5a10601715",
      "name": "切换消息类型",
      "type": "n8n-nodes-base.switch",
      "position": [
        -1392,
        1760
      ],
      "parameters": {},
      "typeVersion": 3
    },
    {
      "id": "0f0d44fd-be36-425e-8e84-52a368128d0a",
      "name": "切换",
      "type": "n8n-nodes-base.switch",
      "position": [
        -1568,
        1760
      ],
      "parameters": {},
      "typeVersion": 3
    },
    {
      "id": "9aaef82d-de9c-4173-a18c-4b250373112f",
      "name": "编辑字段 1",
      "type": "n8n-nodes-base.set",
      "position": [
        -1184,
        1760
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "a16b5252-8e9f-418a-bd4f-69146b1c0d3e",
      "name": "便签",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -2512,
        1552
      ],
      "parameters": {
        "content": "确保您的表名与实际知识库结构匹配"
      },
      "typeVersion": 1
    }
  ],
  "active": false,
  "pinData": {},
  "settings": {
    "executionOrder": "v1"
  },
  "versionId": "",
  "connections": {
    "Wait": {
      "main": [
        [
          {
            "node": "Loop Over Items",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Wait1": {
      "main": [
        [
          {
            "node": "Scroll on page1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Wait2": {
      "main": [
        [
          {
            "node": "Click an element",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Wait3": {
      "main": [
        [
          {
            "node": "Type text",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Wait4": {
      "main": [
        [
          {
            "node": "Click an element1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Switch": {
      "main": [
        [
          {
            "node": "Switch_MessageType",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Trigger": {
      "main": [
        [
          {
            "node": "Global data",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Type text": {
      "main": [
        [
          {
            "node": "Wait4",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Edit Fields": {
      "main": [
        [
          {
            "node": "Loop Over Items",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Global data": {
      "main": [
        [
          {
            "node": "Switch",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Load a page": {
      "main": [
        [
          {
            "node": "Wait1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Edit Fields1": {
      "main": [
        [
          {
            "node": "Set message and chatId",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get live view": {
      "main": [
        [
          {
            "node": "Get Group List",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Start Browser": {
      "main": [
        [
          {
            "node": "Create a window",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get Group List": {
      "main": [
        [
          {
            "node": "Edit Fields",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Scroll on page": {
      "main": [
        [
          {
            "node": "Get live view",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Create a window": {
      "main": [
        [
          {
            "node": "Set message and chatId1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Loop Over Items": {
      "main": [
        [
          {
            "node": "Terminate a session",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Load a page",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Scroll on page1": {
      "main": [
        [
          {
            "node": "Wait2",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Click an element": {
      "main": [
        [
          {
            "node": "Wait3",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Click an element1": {
      "main": [
        [
          {
            "node": "Wait",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Switch_MessageType": {
      "main": [
        [
          {
            "node": "Edit Fields1",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Edit Fields1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Set message and chatId": {
      "main": [
        [
          {
            "node": "Start Browser",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Set message and chatId1": {
      "main": [
        [
          {
            "node": "Scroll on page",
            "type": "main",
            "index": 0
          },
          {
            "node": "Load a page",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}
常见问题

如何使用这个工作流?

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

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

高级 - 社交媒体

需要付费吗?

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

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

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

作者
Ivan Maksiuta

Ivan Maksiuta

@zodiac

I build production-ready n8n templates—Telegram dashboards, Airtop browser automation, and AI recruiting flows—scalable, compliant, and easy to ship.

外部链接
在 n8n.io 查看

分享此工作流