All Products
Search
Document Center

Chat App Message Service:Random Branch

Last Updated:Mar 10, 2026

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

image

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.

    image

  • Create a new flow to go to the canvas page. For more information, see Create a flow.

Procedure

  1. Click the Random Branch icon on the canvas to view the configurations on the right.

    image

  2. Configure the component. For more information, see Parameters.

  3. Click Save in the upper-right corner. In the message that appears, click Save.

    image

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.

image

Probability

Enter the probability percentage for running this branch.

Important

The sum of the branch probabilities must equal 100.