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

相关推荐
刘广睿3 天前
影栈 vs 飞书/Notion:用通用工具搭短视频素材库,半年踩坑记
飞书·notion·短视频素材库·素材管理效率·创作工作流
13线4 天前
为什么要合并飞书和豆包
人工智能·飞书·火山引擎·豆包
倔强的小石头_6 天前
把 Mac mini 变成远程 AI 工作台:OpenClaw + 飞书 + cpolar 实战
飞书·mac·openclaw
gf13211118 天前
【python_发送飞书卡片消息_直接组装JSON格式发送卡片】
python·json·飞书
shandianchengzi9 天前
【工具】飞书多维表格插件|附件批量导出并自定义名称的免费插件
飞书
kongxinniaoren9 天前
已经开学了,大学生还能做近视手术吗?有哪些需要注意的?
飞书
我是Superman丶10 天前
飞书文档下载
飞书
云雀衔光12 天前
多个 MCP Server 怎么编排:数据库 / Redis / Git / 飞书一把梭
java·数据库·人工智能·redis·git·语言模型·飞书
RestCloud12 天前
飞书多维表格落地新思路:ETL做数据导入,豆包做业务智能分析
数据仓库·飞书·etl·数据传输·api对接·豆包
PM老周13 天前
团队知识库软件哪个好用?ONES、Confluence、Notion、飞书、语雀等主流工具对比
飞书·confluence·ones·知识库管理