Dropdown
Creates a dropdown list for user selection in chat interfaces.
Common Properties
- Name - The custom name of the node.
- Color - The custom color of the node.
- Delay Before (sec) - Waits in seconds before executing the node.
- Delay After (sec) - Waits in seconds after executing node.
- Continue On Error - Automation will continue regardless of any error. The default value is false.
info
If the ContinueOnError property is true, no error is caught when the project is executed, even if a Catch node is used.
Inputs
- ID - The unique identifier for the dropdown list.
Options
- Options - An array of text options for the dropdown list.
- Custom Options - An array of custom option objects with additional properties.
Output
- Payload - The response object containing information about the user's dropdown selection.
How It Works
The Dropdown node creates an interactive dropdown list in chat interfaces. When executed, the node:
- Creates a dropdown list with the specified options
- Displays the dropdown list in the chat interface
- Waits for user interaction with the dropdown
- Returns a payload with information about the user's selection
Requirements
- A valid chat interface or messaging platform
- Properly configured dropdown options or custom options
Error Handling
The node will return specific errors in the following cases:
- Empty or invalid ID
- Invalid option format
- Issues with custom option objects
- Communication errors with the messaging platform
Usage Notes
- Dropdown lists allow users to select one option from a list
- The payload output contains information about which option was selected
- Dropdown lists are useful for collecting user preferences or choices
- Both Options and Custom Options can be used together to define the dropdown items
- Custom Options allow for more complex option configurations