mirror of
https://github.com/langbot-app/LangBot.git
synced 2026-11-04 14:52:12 +08:00
feat: add new wecomcs doc (#88)
This commit is contained in:
@@ -12,14 +12,20 @@ title: "Deploy WeCom Customer Service"
|
||||
|
||||

|
||||
|
||||
## Connect to LangBot
|
||||
## Deploy WeCom Customer Service
|
||||
|
||||

|
||||
#### Configure WeCom Customer Service Page
|
||||
|
||||
The subsequent configuration method and configuration items are the same as [WeCom Internal Application](wecom), except that `contacts_secret` is not required.
|
||||
Open the [WeCom Customer Service Admin](https://kf.weixin.qq.com/kf), log in, click on `Enterprise Information`, and obtain the `Enterprise ID`.
|
||||
|
||||
## Notes
|
||||

|
||||
|
||||
1. Be sure to follow the steps in the official WeCom documentation above and add the customer service account to `API Management`.
|
||||
2. The steps are the same as for WeCom internal applications, don't miss anything. You also need to save the callback address, because essentially it's just adding other permissions to the WeCom internal application.
|
||||
3. LangBot will not read sensitive information such as chat records and enterprise qualification content.
|
||||
Save the Enterprise ID, then click on `Developer Settings`, click on `Start Using`, and randomly generate a Token and EncodingAESKey. Fill these three items into the LangBot configuration page. The Secret can be filled in arbitrarily, as shown below:
|
||||
|
||||

|
||||
|
||||
Click Submit on the LangBot configuration page to enable the robot, copy the Webhook callback address, and fill it into the URL in the WeCom Customer Service admin backend (remember to change it to your own IP or domain name), then click Save. If it saves successfully, it means the connection is working.
|
||||
|
||||
Copy the Secret from the page, then open the newly created LangBot WeCom Customer Service robot, fill in the new Secret, and restart.
|
||||
|
||||
Go back to the WeCom Customer Service configuration page, click on Customer Service Accounts, create a customer service account, and you can start using it.
|
||||
|
||||
Reference in New Issue
Block a user