Host Virtual Agent conversations on Twilio SMS to chat with virtual agent or live agents. Use the Conversational SMS Integration with Twilio app, available from the ServiceNow Store, to associate your instance with SMS Twilio.

Capturing information from a user in an SMS chat conversation

Conversational SMS Integration with Twilio enables users to initiate conversations with Virtual Agent by messaging your Twilio phone number.
Note: Do not use the same ServiceNowTwilioDirect or Twilio Notify phone number for Conversational SMS Integration with Twilio. Instead, use separate Twilio numbers for Conversational SMS Integration with Twilio and ServiceNowTwilioDirect.
Figure 1. Example SMS conversation with Virtual Agent
The user texts, "I have an issue." Virtual Agent asks for additional information and offers 4 choices for the user to select: Product issue, Order support, Billing, and Other.

If a bot transfers the conversation to a live agent, the agent can respond to SMS messages in Agent Workspace.

After you set up the Conversational SMS Integration with Twilio, you can create SMS conversation topics in Virtual Agent Designer. For more information on using the tool, see Getting started with Virtual Agent Designer

Supported controls

The Conversational SMS Integration with Twilio does not support all the available controls in Virtual Agent Designer.

The following user input controls are supported in Twilio SMS conversations:

For more information on configuring user input controls, see Virtual Agent Designer user input controls.

The following bot responses are supported in Twilio SMS conversations:
For more information on configuring bot responses, see Virtual Agent Designer bot responses.

Live agents can use the Text, Card, and Image response controls to reply to users in SMS conversations.

User subscriptions for SMS update notifications

Beginning with version 1.1.1, your users with ServiceNow accounts (sys_user profiles) can choose to start or stop receiving SMS updates in their conversations.
Note: Notifications in messaging channels can be sent to users with ServiceNow accounts. Other recipients, such as consumer and customer contacts, are considered to be guests and cannot receive notifications on messaging channels.
To comply with privacy regulations, user notifications are turned off by default. Users can opt in or change their settings in the following ways:
  • To check SMS notification settings for the account, send this text: Notification
  • To receive SMS notifications, send this text: START
  • To stop receiving SMS notifications, send this text: STOP
Figure 2. Changing SMS notification settings
The user enters "notifications" to view settings, which are currently on. The user enters STOP, and the bot unsubscribes them. When the user enters START, the bot confirms the re-subscription.

To learn more about Virtual Agent notifications, see Configuring Virtual Agent notifications.

For details about creating content for a messaging notification, see Define Virtual Agent notification contents.