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

相关推荐
mudtools2 天前
在飞书 SDK 上用 Microsoft Agent Framework 搭一个能干活的工作搭子
人工智能·ai·.net·飞书·agent
极致了3 天前
飞书插件、RPA、API三条路的真实分界线
飞书·rpa
玩泥巴的4 天前
在飞书 SDK 上用 Microsoft Agent Framework 搭一个能干活的工作搭子
ai·.net·飞书·agent
玩泥巴的5 天前
一份声明,多份产物:飞书 SDK 的 AI 工具面是怎么生成的
ai·.net·飞书·agent
OpenPortal认证计费系统7 天前
基于 飞书认证 通过 华为、H3C 结合 OpenPortal认证计费系统 实现 网络准入 飞书授权 实名认证
华为·飞书·h3c·portal认证·openportal
前进的李工8 天前
飞书企业知识库设计+后端高频八股
数据库·redis·后端·mysql·性能优化·飞书·rag
长弓三石8 天前
钉钉与飞书机器人接入企业级智能体过程及排障实录
人工智能·机器人·钉钉·飞书·企业级harness
光依旧10 天前
钉钉接入实战与平台横向差距
钉钉·飞书·企业应用·stream模式·outgoing·横向对比·加签