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.

Open Smart Bot

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

Switch to API mode

Configure the connection and copy credentials

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, then Save.

Configure connection and copy credentials

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

SymptomFix
Bot not respondingRe-copy the Bot ID and Secret (watch for stray spaces); confirm the channel shows Active
Connection never establishesMake sure you selected Use Long Connection, not Use URL Callback
Secret compromisedRegenerate the Secret in the WeCom admin console, then update it in Buda's channel settings

On this page