Skip to main content
Skip table of contents

Customer Widget Admin Guide

Expertflow develops a Customer Widget under Expertflow CX as a sample implementation of the web channel.

Customization of Customer Widget

Customers can start the chat by using the Customer Widget. Businesses can customize the widget as per their requirement.

The Customer Widget can be embedded on the client site with GTM (Google Tag Manager) or without GTM. See the following section to learn how to embed the widget.

With Google Tag Manager

Customer Identification by using GA (Google Analytics)

When the Customer Widget is deployed via Google Tag Manager, the customer is identified by a unique customer identifier (fetched from the browser cookie). The system fetches GA Unique ID from the browser cookie as a customer channel identifier. GA Unique ID can only be available if a Google Analytics account is integrated. To identify customers via Google Analytics, see Customer Widget Deployment Guide => Customer Identification via GA.

Direct Embed in the Website:

Customer Identification by Channel Identifier

When the Customer Widget is embedded within the customer website, the customer is normally identified by the customer channel identifier field created in unified-admin’s pre-conversation form and this field contains the value of a cookie like Mautic (mtc_id), GA (_ga), or any other third party marketing tool. If and when the customer initiates the chat, this field gets populated with available cookie value and it remains the same until and unless the Cookie expires or is removed, the system will identify and link the chat with that conversation.

Create a Customer Widget in Unified Admin

The Business administrators can create customized Customer Widgets and that customization can be fetched in Customer Widget applications using a unique Widget Identifier eg: “Web“. This identifier is case-sensitive.

The following configurations can be created in the unified-admin => Customer Widget component as per their requirements:

Widget Identifier

Case Sensitive Identifier(not editable)

Widget Title

Title

Widget Subtitle

SubTitle

Pre Conversation Form

Select pre-conversation Form

Dynamic Form coming from Unified-admin’s form component.

Language

Change Widget Language

Theme Color

Choose Theme Color

Enable Emoji

Enable/Disable Emoji

Enable File Transfer

Enable file transfer

Enable Font Resize

Enable Font Resize

Enable Dynamic Link

Enable Download Chat Transcript

Download Chat Transcript

Enable Web-RTC

Enable Web-RTC and Fill the configuration to start Voice Calls

Note: Refer to the RTC Team for FS Configurations.

Enable Callback

Enable Callback with ECM and fill the following fields to schedule Callback Requests

Note: Currently callback is only supported with Expertflow’s ECM.

Enable Webhook Notification

Notification via Google Chat Webhook

Pre-conversation Form in Unified Admin

Business Administrators can create and customize the pre-conversation form in the Unified-Admin Console.

Customer Identification in CX:

When identifying customers during the pre-conversation process, a specific field needs to be created in Unified Admin, and that is the Pre-conversation Form. The default choice is the 'Phone' field, serving as the Channel Customer Identifier. However, Business Administrators can customize this according to their business needs.

To set up customer identifiers in CX for Web Chat,

  • Ensure you have at least one required field in the pre-conversation form, such as 'Phone' or 'Email'.

  • When creating a new required field, like 'First Name', just input the label as 'First Name' in the Attribute Name.

  • The system automatically generates an Attribute Key in lowercase, replacing spaces with underscores. For instance, the Attribute Key for 'First Name' will be 'first_name', and for 'Phone', it will be 'phone', and it is case-sensitive.

  • Use the auto-generated key of the chosen field as your customer identifier in the 'ef-customer-widget-configmap.yaml' file.

  • By default, the 'phone' key is defined in 'CHANNEL_IDENTIFIER' as the customer identifier in the 'ConfigMaps/ef-customer-widget-configmap.yaml' file, but you can easily replace it with your preferred choice.

image-20240104-105251.png

Below is the Screenshot for understanding:

image-20241030-122014.png

Customer Name in Conversation View

To ensure personalized interactions in the unified agent conversation view, it is mandatory to create a 'First Name' field for customer naming. The key for this field should be 'first_name', and it is case-sensitive.

While the 'First Name' is compulsory, other fields can be tailored based on business requirements.

For instance, the 'Last Name' field, with the key 'last_name' is optional. If provided, the customer's name in the conversation view will display both the first name and last name, creating a more comprehensive and personalized engagement.

  • First Name → first_name (Compulsory and Case Sensitive)

  • Last Name → last_name (Optional)

Below is the Screenshot for understanding:

image-20241030-122330.png

Below is the sample pre-conversation form Screenshot for understanding:

image-20241030-123732.png

Once the pre-conversation form is created just select that form from the Customer Widget configuration setting to render it on the Customer Widget.

image-20240104-092328.png

Pre-conversation form selected from Customer Widget settings

Below is the actual pre-conversation form rendering on the Customer Widget user interface:

image-20240104-092701.png

Pre-Conversation Form fields validation patterns for each Question in the Customer Widget

Attribute

Allowed Pattern

Min/Max

Screenshots

AlphaNumeric

Only alphabets and numbers are allowed. Spaces are also permitted.

{1 - 100}

image-20241029-134814.png

AlphaNumericSpecial

Only alphabets, numbers, and special characters like _@.,;:~=*'%$!^/#&+()?{}><|- are allowed.

{0 - 200}

image-20241029-135042.png

Email

A valid email address format is required. It includes letters, numbers, dots, and special characters like +, -, and _ followed by @ and a domain name.

Examples:

  1. john.doe+123@example.com

  2. john.doe_123@example.com

{0 - 100}

image-20241030-074851.png

URL

A valid URL format, including the protocol (http, https, etc.), domain, and optional paths, parameters, or fragments.

Examples:

  1. https://www.google.com/search?q=openai

  2. http://www.wikipedia.org/wiki/Main_Page

{0-500}

image-20241030-075218.png

IP

Valid IPv4 and IPv6 addresses are allowed. IPv4 addresses consist of four decimal numbers separated by dots, while IPv6 addresses are hexadecimal numbers separated by colons.

Examples:

  1. IPV6 address: 2001:0db8:85a3:0000:0000:8a2e:0370:7334

  2. IPV4 address: 192.168.0.1

{0-150}

image-20241030-080252.png

Number

Allows positive and negative numbers, as well as decimals.

{0-100}

image-20241030-081850.png

Password

This pattern enforces the following password requirements:

  1. At least one lowercase letter (a - z)

  2. At least one uppercase letter (A - Z)

  3. At least one digit (0 - 9)

  4. Only allows lowercase letters, uppercase letters, digits, and spaces

  5. Length: The password must be at least 8 characters long and no longer than 256 characters

Examples:

  1. Password123

  2. SecurePass 2024

{8 - 256}

image-20241030-082911.png

Positive Number

Allows only positive numbers.

{0-100}

image-20241030-083152.png

Phone Number

Allows only numbers. A + sign is optional at the start.

  1. +123

  2. 123

  3. +123.456

  4. 123.456

  5. .456

  6. +92 312 1231234

  7. +92-32-1231234

None

image-20241030-085728.png

Short Answer

Text allowed

{1 - 100}

image-20241030-100400.png

Paragraph

Text allowed

{1 - 2000}

image-20241030-100841.png

Date

Date Format by default

dd-mmm-yyyy

For example: 17-Oct-2024

N/A

image-20241030-101126.png

Time

Time Format by default

HH:MM AM/PM

For example: 03:15 PM

N/A

image-20241030-101500.png

Date & Time

Date and Time format by default

DD-MMM-YYYY HH:MM AM/PM

For example: 30-Oct-2024 03:17 PM

N/A

image-20241030-101741.png

File

N/A

Only system supported file types are allowed and you can restrict amongs the supported file types in form builder.

N/A

image-20241030-102225.png

Yes/No

N/A

Emojis currently not supported in pre-conversation forms

N/A

image-20241030-102357.png

Multiple Choice Question

N/A

N/A

image-20241030-102745.png

Dropdown

N/A

N/A

image-20241030-102932.png

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.