This guide is for Flex UI 1.x.x and channels that use Programmable Chat and Proxy. If you are using Flex UI 2.x.x or you are starting out, we recommend that you build with Flex Conversations.
Flex supports various messaging channels, including SMS, Web Chat and WhatsApp. Using Flex, a contact center agent can handle multiple messaging tasks at one time.
Flex provides multiple features that help agents handle messaging channels more efficiently, like:
Customer presence indicator allows agents to see a Web Chat customer's connection status (online or offline) in real-time.
To use the Customer Presence feature, you need to turn on a Reachability Indicator in your Programmable Chat service instance. If Customer Presence doesn't display an online status, make sure you have the Reachability Indicator turned on.
Agent Desktop view
Agents see a customer presence indicator in the Task List and Task Canvas Header. The indicator is a green icon if the customer is online, and a gray one if the customer is offline.
Teams View
When monitoring Web Chat tasks, a supervisor can see a customer presence indicator in the Task Canvas Header.
Agents see a typing indicator in the Task List and in the Messaging Canvas if a participant (customer or another agent) of a Web Chat channel is typing.
Markdown support allows agents to format Web Chat messages. This can improve the readability of longer messages. Using bold text, italics, or bulleted lists creates structure and emphasis in your agents' messages and ensures that customers can better read and understand messages.
Starting with @twilio/flex-ui@1.26.0, Markdown is a Generally available feature that you can turn on from the Opt-in features page in Twilio Console.
Additionally, the Web Chat user must be using WebChat v2.2 or later to see markdown-formatted messages.
Markdown support configuration for customers is turned off by default. You can turn it on using the following configuration option:
1markdownSupport: {2enabled: true,3},
Agents can add Markdown to their messages by using Flex standard syntax.
Options | Syntax |
---|---|
Bold | **Bold** |
Italic | *Italic* |
Strikethrough | ~Strikethrough~ |
Bullet list | * List * List * List |
Ordered list | 1. List 2. List 3. List |
Blockquote | >blockquote |
Code block | `code block` |
Agents can also send messages using Flex Markdown syntax to the Chat channel with the Programmable Chat REST API. API-generated messages show as formatted text for Flex and WebChat users.
In-app and browser notifications help agents respond to tasks that require their attention in a timely manner. Notifications improve response time and help create a smooth customer experience.
Agents are notified of the following activity regarding messaging tasks:
Starting with @twilio/flex-ui@1.26.0, browser notifications is a Generally Available feature that you can turn on from the Opt-in features page in Twilio Console.
If a new messaging task comes in while an agent isn't viewing the Agent Desktop, an in-app notification appears in a status bar below the header.
The agent can accept or reject the new task from the notification.
In addition to in-app notifications, a badge also appears on the side navigation to indicate that new tasks are available.
Agent receives a browser notification if:
Enabling browser notifications
Flex prompts agents to turn on browser notifications each time they log in or refresh the page. Once they choose to allow or block browser notifications, the prompt no longer appears.
Flex UI also provides an interface for developers to customize in-app and browser notifications. Find out more about the Flex Notifications Framework.
Flex displays an unread message count in the task list to indicate whether an agent has any unread messages in an active messaging task. This allows the agent to see if there's been any activity in the messaging task without clicking on the task itself.
If there are new unaccepted tasks or unread messages in any active messaging tasks in the Agent Desktop view, the side navigation shows a badge without a count.