With CloudCX, you can create one WhatsApp flow used for each WhatsApp account.


Create a WhatsApp 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 WhatsApp message that will trigger your WhatsApp flow. Then click Next.

22-20240924-095705.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.

23-20240924-095839.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/316997797#Flow-Actions.

image-20240924-095933.png
  1. In the Flow builder page, click the flow name on the top right to customize your flow’s information. You can create a name for the flow, and add the description for this flow.

25-20240924-101304.PNG
  1. Click the Start action to select a WhatsApp account for this flow. If there is no account can be selected, click Setup a WhatsApp Channel Account switch to Inbox > Channel > WhatsApp to add WhatsApp account first, you can find more details from WhatsApp 3.1.4 WhatsAPP.

24-0-20240924-102001.png
  1. You can do one of the following to add actions:

26-20240924-103621.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.

27-20240924-103640.PNG
  1. When you select an action, you can do the following:

image-20240924-103814.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/316997797#Flow-Actions.

  2. Now, you can click Publish to publish the Flow. After publishing this flow, this flow will be triggered when a customer sends messages to this WhatsApp account.

28-20240924-104434.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 WhatsApp message

This action allows you to send a message to the visitor. The message including Text, Media, Interactive, Template.

In Send Content actions, you can do the following:

30-2-20240925-022848.png31-0-20240925-032430.png32-0-20240925-034908.png33-1-20240925-024438.pngnote

All the templates are collect from your WhatsApp account, if there is no template can be selected, you need to go to Meta WhatsApp Manager > message templates > Manage templates to create.

All the templates are collect from your WhatsApp account, if there is no template can be selected, you need to go to Meta WhatsApp Manager > message templates > Manage templates to create.

Collect Info

Actions

Description

Wait for a response

(Deprecated)

This action allows you to collect customer responses and assign the response to a variable value.

Flow Operations

Actions

Description

Reassign Ticket

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

Branch

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

Date/Time

This action allows you to control flows based on time and date.

Let AI Agent answer

This action allows you to transfer to AI Agent. Click Set AI Agent live for chat to 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:

image-20240925-071520.png36-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.

40-20240925-075603.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.

55-20250328-065327.png

Advanced

Actions

Description

Set value

This action allows you to set values for Flow Variables, Custom Variables and Ticketing 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:

Fields

Description

Subject

Ticket Subject.

Priority

Select the priority of Ticket from the drop-down list.

Status

Select and set the status of Ticket from the drop-down list.

Custom Ticket Variable

Custom Ticket variables.

image-20241224-035910.png

You can use the "Ticket Status" variable in Set Value to set the Ticket as resolved without the need for manual operation by the Agent when the customer fails to reply within the time limit or when the flow ends.

image-20240925-082256.png