Skip to Content

Feishu / Lark

Send text between Feishu / Lark and your agent. Use a direct chat, a group or a thread.

Mention the bot to address it in a group. Continue in a thread where SwB has answered.

Give the app the im:message.group_msg permission to receive group messages that omit a mention.

Configuration

Set enabled to true to start the block.

An open ID identifies a person to this app. Set the owner's open ID in owner_ids.

Set domain to lark for Lark or feishu for Feishu. Use default_target as the space fallback.

Choose the agent in Answers here. See Choose who answers in a chat.

Use project to select a SwB project for the block. Use spaces to assign chats to different projects.

Use chats to limit a space to specific groups. Use dm_space to choose the space for direct chats.

blocks:
  lark:
    use: lark
    domain: lark
    project: home
    default_target: agent:claude
    spaces:
      default:
        owner_ids: [ou_example]
        chats: [oc_example]

Use lark_status to find recent chat IDs. Use lark_post to send text. Use lark_provision to find the credential form.

Set up Feishu / Lark

On this page