openclaw配置飞书 channel 机器人通道 多账号
- 创建飞书机器人:访问飞书开放平台 https://open.feishu.cn • 创建企业自建应用 创建版本号1.0.1 • 获取 App ID 和 App Secret
"accounts": {
// 第一个机器人(主账号)
"main": {
"appId": "cli_a1b2c3d4",
"appSecret": "wkEb...123",
"botName": "主助手",
"groupPolicy": "open"
},
// 第二个机器人(例如用于特定测试或部门)
"test_bot": {
"appId": "cli_x9y8z7w6",
"appSecret": "abCd...456",
"botName": "测试号",
"dmPolicy": "allowlist", // 不同的权限策略
"allowFrom": ["ou_..."]
}</blockquote>
然后用openclaw channels list命令: ? OpenClaw 2026.2.14 (c1feda1) — I’m not magic—I’m just extremely persistent with retries and coping strategies.
03:36:47 [plugins] feishu_doc: Registered feishu_doc, feishu_app_scopes 03:36:47 [plugins] feishu_wiki: Registered feishu_wiki tool 03:36:47 [plugins] feishu_drive: Registered feishu_drive tool Chat channels:
- Telegram default: configured, token=config, enabled
- Feishu test_bot: configured, enabled
- “Feishu main: configured, enabled”
Auth providers (OAuth + API keys):
- “google-gemini-cli:chedong@gmail.com (oauth)”
- google:default (api_key)
- minimax:default (api_key)
- qwen-portal:default (oauth)
- moonshot:default (api_key)
- minimax-portal:default (oauth)
- minimax-cn:default (api_key)
- 飞书开放平台上的配置: open.feishu.cn feishu和lark账号是分开的 3.1 批量导入权限: https://open.feishu.cn/app/cli_##########/auth
3.3. 在飞书后台 “事件订阅” 页面, https://open.feishu.cn/app/cli_##########/event 添加事件:im.message.receive_v1 (接收消息)。
发布应用:创建一个版本号 1.0.2
用飞书app:查找连接飞书bot OpenClaw:访问未配置。 您的飞书用户 ID:ou_################### 配对码:####### 请机器人所有者使用以下命令进行批准:openclaw pairing approve feishu #########
? OpenClaw 2026.2.14 (c1feda1) — Claws out, commit in—let’s ship something mildly responsible.
Approved feishu sender ou_##################