This topic describes how to configure the Random Branch component. This component controls the flow to enter a randomly selected branch based on probability. It can be used to send diverse messages or conduct A/B testing.
Component information
Icon | Name |
| Random Branch |
Preparations
Go to the canvas page of an existing flow or a new flow.
Go to the canvas page of an existing flow.
Log on to the . Choose Chat Flow > Flow Management. Click the name of the flow that you want to edit. The canvas page of the flow appears.

Create a new flow to go to the canvas page. For more information, see Create a flow.
Procedure
Click the Random Branch icon on the canvas to view the configurations on the right.

Configure the component. For more information, see Parameters.
Click Save in the upper-right corner. In the message that appears, click Save.

Parameters
Click Add Branch to add a branch. A maximum of five branches are allowed. The following table describes the branch parameters.
Parameter | Description | Example |
Branch Name | Click a branch name to customize the name. |
|
Probability | Enter the probability percentage for running this branch. Important The sum of the branch probabilities must equal 100. |
