OpenClaw(Clawdbot)附飞书对接教程

1.安装centos8上面

复制代码
npm install -g @fission-ai/openspec@latest

2.不交互方式 自动化方式

复制代码
openclaw onboard --non-interactive --accept-risk --flow quickstart --gateway-port 18789 --gateway-bind lan --auth-choice password --gateway-password "123456aA" --qwen-api-key-cn "sk-你的通义千问KEY" --workspace /opt/workspace/openclaw --install-daemon



openclaw onboard --non-interactive --accept-risk  --gateway-port 18789 --gateway-bind lan --gateway-auth password --gateway-password "123456aA" --custom-provider-id "vllm"  --custom-base-url "http://192.168.0.54:8080/v1" --custom-model-id "Qwen3-VL-30B-A3B-Instruct" --custom-compatibility openai  --custom-image-input  --workspace /opt/workspace/openclaw --daemon-runtime node --install-daemon



openclaw onboard --non-interactive --accept-risk -gateway-port 18789 --gateway-bind lan	--gateway-auth password --gateway-password "123456aA"  --workspace /opt/workspace/openclaw --daemon-runtime node --install-daemon

问题处理:

复制代码
openclaw config set gateway.controlUi.allowedOrigins '["*"]'
openclaw config set gateway.controlUi.allowInsecureAuth true      #https
openclaw config set gateway.controlUi.dangerouslyDisableDeviceAuth true     #设备认证

--custom-compatibility openai 会自动生成"api": "openai-completions" 但是新版本不支持这个请求了,修改手动改成"api": "openai-responses",
vim ~/.openclaw/openclaw.json
"api": "openai-completions",
"api": "openai-responses",

飞书渠道

复制代码
飞书权限
{
  "scopes": {
    "tenant": [
      "contact:contact.base:readonly",
      "docx:document:readonly",
      "im:chat:read",
      "im:chat:update",
      "im:message.group_at_msg:readonly",
      "im:message.p2p_msg:readonly",
      "im:message.pins:read",
      "im:message.pins:write_only",
      "im:message.reactions:read",
      "im:message.reactions:write_only",
      "im:message:readonly",
      "im:message:recall",
      "im:message:send_as_bot",
      "im:message:send_multi_users",
      "im:message:send_sys_msg",
      "im:message:update",
      "im:resource",
      "application:application:self_manage",
      "cardkit:card:write",
      "cardkit:card:read"
    ],
    "user": [
      "contact:user.employee_id:readonly",
      "offline_access","base:app:copy",
      "base:field:create",
      "base:field:delete",
      "base:field:read",
      "base:field:update",
      "base:record:create",
      "base:record:delete",
      "base:record:retrieve",
      "base:record:update",
      "base:table:create",
      "base:table:delete",
      "base:table:read",
      "base:table:update",
      "base:view:read",
      "base:view:write_only",
      "base:app:create",
      "base:app:update",
      "base:app:read",
      "board:whiteboard:node:create",
      "board:whiteboard:node:read",
      "calendar:calendar:read",
      "calendar:calendar.event:create",
      "calendar:calendar.event:delete",
      "calendar:calendar.event:read",
      "calendar:calendar.event:reply",
      "calendar:calendar.event:update",
      "calendar:calendar.free_busy:read",
      "contact:contact.base:readonly",
      "contact:user.base:readonly",
      "contact:user:search",
      "docs:document.comment:create",
      "docs:document.comment:read",
      "docs:document.comment:update",
      "docs:document.media:download",
      "docs:document:copy",
      "docx:document:create",
      "docx:document:readonly",
      "docx:document:write_only",
      "drive:drive.metadata:readonly",
      "drive:file:download",
      "drive:file:upload",
      "im:chat.members:read",
      "im:chat:read",
      "im:message",
      "im:message.group_msg:get_as_user",
      "im:message.p2p_msg:get_as_user",
      "im:message:readonly",
      "search:docs:read",
      "search:message",
      "space:document:delete",
      "space:document:move",
      "space:document:retrieve",
      "task:comment:read",
      "task:comment:write",
      "task:task:read",
      "task:task:write",
      "task:task:writeonly",
      "task:tasklist:read",
      "task:tasklist:write",
      "wiki:node:copy",
      "wiki:node:create",
      "wiki:node:move",
      "wiki:node:read",
      "wiki:node:retrieve",
      "wiki:space:read",
      "wiki:space:retrieve",
      "wiki:space:write_only"
    ]
  }
}


openclaw config set channels.feishu.appId "<App_ID>"
openclaw config set channels.feishu.appSecret "<App_Secret>"
openclaw config set channels.feishu.enabled true
openclaw config set channels.feishu.connectionMode websocket
openclaw config set channels.feishu.dmPolicy pairing
openclaw config set channels.feishu.groupPolicy allowlist
openclaw config set channels.feishu.requireMention true



openclaw pairing approve feishu 

https://www.feishu.cn/content/article/7602519239445974205

相关推荐
xiezhr11 天前
折腾半小时,终于让AI 能直接帮我写飞书文档了
ai·飞书·ai agent·飞书cli·飞书文档
Markland_l18 天前
从dify、coze、飞书、obsidian看rag架构
架构·飞书
zyplayer-doc19 天前
继飞书之后,又一款知识库推出了开源 Agent-Native CLI 工具
人工智能·pdf·编辑器·飞书·开源软件
旺财矿工19 天前
OpenClaw 飞书机器人配置教程|一键对接飞书,实现聊天下达 AI 指令
人工智能·机器人·飞书·openclaw·龙虾
程序猿小白菜19 天前
OpenClaw 飞书机器人搭建流程
ai·机器人·飞书·openclaw
x-cmd20 天前
[260612] x-cmd v0.9.8:x feishu 发送消息支持 Markdown + 卡片,让 x claw 接入飞书后消息不再干巴巴
飞书·agent·claude·命令行·x-cmd·openclaw
诗词在线20 天前
专业的飞花令网站
飞书
河北小博博21 天前
OpenClaw 接入飞书 / 钉钉 / 企业微信:从 HTTP Webhook 到 WebSocket 长连接
钉钉·飞书·企业微信
蜀道山老天师22 天前
OpenClaw 从零部署 + 飞书机器人完整接入(实操篇)
运维·docker·容器·飞书
花伤情犹在22 天前
Hermes 清理飞书会话操作指南
linux·sqlite·飞书·agent·hermes