You can create virtual agents for the SMS channel, letting end-users perform self-service tasks with no human agent intervention. You can assign virtual agents to SMS queues in the same way you would assign human agents.
While the SMS channel supports Multimedia Messaging Service (MMS), MMS isn't supported in chat sessions with SMS virtual agents.
Before you begin
Before creating an SMS virtual agent, create a Dialogflow agent and integrate it with Contact Center AI Platform (CCAI Platform). For more information, see Create and integrate Dialogflow agents.
Create an SMS virtual agent
To create an SMS virtual agent, follow these steps:
Follow the instructions in Create virtual agents.
In the Add a Customer Support Agent dialog, for Support area selection, make the following selections:
For Channel, select Chat.
For Menu, select the SMS checkbox.
For Language, select the English (US) checkbox. English is the only language available for SMS virtual agents.
Assign an SMS virtual agent to a queue
To assign an SMS virtual agent to a queue, follow these steps:
Follow the instructions in Assign a chat virtual agent to a queue.
For step 2, in the SMS Messaging pane, click Edit / View.
Custom payloads
Virtual agents for SMS can use the same custom payloads as virtual agents for web chat and mobile chat. However, the SMS end-user experience differs from the web chat and mobile chat experiences in some cases.
End-user experience
The inline button is an example of a custom payload where the SMS end-user experience differs from the web chat and mobile chat experiences. The inline button payload for an SMS virtual agent renders as a numbered text menu. This lets the end-user choose an option by typing either the response number or the response itself.
The following is an example of an end-user's conversation with an SMS virtual agent. The conversation is formatted differently on the end-user's mobile phone.
SMS virtual agent: Hi. This is a virtual agent. How can I help you today?
End-user: I need help with my order
SMS virtual agent: Sure. I can help with that. Please select an option:
Get Order Status
Cancel Existing Order
Change Order Information
Reorder past purchases
End-user: 2
SMS virtual agent: You have selected to cancel order. Please provide your order ID.
End-user: 08978675
SMS virtual agent: This is an order for: Portable Monitor m253647. Are you sure you want to cancel this order?
Yes
No
End-user: Yes
SMS virtual agent: Your order: 08978675 for Portable Monitor m253647 is now canceled.
After hours deflections
You can configure to your instance to deflect after hours escalation attempts by SMS virtual agents or end-users. After an after-hours escalation attempt, the system sends a message to the end-user containing your SMS after hours message along with options for continuing or ending the chat session. For more information, see Hours of operation.
Configure after hours deflections
You configure after hours deflections by setting up an after hours message.
To configure after hours deflections, follow these steps:
In the CCAI Platform portal, click Settings > Queue. If you don't see the Settings menu, click Menu.
In the SMS Messaging pane, click Edit / View.
Click the queue that you want to edit.
For SMS Chat System Message, select the Enable after hour messages checkbox.
In the Write a message to be sent for after hours field, enter your after hours message.
Click Save.
End-user experience
The following table shows the interaction between an SMS virtual agent and an end-user after one of them attempts an after-hours escalation.
Action | Result |
---|---|
An SMS virtual agent or end-user attempts to escalate a chat session to a human agent after hours. |
The system sends a message to the end-user that contains the following:
|
The end-user selects option 1 by texting 1 . |
|
The end-user selects option 2 by texting 2 . |
|
The end-user selects option 3 by texting 3 . |
|