docs/src/content/docs/en/relay-agents-in-im-with-bots/feishu.md
Feishu is for teams that want agent messages in a Feishu group or app chat. CCR connects to Feishu apps using App Secret auth.
New to bots? Start with the "Bots And IM Agent Relay" section in Detailed Configuration to understand the overall flow and the Forward agent messages and Handoff modes, then come back here.
| Name in the Feishu dashboard | CCR field | Required | Notes |
|---|---|---|---|
| App ID | App ID | Required | App identifier, usually starts with cli_ |
| App Secret | App Secret | Required | App secret |
| Feishu / Lark domain | Domain | Optional | Usually blank for mainland Feishu; fill for Lark or special domains |
创建应用 (Create App).企业自建应用 (Enterprise Self-Built App).CCR.基础信息 (Basic Info).凭证与基础信息 (Credentials & Basic Info).App ID.App Secret.These two are the required fields in CCR.
应用能力 (App Capabilities).添加应用能力 (Add App Capability).机器人 (Bot) and add or enable it.Without the bot capability, the Feishu chat may show no input box and won't receive user messages.
开发配置 (Development Config).权限管理 (Permission Management).Permission names vary slightly across tenants. When you see identifiers like
im:message.p2p_msg:readonly,im:message.group_at_msg:readonly,im:message:send_as_bot, prefer those message-related ones.
事件与回调 (Events & Callbacks).im.message.receive_v1.版本管理与发布 (Version Management & Release) and create a new version.For lock-screen-only alerts, use Handoff without Forward agent messages.
How to tell it worked: Feishu shows the agent's message, and replies keep the agent going.
im.message.receive_v1.