How to use it
- Add it from DataOpen the node library and choose Random choice from Data.
- Connect the workflow pathConnect Flow in from the previous step and Flow to the next step.
- Choose settings and connect valuesSet Choices. Connections can also supply values produced by earlier nodes.
Settings
These are the options shown when you add this node. A connected value can replace a setting when the workflow runs.
| Setting | Starting value | What it controls |
|---|---|---|
| Choices | 2 configured items | Lists the values this node can choose from. |
Value connections
Value connections pass information between nodes without changing the order of the workflow. When an input is not connected, BotFrame uses the value selected in the node or details from the starting Discord event when available.
Inputs
This node has no value inputs; use its settings to choose what it should do.
Outputs
What happens when it runs
Add at least one choice. The node selects one item from the list and makes the selected value available through its output.
You can use this item in a published BotFrame workflow. You can also test it in the simulator.