Connect to an IM Platform
This topic describes how to connect DingTalk, Feishu, Lark, and WeCom instant messaging (IM) bots to digital employees in the STAROps console. After a bot is connected, users can chat directly with the digital employee in the IM client. The digital employee processes messages and returns the results.
Feature overview
Instant Messaging (IM) is the IM integration module in the settings of a digital employee. After you configure the module, users can add the bot to a group chat or chat with the bot one-on-one and ask questions in natural language. The digital employee processes messages in an intelligent session and returns the results. Multi-turn conversations can continue within the same session.
Supported message types
IM connectors can send various message types to STAROps intelligent sessions. They currently support parsing text, images, some rich text, card messages, and uploaded files. The content that can be read varies depending on the open APIs and message formats of each IM platform. The following table lists the supported message types.
A single attachment cannot exceed 10 MiB, and each message can contain up to 10 attachments. To upload a larger file, start an intelligent session in the STAROps console.
Element read | DingTalk | Feishu | WeCom | Slack | Microsoft Teams |
Plain text | Supported | Supported | Supported | Supported | Supported |
Images | Supported | Supported | Supported | Supported | Supported |
Rich text (mixed text and images) | Supported | Supported | Supported | Supported | Supported |
Card messages | Supported | Supported | Partially supported. Due to WeCom limitations, card messages pushed by webhook bots cannot be read. | Supported | Supported |
Files (plain text and ZIP/GZIP files) | Supported | Supported | Supported | Supported | Supported |
Quoted messages | Only the text in the message is read. Messages quoted by the quoted message are not included. | ||||
The bot receives only messages sent directly to it, including one-on-one messages and messages that @mention the bot in group chats. It does not read other messages in group chats.
Instant Messaging (IM) is independent of the IM bot notification channel in Notification Management. Notification Management supports one-way message pushes for scenarios such as long-running tasks (Missions). Instant Messaging (IM) supports interactive conversations between users and digital employees in IM clients.
Supported IM platforms
STAROps IM connectors support the following platforms:
Platform | Connection method |
DingTalk | Scan a QR code or configure the connection manually |
Feishu/Lark | Scan a QR code to automatically create an app |
WeCom | Scan a QR code to automatically create an intelligent bot |
Slack | Use an app template to create an intelligent bot |
Microsoft Teams | Provide credentials to generate a message callback URL, and configure an intelligent bot |
All IM connectors are configured on the Instant Messaging (IM) page under General Settings for a digital employee.
Go to the Instant Messaging (IM) configuration page
Log on to the STAROps console.
In the left-side navigation pane, click Digital Employees to go to the digital employee list.
Click the ID of the desired digital employee to go to the digital employee details page.
In the left-side navigation pane, click Settings.
At the top of the page, click the General Settings tab.
On the left side of the General Settings page, click Instant Messaging (IM) to go to the Instant Messaging configuration page.