Exploring Conversational SMS Integration with Twilio
Summarize
Summary of Exploring Conversational SMS Integration with Twilio
Conversational SMS Integration with Twilio enables ServiceNow users to engage Virtual Agent conversations via SMS by messaging a dedicated Twilio phone number. This integration facilitates initiating and continuing conversations through SMS, with seamless handoff to live agents who can respond within Agent Workspace. It is important to use separate Twilio numbers for this integration rather than sharing numbers used by ServiceNowTwilioDirect or Twilio Notify.
Show less
Supported Conversation Controls and Responses
The integration supports a subset of Virtual Agent Designer’s user input controls and bot responses tailored for SMS:
- User Input Controls: Text, Static Choice, Dynamic Choice, Boolean (e.g., yes/no), and File Picker (limited to image files only).
- Bot Responses: Text messages, Images, Links, and Cards presenting record information from the ServiceNow instance.
Live agents can use Text, Card, and Image responses to communicate with users during SMS conversations.
User SMS Notification Management
Starting with version 1.1.1, ServiceNow users (sysuser profiles) can opt in or out of receiving SMS update notifications for their conversations. Notifications are disabled by default to comply with privacy regulations. Users can manage their notification preferences by sending specific SMS commands:
- Send "Notification" to check current SMS notification settings.
- Send "START" to enable SMS notifications.
- Send "STOP" to disable SMS notifications.
Note that only users with ServiceNow accounts can receive these notifications; guest users such as consumer or customer contacts cannot.
Next Steps
After setting up the integration, ServiceNow customers can create SMS conversation topics using Virtual Agent Designer to customize the SMS chat experience. For detailed instructions, customers should refer to documentation on configuring the integration and Virtual Agent Designer usage.
Conversational SMS Integration with Twilio enables users to initiate conversations with Virtual Agent by messaging your Twilio phone number.
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 about using the tool, see Getting started with Virtual Agent Designer.
Capturing information from a user in an SMS chat conversation
Supported controls
The Conversational SMS Integration with Twilio does not support all the available controls in Virtual Agent Designer.
| User input control | Description |
|---|---|
| Text |
User enters a plain text string in the conversation. |
| Static Choice |
User selects an item from a predefined list. |
| Dynamic Choice |
User selects an item from a list that is created dynamically. For example, the user can select from a list of cases that they opened. |
| Boolean |
User enters a Boolean response to the bot. For example, the user can reply "Yes" or "No" in the conversation. |
| File picker | User sends a file to the bot. Note: Conversational SMS Integration with Twilio doesn't support all file types. Only images can be sent in an SMS conversation. |
For more information on configuring user input controls, see Virtual Agent Designer user input controls.
| Bot response | Description |
|---|---|
| Text | Bot sends a plain text string to the user. |
| Image | Bot sends an image to the user. |
| Link | Bot sends a web link to the user. |
| Card | Bot sends selected information from a record on your instance. |
Live agents can use the Text, Card, and Image response controls to reply to users in SMS conversations.
User subscriptions for SMS update notifications
- 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
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.