# How to use the Random Split feature?

With the Random Split feature, divide users into random groups to run tests, optimize your journey or set up a control group logic. Let's go through the steps together :sparkles:

{% stepper %}
{% step %}

## Add a trigger event and a Random Split

Select your trigger event, then add a Random Split at any step of the omnichannel trigger automation.

To do so, simply click on the **+** button and select **Yes/No Split:**

<figure><img src="/files/COVMissojvilxsR146IA" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}

## Customize the branches

Customize the branches as you wish!&#x20;

Click on the **+** button again to add messages, delays, exit events or another split:

<figure><img src="/files/G5ND9IXX599FPLl87ZIg" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}

## Adjust the percentages

Create from 2 to 4 branches and adjust the percentage of users for each of them. Just keep in mind that the sum of branches must always be 100%.

<figure><img src="/files/f35ErCXWvJWWpJ6sSGdJ" alt=""><figcaption></figcaption></figure>

{% hint style="warning" %}
The algorithm for randomization is **efficient for high volumes** but less so for very low volumes. If 30 people receive the automation and the automation has 3 branches (33%, 33%, 34%), you might not have exactly 10 people by branch.
{% endhint %}

🔍  With this feature, automations can get a lot bigger: to get a better overview, use the **mini-map** at the bottom-left corner of your screen to navigate and zoom in and out in the automation:

<figure><img src="/files/2NeVJ4xTj8zwjmwgBFJr" alt=""><figcaption></figcaption></figure>
{% endstep %}
{% endstepper %}

You are now ready to create your own journey using the Random Split feature :rocket:


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://doc.batch.com/guides-and-best-practices/orchestration/how-to-use-the-random-split-feature.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
