Integrating Virtual Agent with messaging apps
Summarize
Summary of Integrating Virtual Agent with messaging apps
This guide explains how to enable ServiceNow Virtual Agent bots to interact with users through supported third-party messaging applications such as Slack, Microsoft Teams, and Workplace. Using pre-built Conversational Integration apps available from the ServiceNow Store, customers can configure these messaging channels on their ServiceNow instance to extend Virtual Agent capabilities beyond the native web interface.
Show less
Note that on-premises ServiceNow instances do not support Conversational Integration apps for Slack, Microsoft Teams, Workplace, consumer apps, or voice apps.
Admin setup
Administrators should install the relevant Conversational Integration apps from the ServiceNow Store and associate them with their ServiceNow instance. These apps cover popular channels including Slack, Microsoft Teams, Workplace, LINE, Twilio, WhatsApp, Facebook Messenger, Alexa, Google Assistant, and Amazon Connect as they become available.
After installation, system messages displayed in Virtual Agent conversations can be customized, along with common bot commands used in messaging integrations. Command configuration is done through the Virtual Agent settings under Conversational Interfaces in the ServiceNow instance.
Conversational interface in messaging integrations
The Virtual Agent interface in messaging apps closely resembles the web version but includes differences in commands and interface controls. Common commands include:
- Hi: Start or end a conversation
- agent: Request live agent transfer
- bye: Leave a live chat
- help: Show commands list
- logout: Unlink ServiceNow account
- notification(s): Subscribe/unsubscribe notifications
- restart: Restart conversation
These commands can be tailored per channel via the Virtual Agent configuration pages.
Rendering and attachments
Input controls and bot responses, such as carousels, date/time pickers, images, and multi-responses, render differently in messaging apps compared to the web interface. Live agent conversations support uploading and exchanging attachments of any type.
Supported integrations and capabilities
- Microsoft Teams and Slack support Now Assist and synthesized responses.
- WhatsApp and SMS/Twilio support Now Assist but not synthesized responses.
- Other channels like Amazon Connect IVR, Workplace by Facebook, Facebook Messenger, LINE, IBM Watson Assistant, Alexa, and Apple Business Chat have varying support and capabilities.
User authentication and account linking
After installing a Conversational Integration app, you can configure user authentication to occur via a specified Service Portal rather than within the messaging app. Account linking maps messaging users to their ServiceNow profiles, enabling automatic authentication and access to Virtual Agent topics involving ServiceNow records. Users can manually link or unlink accounts if necessary.
Controlling topic visibility
Administrators can suppress specific Virtual Agent topics in messaging channels by applying condition scripts to exclude those topics from certain channels, allowing tailored user experiences per messaging platform.
Additional Conversational Integration apps
ServiceNow offers specific Conversational Integration apps for a variety of messaging platforms, including but not limited to:
- Apple Messages for Business – supports rich messaging features like Apple Pay and authentication
- Facebook Messenger
- Google Chat
- LINE
- Microsoft Teams
- Slack
- Twilio SMS
- Workplace from Facebook
- WhatsApp (via Twilio and WhatsApp Cloud API)
- AWS End User Messaging for SMS
- IBM Watson Assistant integration for hybrid conversational flows
These apps enable customers to extend Virtual Agent capabilities across multiple communication platforms, providing consistent and interactive chatbot experiences.
Enable users to run Virtual Agent bot conversations in supported third-party messaging apps. Use the Conversational Integration apps for Slack, Microsoft Teams, and Workplace that are available from the ServiceNow Store to configure these messaging apps on your ServiceNow instance.
Admin setup
- Install the Conversational Integration messaging apps, that are pre-built with ServiceNow Virtual Agent from the ServiceNow Store and then associate the app with your own ServiceNow instance.
For details, see Integrating Virtual Agent with messaging apps.
- Install the Conversational Integration apps for Slack, Microsoft Teams, and Workplace, LINE, Twilio, WhatsApp, Facebook Messenger, Alexa, Google Assistant, Amazon Connect, on your ServiceNow instance once they become available for installation after installing from the ServiceNow Store.
Figure 1. Channels and integrations - If needed, configure the system messages that users see in Virtual Agent conversations. You can also customize the common commands used in these messaging integrations.
Conversational interface in messaging integrations
The Virtual Agent interface for the Conversational Integration apps (Slack, Microsoft Teams, and Workplace) is similar to the web-based interface. However, there are some differences, such as commands used and how certain interface controls are displayed in these third-party messaging apps.
- Common commands in messaging integrations
Command Description Hi Begin a new conversation or end a conversation. agent Begin a new conversation or request a transfer to a live agent. bye Leave a live chat conversation at any time, for example before engaging with a live agent, during a live chat, or when live chat is about to end. help Displays a short list of useful commands. logout Unlink your ServiceNow account from a messaging integration. notification or notifications Subscribe to or unsubscribe from notifications. restart End the current conversation and begin a new one. After you install the integration, you can customize these commands by using the Configure button for the installed teams/communities in the channel specific pages.- Navigate to .
- In General Settings under Channels and integrations, click View All.
- On the Channels and integrations page, you can see the number of integrated channels and available channels for installation on your instance.
- Click the Manage button in the specific channel and navigate to the Settings tab.
- Click the view settings button against Contextual Actions.
- Select the command record to be changed and update as needed.
- Configuring Virtual Agent system messaging in the Conversational Integration apps
- You can modify the default messages displayed to your users in Virtual Agent and Agent Chat conversations. For details on customizing them, see Change Virtual Agent and Agent Chat system messages.
- Rendering of input controls and bot responses in conversations
- Input controls in Virtual Agent Designer, such as the Carousel render differently in bot conversations in messaging apps than in the web-based interface. For example, the Date Time picker control in Workplace presents buttons for users to select a date and time. Similarly, certain bot response controls, such as the Image response and Multi-response controls, also render differently in third-party messaging apps. For details on these differences, see the descriptions of the Virtual Agent Designer input controls, bot responses, and utilities.
- Attachments
- In live agent conversations, users and agents can upload and exchange any type of attachment file when prompted.
Now Assist support
| Existing channel integrations | Supports Now Assist | Supports synthesized response |
|---|---|---|
| Microsoft Teams/Copilot | Yes | Yes |
| Slack | Yes | Yes |
| Yes | No | |
| SMS/Twilio | Yes | No |
| IVR with Amazon Connect | Yes | No |
| AWS end user messaging | Yes | No |
| Workplace by Facebook | No | No |
| Facebook Messenger | No | No |
| Apple Business Chat | No | No |
| LINE | No | No |
| IBM Watson Assistant | No | No |
| Alexa | No | No |