Prerequisites
- SetupClaw APP installed on your computer
- A WeCom (WeChat Work) workspace with admin access
- OpenClaw configured with at least one AI model provider
Setup Steps
Step 1: Create a WeCom Bot
Log in to your WeCom admin console at work.weixin.qq.com. Navigate to Application Management and click Create Application. Set the bot name and description to something your team will recognise. Once created, note down the Bot ID and Secret — you will need them in the next steps.
- aGo to work.weixin.qq.com and log in with your admin account
- bNavigate to Application Management → Create Application
- cEnter a bot name and description
- dNote the Bot ID and Secret from the application details page
Step 2: Configure API Permissions
Before connecting to SetupClaw, ensure your WeCom bot has the correct API permissions configured.
- aEnable message receiving callback in the bot settings
- bSet the allowed IP whitelist if required by your organisation
- cEnable the bot to receive and send messages
Step 3: Enter Credentials in SetupClaw
Open SetupClaw APP and add WeCom as a new channel. The app will handle plugin installation automatically.
- aOpen SetupClaw APP → Channels → Add Channel → WeCom
- bEnter the Bot ID and Secret you noted earlier
- cSetupClaw installs the WeCom plugin via
npxautomatically
Step 4: QR Code Binding
After plugin installation, SetupClaw generates a QR code. Scan this code with your WeCom mobile app to bind the bot to your account.
- aWait for SetupClaw to display the QR code on screen
- bOpen the WeCom mobile app on your phone
- cScan the QR code to bind the bot to your WeCom workspace
- dThis links the bot to your account — no further pairing is needed
Step 5: Verify Connection
Once the QR code is scanned successfully, the bot is automatically activated. No separate pairing step is needed — WeCom skips pairing entirely.
- aConfirm that SetupClaw shows the channel status as connected
- bFind the bot in your WeCom contacts
- cSend a test message to the bot and verify it responds
Key Notes
- •WeCom uses QR code binding instead of pairing codes (unlike Feishu)
- •The bot is ready immediately after QR scan — no additional pairing step is required
- •Closing SetupClaw APP does not stop the bot — it continues running via the OpenClaw gateway
Troubleshooting
QR code not generating
Check that the OpenClaw gateway is running. Try restarting the gateway from the SetupClaw Dashboard.
Bot doesn't respond
Verify the Bot ID and Secret are correct. Check the IP whitelist settings in the WeCom admin console.
QR code expired
Generate a new QR code by disconnecting and reconnecting the channel in SetupClaw.