Prerequisites
- A WeCom admin account
- A Claw instance (create one here)
Setup Guide
Create a WeCom App
- Log in to WeCom Admin Console
- Go to App Management → Create App
- Enter an app name, upload a logo, and set the visible range
- Click Create
Get Credentials
- Note your Corp ID — found at My Enterprise → Enterprise Info at the bottom
- In your app settings, copy the Secret (Corp Secret)
Configure Callback URL
- In your app settings, go to Receive Messages → Set API Receive
- Your callback URL is displayed in the LemonData dashboard when you expand the WeCom section:
- Set a Token (random string) and EncodingAESKey (43-character random string)
- Click Save — WeCom will verify the callback URL
Configure in LemonData Dashboard
- Go to your Claw Dashboard
- Click the settings icon on your instance
- Open the IM Integrations tab
- Expand the WeCom section
- Copy the Callback URL shown at the top
- Fill in: Corp ID, Corp Secret, Token, EncodingAESKey
- Click Save
Troubleshooting
Callback URL verification fails
Callback URL verification fails
- Make sure your Claw instance is running (green status)
- Verify the URL format:
https://claw-{subdomain}.lemondata.cc/webhook/wecom - Check that Token and EncodingAESKey are saved in Claw config before verifying in WeCom
Bot doesn't respond
Bot doesn't respond
- Verify Corp ID and Corp Secret are correct
- Check that the app is visible to your user account (visible range setting)
- Make sure Token and EncodingAESKey match between WeCom and Claw