Aliyun OpenClaw (formerly Moltbot/Clawdbot) Feishu Integration (Step-by-step)
With Alibaba Cloud AppFlow, you can integrate OpenClaw with Feishu and interact in Feishu group or 1:1 chats using natural language.
Step 1. Purchase the OpenClaw package
Purchase link here: Buy a lightweight server with the preinstalled Moltbot image.
Configuration notes
-
On the lightweight server page, the resource configuration is pre-filled. If you need to adjust it, refer to the notes below.
- Instance: memory must be at least 2GiB. You can switch to a larger plan if needed.
- Region: default is US (Virginia).
- Important: lightweight servers in mainland China (excluding Hong Kong) cannot use OpenClaw’s web search feature.
- Purchase period: default is 12 months. Adjust based on your needs.
Step 2. Configure OpenClaw
We’ll use Alibaba’s default model first and finish the flow. You can switch models later.
- Go to Alibaba Cloud Bailian Model Service, open the API key page, and create an API key.
- Default model:
qwen3-max-2026-01-23 - New users get 1,000,000 free credits; charges apply after that
- We’ll later show how to use NVIDIA’s free
minimax-m2model
- On the server page, click the instance ID in the server card to open the overview page.
- Open the application detail tab and configure OpenClaw.
- Open ports: allow the required firewall ports with one click.
- Configure OpenClaw: run the command, paste your Bailian API key, and continue.
- Access the control panel: run the command to get the Clawdbot chat URL.
- View token: go to Help > Token and run the command to get the token.
- Enable Response API access so AppFlow can call OpenClaw.
- In Clawdbot, open Setting > Config in the left sidebar.
- Switch to Gateway and then the Http tab.
- In the Responses section, toggle Enabled on and click Save.
Step 3. Create and configure the Feishu app
- Log in to the Feishu developer console, create an internal app, and fill in the app information.
- In the left sidebar, click Add App Capability, choose Bot, and add it.
- In Permission management, enable permissions and add the following API scopes:
| Permission code | Purpose | Notes |
|---|---|---|
| im:message:send_as_bot | Allow the bot to send messages as the app | Required |
| contact:user.employee_id:readonly | Get user ID | Required |
| im:message.group_at_msg:readonly | Receive @ mentions in group chats | Core permission |
| im:message.p2p_msg:readonly | Read messages sent to the bot in 1:1 chats | Required for 1:1 |
| im:message.group_msg:readonly | Read all messages in a group | Sensitive permission |
-
Collect the required credentials. You’ll need them for AppFlow.
- In the left sidebar, open Credentials & Basic Info and copy App ID and App Secret.
- In Events & Callbacks, find Encryption Strategy, and copy Encrypt Key and Verification Token.
If Encrypt Key is empty, click Reset to generate a new one.
Step 4. Create the Feishu connection flow (AppFlow)
- Open the AppFlow Feishu–OpenClaw template and click Use now.
- Add Feishu auth credentials. Enter a name (any), and fill in the values from Step 3. Click Confirm and select the credential you created.
- Create Moltbot auth credentials. Fill in the values from Step 2, click Confirm, and select the credential.
- Click Next and fill your public IP and port (default port is 18789).
Example:48.253.178.133:18789
- Publish the flow, then copy and save your Webhook URL.
Step 5. Configure the Feishu bot
🖼️ Event configuration page
This page shows Events & Callbacks and the event configuration tab.
- Return to the Feishu developer console. In the left sidebar, go to Events & Callbacks, then configure the subscription method.
-
Choose Send events to developer server, paste the Webhook URL from Step 4, and save.
-
In Event Configuration, add Message Received events.
This step is critical—without it, the bot will not receive your messages in groups.
- In the left sidebar, go to Version Management & Release, create a version (or open the latest draft), fill in the required fields, save, and submit for review.
Validation
After configuration, you can add the bot to a group to start interacting.
Currently, adding bots is only supported on Feishu desktop. For external groups, follow Feishu’s docs for external group and external user support.
🖼️ Add bot screenshot
Path: ... > Settings > Group Bots > Add Bot
- Follow the path above to add the bot.
- @mention the bot to start a conversation.