Workflow
国产化流程
icon
Search documents
Clawdbot 教程 02:如何集成飞书,完全国产化!
歸藏的AI工具箱· 2026-02-05 04:36
Core Viewpoint - The article outlines a comprehensive guide for configuring Clawdbot with Feishu, emphasizing the ease of using domestic models and the entire process being fully localized [2][35]. Group 1: Initial Setup - The first step involves creating a new bot application in the Feishu developer backend, which includes filling out the application name, description, background color, and icon [5]. - After creation, two key pieces of information, App ID and App Secret, must be noted for later configuration [6][7]. Group 2: Permission Configuration - The next step is to configure the bot's permissions by importing a JSON configuration that grants necessary access rights for message reception and sending [8][10]. - The permissions include various access rights such as reading and writing files, sending messages, and accessing chat events [9]. Group 3: Bot Activation - In the bot configuration page, a welcome message must be inputted to activate the bot's capabilities, which is essential for receiving messages [11]. Group 4: Clawdbot Configuration - The second step involves configuring the Feishu channel in Clawdbot, which requires running an installation command and selecting the Feishu option [14]. - If issues arise, such as a plugin already existing, manual deletion of the plugin folder is necessary before re-running the installation command [16]. - A known bug may require global installation of the zod dependency to proceed with the configuration [19]. Group 5: Final Configuration Steps - After filling in the required configuration information, it is crucial to select "Finished" to ensure successful addition [20]. - The configuration of direct message access policies is also necessary, with recommended settings for user interaction [24]. - Restarting the gateway is required to apply the new channel configuration [26]. Group 6: Event Subscription and Version Publishing - The final steps include configuring event subscription methods and adding the message receiving event to ensure the bot can receive messages [27][29]. - Publishing a version is essential for the bot's configuration to take effect [31][32]. Group 7: Pairing the Bot - The last step involves pairing the bot by sending a message to it in Feishu to receive a pairing code, which is then used to bind the bot in Clawdbot [34]. - Once configured, the Feishu bot will function correctly, especially when using domestic models [35].