The Dynamic Options node displays a message with choices loaded from a variable at runtime. This allows you to present options from API responses, database queries, or other dynamic sources.
api.products or response.data)The options variable can be in any of these formats:
- Array of objects: [{"id": "opt1", "label": "Option 1"}, ...] (recommended)
- Array of primitives: ["Apple", "Banana", "Orange"]
- Object/Hash: {"key1": "Display Text 1", "key2": "Display Text 2"}
- JSON string: Any of the above formats as a JSON string (automatically parsed)
Note: Array index access (e.g., items.0 or items[0]) is not supported.
The selected option is stored as an object containing both the id and label:
You selected: {{nodeId.label}}
Option ID: {{nodeId.id}}
Message
handlebars
Required
The message to display to the user above the options.
Supports Handlebars syntax:
{{variable_name}}
Options Variable
variable
Required
The variable containing the options to display.
optionsVariable
variable
Required
Options Variable
The variable containing the options to display.
Supports dot notation for nested paths:
variable_name
api.body.products
results.0.items
Supported formats:
[{"id": "1", "label": "Option 1"}, ...]["Apple", "Banana", "Orange"]{"key1": "Value 1", "key2": "Value 2"}
This node stores its output in a variable that can be referenced in subsequent nodes using the {{variable}} syntax.
{{variable}}.id
string
Selected option ID
{{variable}}.label
string
Selected option label