Random
Random
Run one of several branches, picked by weight
Fields
| Field | Type | Required | Description |
|---|---|---|---|
branches | array of {id, weight, steps}, 1-20 entries | yes | weight must be > 0. Exactly one branch is picked, weighted by weight. |
Example
{
"id": "01H8XGJVBWX7Y5Z3K9M2N4P6Q1",
"type": "random",
"branches": [
{
"id": "01H8XGJVBWX7Y5Z3K9M2N4P6Q2",
"weight": 1,
"steps": []
}
]
}Updated about 14 hours ago
Did this page help you?
