The random branch component directs a flow to a random branch based on a defined probability. Use it to send diverse messages or perform A/B testing.
Component information
|
Icon |
Name |
|
|
Random Branch |
Prerequisites
To configure this component, access the flow canvas by using an existing flow or creating a new one.
Go to the canvas of an existing flow
In the
Create a new flow to open its canvas. For more information, see Create a flow.
Procedure
-
Click the Random Branch component icon on the canvas to open the configuration panel on the right.
In the Branch Settings section of the configuration panel, set the probability for Branch 1 to 50% and for Branch 2 to 50%. The sum of probabilities for all branches must be 100%. To add more branches, click + Add Branch. When you are finished, click Save in the upper-right corner.
-
For more information about the parameters, see Parameters.
After you finish the configuration, click Save. In the dialog box that appears, click Save.
Parameters
Click Add Branch to add more branches. You can add up to five branches. The following table describes the parameters.
|
Parameter |
Description |
|
Branch name |
Click the branch name to customize it. |
|
Probability |
The percentage probability that the flow enters this branch. Important
The sum of the probability percentages for all branches must be 100%. |