Buda LogoBuda

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.

Open Smart Bot

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

Switch to API Mode


Step 2: Configure the Connection

On the API configuration page:

  1. Select Use Long Connection as the connection method
  2. Copy the Bot ID
  3. Click Click to Get to reveal and copy the Secret
  4. Fill in the bot name, avatar, and visibility scope
  5. Click Save

Configure connection and copy credentials

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

  1. Open Channels in Buda settings
  2. Click Add Channel and select WeCom Smart Bot
  3. 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 causeSolution
Incorrect Bot ID or SecretCopy them again from WeCom, making sure there are no extra spaces
Wrong connection method selectedConfirm that Use Long Connection was selected in Step 2, not Use URL Callback
Channel is disabledCheck 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.


References

On this page