🪶 飞书机器人 🪶 Feishu Bot

方式一:新建机器人(推荐) Method 1: Create New Bot (Recommended)

推荐使用 Claude Sonnet 4.6 与 Agent 进行对话。首次未安装飞书插件时,通过与 Agent 助手对话,将自动帮你完成机器人的创建与配置。 Claude Sonnet 4.6 is recommended. If the Feishu plugin hasn't been installed before, chatting with the Agent will automatically create and configure the bot for you.
1

安装飞书插件 Install the Feishu plugin

在控制台默认的「AI Assistant」聊天助手中,输入以下命令:

In the default "AI Assistant" chat in the console, send the following message:

使用此命令 `npx -y @larksuite/openclaw-lark-tools install` 为我安装飞书插件,并返回 login 二维码;如果不能返回二维码,就为我解决是什么原因,最终提供我绑定的二维码即可,我不关心出现的问题
Use this command `npx -y @larksuite/openclaw-lark-tools install` to install the Feishu plugin for me and return the login QR code. If you can't return the QR code, diagnose and fix the issue — just give me the binding QR code in the end, I don't care about intermediate errors.
在 AI Assistant 中安装飞书插件
2

扫码二维码 Scan the QR code

打开手机飞书 APP,扫描 Agent 返回的二维码,选择机器人头像,输入机器人名称,点击「创建」;或点击「选择已有机器人」绑定到现有机器人。

Open the Feishu app on your phone, scan the QR code returned by the Agent, choose a bot avatar, enter a bot name, and tap "Create" — or tap "Select Existing Bot" to bind to an existing one.

扫码创建飞书机器人
3

等待创建 Wait for creation

系统自动完成所有配置,等待进度条完成即可,无需手动操作。

The system automatically completes all configuration. Wait for the progress bar to finish — no manual steps required.

等待飞书机器人创建
4

找到机器人 Find the bot

创建完成后,在飞书消息列表中即可看到新创建的机器人。

Once created, the new bot will appear in your Feishu message list.

在消息列表中找到机器人
5

测试聊天 Test the chat

点击机器人,发送消息进行测试,确认 AI 成员正常响应。

Tap the bot and send a message to verify the AI member responds correctly.

测试与飞书机器人对话

方式二:关联已有机器人 Method 2: Link an Existing Bot

此方案适用于已有飞书机器人,或需要将新建机器人绑定到指定 Agent 的场景。 Use this method if you already have a Feishu bot, or need to bind a new bot to a specific Agent.
1

打开飞书开放平台 Open Feishu Open Platform

访问 open.feishu.cn,使用飞书账号登录。

Go to open.feishu.cn and sign in with your Feishu account.

2

找到已创建好的应用凭证 Get your app credentials

在应用的「凭证与基础信息」页面,复制以下信息:

On the "Credentials & Basic Info" page of your app, copy:

  • App ID(格式如 cli_xxx
  • App Secret
  • App ID (format: cli_xxx)
  • App Secret
飞书应用凭证页面
3

与 Agent 对话完成配置 Chat with Agent to complete configuration

在 ClawBot 控制台中与目标 Agent 对话,将 App ID 和 App Secret 一并告知,例如:

In the ClawBot console, chat with the target Agent and provide the App ID and App Secret, for example:

我已经有一个飞书机器人,需要将它绑定到这个 Agent 上。App ID:cli_xxx,App Secret:xxxxxxxx
I have an existing Feishu bot I need to bind to this Agent. App ID: cli_xxx, App Secret: xxxxxxxx
4

测试聊天 Test the chat

配置完成后,在飞书中向机器人发送消息,确认已绑定到指定的 Agent 并正常响应。

After configuration, send a message to the bot in Feishu to confirm it's bound to the correct Agent and responding normally.