> ## Documentation Index
> Fetch the complete documentation index at: https://docs.jelou.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Random

> Distribute the conversation across multiple routes based on probabilities

The **Random** node works as a traffic distributor: it sends each conversation along a different route based on the percentages you configure. It is ideal for A/B testing, load balancing, or adding variety to responses.

## Configuration

<Steps>
  <Step title="Create the routes">
    Click **"New route"** to add paths. Each route needs:

    * **Name**: A descriptive identifier (for example, "Version A", "Formal response")
    * **Percentage**: The probability that this route will be selected (0–100%)
  </Step>

  <Step title="Adjust the distribution">
    Define the percentages for each route. The total must add up to exactly **100%**.
  </Step>

  <Step title="Connect the following nodes">
    Each route has a connection point on the right. Drag a line from each point to the node that should execute on that route.
  </Step>
</Steps>

<Warning>
  **Invalid distribution**: if the total of percentages does not add up to 100%, the node will show an alert indicating the current percentage.
</Warning>

## Validation

The node shows the distribution status in real time:

* **Valid distribution** (green): percentages add up to exactly 100%
* **Invalid distribution** (yellow): percentages do not add up to 100%, showing the current total

## Reordering routes

You can reorder routes by dragging them with the grab icon (⠿) that appears to the left of each route.

## Usage example

### A/B testing

Distributing users between two versions of a message to evaluate which one performs better:

| Route             | Percentage |
| :---------------- | :--------- |
| Message version A | 50%        |
| Message version B | 50%        |

### Response variety

Making the conversation feel more natural by alternating between different styles:

| Route               | Percentage |
| :------------------ | :--------- |
| Formal response     | 40%        |
| Casual response     | 40%        |
| Response with emoji | 20%        |
