站会机器人 - 初始化

初级

这是一个Building Blocks领域的自动化工作流,包含 4 个节点。主要使用 Set、ManualTrigger、MoveBinaryData、WriteBinaryFile 等节点。 站会机器人 (1/4):初始化

前置要求
  • 无特殊前置要求,导入即可使用
工作流预览
可视化展示节点连接关系,支持缩放和平移

无法加载工作流预览

导出工作流
复制以下 JSON 配置到 n8n 导入,即可使用此工作流
{
  "id": 111,
  "name": "站会机器人 - 初始化",
  "nodes": [
    {
      "name": "点击\"执行\"时",
      "type": "n8n-nodes-base.manualTrigger",
      "position": [
        240,
        300
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "name": "写入二进制文件",
      "type": "n8n-nodes-base.writeBinaryFile",
      "position": [
        880,
        300
      ],
      "parameters": {
        "fileName": "/home/node/.n8n/standup-bot-config.json"
      },
      "typeVersion": 1
    },
    {
      "name": "移动二进制数据",
      "type": "n8n-nodes-base.moveBinaryData",
      "position": [
        660,
        300
      ],
      "parameters": {
        "mode": "jsonToBinary",
        "options": {
          "encoding": "utf8",
          "fileName": "standup-bot-config.json"
        }
      },
      "typeVersion": 1
    },
    {
      "name": "使用默认配置",
      "type": "n8n-nodes-base.set",
      "position": [
        440,
        300
      ],
      "parameters": {
        "values": {
          "string": [
            {
              "name": "config.slashCmdToken",
              "value": "xxxxx"
            },
            {
              "name": "config.mattermostBaseUrl",
              "value": "https://mattermost.yourdomain.tld"
            },
            {
              "name": "config.botUserToken",
              "value": "xxxxx"
            },
            {
              "name": "config.n8nWebhookUrl",
              "value": "https://n8n.yourdomain.tld/webhook/standup-bot/action/f6f9b174745fa4651f750c36957d674c"
            },
            {
              "name": "config.botUserId",
              "value": "xxxxx"
            }
          ]
        },
        "options": {},
        "keepOnlySet": true
      },
      "typeVersion": 1
    }
  ],
  "active": false,
  "settings": {},
  "connections": {
    "Move Binary Data": {
      "main": [
        [
          {
            "node": "Write Binary File",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Use Default Config": {
      "main": [
        [
          {
            "node": "Move Binary Data",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "On clicking 'execute'": {
      "main": [
        [
          {
            "node": "Use Default Config",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}
常见问题

如何使用这个工作流?

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

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

这是一个初级难度的工作流,适用于Building Blocks等场景。适合 n8n 新手,包含 1-5 个节点的简单工作流

需要付费吗?

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

工作流信息
难度等级
初级
节点数量4
分类1
节点类型4
难度说明

适合 n8n 新手,包含 1-5 个节点的简单工作流

外部链接
在 n8n.io 上查看 →

分享此工作流