Connect WeCom Bot
How to create and connect a WeCom Smart Bot in Buda for two-way AI conversations.
Connect WeCom Bot
Buda supports direct conversations with employees via WeCom's Smart Bot. Once configured, employees can message the bot in WeCom and Buda will reply automatically.
Step 1: Create a Bot
In WeCom, tap Workbench at the bottom, then find and open Smart Bot.

Tap Create Bot → Manual Creation. On the creation page, scroll down and click Create in API Mode.

Step 2: Configure the Connection
On the API configuration page:
- Select Use Long Connection as the connection method
- Copy the Bot ID
- Click Click to Get to reveal and copy the Secret
- Fill in the bot name, avatar, and visibility scope
- Click Save

The Bot ID and Secret can be viewed again at any time — they are not one-time values.
Step 3: Add the Channel in Buda
- Open Channels in Buda settings
- Click Add Channel and select WeCom Smart Bot
- Enter the Bot ID and Secret, then click Connect
Step 4: Test
Go back to WeCom, find the bot you just created, and send a message such as Hi.
Once Buda replies, you're all set 🎉
Troubleshooting
The bot is not responding
| Possible cause | Solution |
|---|---|
| Incorrect Bot ID or Secret | Copy them again from WeCom, making sure there are no extra spaces |
| Wrong connection method selected | Confirm that Use Long Connection was selected in Step 2, not Use URL Callback |
| Channel is disabled | Check that the channel status in Buda shows Active |
What if the Secret is compromised?
Regenerate the Secret in the WeCom admin console, then update it in Buda's channel settings.