With CloudCX, you can create multiple Web Chat flows used for Pre-Chat and Offline Message on Widgets.


Create a Web Chat Flow  

You can create a Flow either of your own or by selecting from the pre-built template.

Step-by-Step Instructions

  1. Go to your system CloudCX installation domain, and log in with the admin account.

  2. From the left navigation menu, go to Automation> Flow Builder  > Flows.

  3. Click on the “+” button to create a new flow.

1-20240918-080453.PNG
  1. Select Wait for incoming webchat message that will trigger your Web Chat flow. Then click Next.

2-20240918-090015.PNG
  1. The New Flow page appears. If you want to create a custom flow, you can click Create your own to create; If you'd like to collect lead info via the Flow, you can select the Lead Generation template, and click Create. To learn more on the templates, see Flow Templateshttps://cloudfon.atlassian.net/wiki/spaces/CX/pages/edit-v2/58261530#Flow-Templates. We'll take the Create your own flow as a sample.

7-20240923-031941.PNG

The Flow builder page is displayed with a Start Action. To learn more about these actions, see Flow Actions https://cloudfon.atlassian.net/wiki/spaces/CX/pages/edit-v2/316866647#Flow-Actions.

8-1-20240923-033202.png
  1. In the Flow builder page, you can do one of the following to customize your flow’s information:

image-20240923-040332.pngimage-20240923-040502.png
  1. You can upload an image for the flow avatar, create a name for the flow, and add the description for this flow.

image-20240923-085827.png
  1. You can do one of the following to add actions:

11-20240923-091421.PNGnote

The “!” in Start action, that means the Flow is not completed, you need to search the action with “x errors” and complete that action. When the Flow is completed, the “!” will be disappeared.

The “!” in Start action, that means the Flow is not completed, you need to search the action with “x errors” and complete that action. When the Flow is completed, the “!” will be disappeared.

12-20240923-091549.PNG
  1. When you select an action, you can do the following:

image-20240924-081446.png
  1. You can add flow actions based on your request, you can find more details about flow actions from Flow Actions https://cloudfon.atlassian.net/wiki/spaces/CX/pages/edit-v2/316866647#Flow-Actions.

  2. Now, you can click Publish to publish the Flow. After publishing this flow, you can select this flow when you enable Trigger a flow in Pre-Chat, Offline-Message, or when you add Go to Flow action in other flow.

29-20240925-021015.PNGnote

If the flow has been used in Pre-Chat, Offline-Message or other flow, you need to disassociate the belonging relationship of the flow, then you can Unpublish the flow.

If the flow has been used in Pre-Chat, Offline-Message or other flow, you need to disassociate the belonging relationship of the flow, then you can Unpublish the flow.

21-2-20240925-102227.PNG

Flow Actions

Your Flow building process revolves around the set of actions connected in a guided workflow, whether you build a custom flow or from a template. Only agents who have permission can use these Actions to build a Flow.

Send Content

Actions

Description

Send a message

This action allows you to send a message to the visitor. Each message supports adding buttons with URLs, the URL will be opened in a new window/tab.

Send an image

This action allows you to send an image file or URL to the visitor.

Send a menu

This action allows you to send a list of menu options for visitors to choose. The menu options remain in the chat window after visitors choose an option.

Send quick reply options

This action allows you to send quick reply options to the visitor. The quick reply options disappear from the chat window after visitors choose an option. 

In Send Content actions, you can do the following:

15-20240924-034309.PNG

Collect Info

Actions

Description

Collect name

This action allows you to collect the name of the customer. This data is saved to the variable "Name".

Collect email

This action allows you to collect the email address of the visitor. This data is saved to the variable "Email".

Collect phone number

This action allows you to collect the phone number of the visitor. This data is saved to the variable "Phone".

Collect company name

This action allows you to collect the company name of the visitor. This data is saved to the variable "Company".

Collect comment

This action allows you to collect comments from the visitor. This data is saved to the variable "Comment".

Collect variable data

This action allows you to collect custom information from the visitor and save it to a variable—for example, User Name. You can create any variable. The variable value will only exist when the current flow is alive in a chat.    

In Collect info actions, you can do the following:

image-20240924-064454.png19-0-20240924-071705.png

Flow Operations

Actions

Description

Transfer chat

This action allows you to transfer the chat to a specific agent, chat queue, or transfer the chat based on the Widget's routing rules.

Branch

This action allows you to set specific user paths for different conditional steps in the flow.

Go to Flow

This action allows you to transfer to another Flow when a present Flow is finished.

Let AI Agent answer

This action allows you to transfer to AI Agent. Click Set AI Agent live for chatto learn more.

Jump to

This action allows you to jump to the previous Step without having to achieve the goal by connecting the line backward.

In Flow Operations actions, you can do the following:

36-20240925-073922.PNGnote

If you select “use logic expression” to set routing rules, please note:

  1. Conditions need to be added before input expression, otherwise the system will prompt “Invalid logical expression.”

  2. The parentheses must come in pairs and be written as half-width.

  3. Or, And are not case sensitive. Space should be added before and after.

  4. The precedence of logical operators in order from highest to lowest is: (), And, Or.

  5. The number used in the expression must exist in the identifier number list.

  6. If you have 5 conditions, you can use Expression like (1 or 2 or 3) and (4 and 5). This expression means the branch will be triggered when any of the 1 to 3 conditions is met as well as condition 4 and condition 5 are met. The number here is the condition identifier number.

If you select “use logic expression” to set routing rules, please note:

  1. Conditions need to be added before input expression, otherwise the system will prompt “Invalid logical expression.”

  2. The parentheses must come in pairs and be written as half-width.

  3. Or, And are not case sensitive. Space should be added before and after.

  4. The precedence of logical operators in order from highest to lowest is: (), And, Or.

  5. The number used in the expression must exist in the identifier number list.

  6. If you have 5 conditions, you can use Expression like (1 or 2 or 3) and (4 and 5). This expression means the branch will be triggered when any of the 1 to 3 conditions is met as well as condition 4 and condition 5 are met. The number here is the condition identifier number.

image-20240924-072611.pngimage-20240924-073056.png

When the flow you set has multiple branches, and a customer who has completed one of the branch processes wants to return to the main menu to make a new selection, in addition to supporting you in manually reconnecting this step component to the main menu component, we also provide the "Jump to" method.

Drag out a "Jump to" component and click on it. At this time, you can select any component you want to return to, which maximally ensures the readability of the flow page.

54-20250328-064833.png

Advanced

Actions

Description

Set value

This action allows you to set values for Flow Variables, Custom Variables and Pre-chat Fields.

Send an email

This action allows you to send emails. For example, you can send the visitor's information to the company's lead collection email box.

HTTP Request

This action allows you to make an HTTP Request component that includes triggering a webhook and fetching variables.

Webhook

This action allows you to create a webhook request step that notifies the system about events that occur in an external system, and we will generate a URL that accepts POST calls with JSON-formatted payload.

In Advanced actions, you can do the following:

image-20240924-084207.png

21-1-20240924-091046.png