# Random Split Action

This action will be randomly triggered by a specific threshold. Use this action to create split tests or random chat flow splits in the conversation.

![](https://content.gitbook.com/content/tZEstFBYh3uMutlup6ku/blobs/SHb2aa6ogfKSPEt4Qv8H/image.png)

### Settings

The action uses the following settings:

| Setting         | Description                                                     | [Parsed](https://docs.mylinkconnect.com/actions-and-operations/dynamic-parsing) |
| --------------- | --------------------------------------------------------------- | ------------------------------------------------------------------------------- |
| Split Threshold | The chance of execution, expressed in a percentage from 1 to 99 | :no\_entry:                                                                     |

### Remarks

Each Random Split action will run on a single chance roll for every interaction executed. This means that you're not limited to a simple A/B split but you can mix and match multiple Random Split action to do A-to-N splits or even weighted splits.

This is a simple A/B split setup:

![](https://content.gitbook.com/content/tZEstFBYh3uMutlup6ku/blobs/3nQD7tGCKOHVD7iuRXgF/image.png)

Moving the splits percentages, you can obtain a weighted split:

![](https://content.gitbook.com/content/tZEstFBYh3uMutlup6ku/blobs/TB7IPPVF1eFvZlafXK9w/image.png)

Adding multiple splits you can achieve multiple path splits, even with weighted routes:

![](https://content.gitbook.com/content/tZEstFBYh3uMutlup6ku/blobs/Dn2Tw4x6mxZxTdxPeIsH/image.png)

MyLINK Connect will not enforce a 100% total on all splits. You can still have a given, single percent split and let the flow continue:

![](https://content.gitbook.com/content/tZEstFBYh3uMutlup6ku/blobs/kxZeABiTBQwynfVHDwvJ/image.png)

If the total of all the splits on an interaction amount to more than 100%, the splits that surpass it won't be executed.

### Trigger

Threshold Met. This action will trigger any child operation as the selected threshold value is met during the random roll.

### Variables

This action does not produce any variable.

### Availability

Channel specific availability follows the table below:

| Channel          | Availability     |
| ---------------- | ---------------- |
| Facebook         | Fully Available. |
| WhatsApp         | Fully Available. |
| Telegram         | Fully Available. |
| Web              | Fully Available. |
| Alexa            | Fully Available. |
| Google Assistant | Fully Available. |
| Slack            | Fully Available. |
| API              | Fully Available. |

This action can be used only inside interactions and not as child of other actions.&#x20;

### Further Reading

{% embed url="<https://www.xenioo.com/en/creating-split-test-driven-conversation/>" %}
