Skip to main content
Unlisted page
This page is unlisted. Search engines will not index it, and only users having a direct link can access it.

Decision

A decision node represents multiple options that the user can choose from. Each option leads to a different node. Visually is represented as a list of buttons, normally in vertical orientation.

{
"type": "Decision",
"actions": [
{
"id": <string>, // action id
"type": <string>, // The action type can be "forward" for now.
"name": <string|translationObject>, // action name
"title": <string|translationObject>, // action title
"nextStageId": <string>, // next stage id
"variant": <string>, // Visual variant of the action, can be "primary" or "secondary"
},
...
]
}