This document will describe in detail how to create a WeCom bot and connect it to an agent on the Dora platform.
Dora Version
Functional Change
V0.6
/
V1.4
Supported card interaction.
Before configuring the WeCom bot in the agent, you need to log in as a super administrator and choose Admin Console > User Management > IM User Mapping to complete the user mapping between the platform and WeCom.
For details, see IM User Mapping.
In an intranet environment, whitelist the following domain names in advance on the server where the FineBI service and Data Agent service are deployed to ensure normal service access:
openws.work.weixin.qq.com:443
qyapi.weixin.qq.com:443
(1) Choose Contacts > Smart robot in WeCom of the latest version to create a bot for connecting to the agent on the Dora platform and conducting conversational analysis with this bot.
(2) Select Manual Creation in the pop-up box to enter the bot creation page.
Scroll down to the bottom of the bot creation page and switch to the API mode for creation.
Configure the detailed bot information as follows:
Bot name: Customize an easily identifiable name based on the bot's purpose.
Accessible members: Add members or departments who can interact and chat with this bot from the WeCom contacts.
API configuration: Select the long connection method, copy the bot ID, and click the secret button to obtain the secret, which will be used for configuration in the agent on the Dora platform.
(1) Go to the Connected IM Tool area on the agent configuration page, click the + button in the upper right corner of the module to pop up the Connected IM Tool window, and select WeCom Bot to enter the WeCom bot configuration page.
(2) On the WeCom bot configuration page, configure the bot ID and secret obtained in the previous step into the agent.
(3) Enable Interactive Card Message to ensure that the bot can perform card-based intent clarification.