Channels
Connect WeCom
Create a WeCom Smart Bot and connect it to a Buda agent so employees can chat with it directly in WeCom.
Give your team an AI teammate inside WeCom. Buda connects through WeCom's Smart Bot over a long connection — employees message the bot in WeCom and Buda replies automatically, with no public webhook to host.
Connect the bot
Create a bot
In WeCom, tap Workbench, then open Smart Bot.

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

Configure the connection and copy credentials
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, then Save.

The Bot ID and Secret can be viewed again at any time — they aren't one-time values.
Add the channel in Buda
Open Settings → Channels, click Add Channel, and select WeCom Smart Bot. Enter the Bot ID and Secret, optionally set a label and target agent, then click Connect.
Test it
Back in WeCom, find the bot you just created and send Hi. Once Buda replies, you're connected.
Troubleshooting
| Symptom | Fix |
|---|---|
| Bot not responding | Re-copy the Bot ID and Secret (watch for stray spaces); confirm the channel shows Active |
| Connection never establishes | Make sure you selected Use Long Connection, not Use URL Callback |
| Secret compromised | Regenerate the Secret in the WeCom admin console, then update it in Buda's channel settings |
Related
- Channels overview — how channels route messages to agents
- WeCom Smart Bot developer docs