tencent cloud

Option Node
Last updated:2025-08-18 17:09:00
Option Node
Last updated: 2025-08-18 17:09:00

Node Function

Option Node belongs to Information Collection Node, supporting asking users and collecting information through tab format, suitable for situations with clear and limited options. Workflow execution will be interrupted for user interaction.




Directions

Input Variables

Input variables take effect only within the same node and cannot be used cross-node. Support up to 50 input variables to meet scene requirements. Click "Add" to configure input variables as follows.
Configuration
Description
Variable Name
The variable name can only contain letters, digits, or underscores, must start with a letter or underscore, and is mandatory.
Description
Description of this variable. Optional.
Data source
The data source of this variable supports two options: "refer" and "input". "Refer" allows selecting output variables from all preceding nodes, while "input" supports manually filling in a fixed value.
Type
The data type of this variable cannot be selected and defaults to the variable type "refer" or the string type "input".

Guide words

Support guidance on the configuration tab to ask or prompt user. The prompt input box supports referencing the node's input variable by entering "/".

Option Setting Method

Support "Manual Content Setting" and "Dynamically pull variable values".
Configuration
Description
Manual Content Setting
Enter fixed options in the input box for option content. The input box supports referring to the input variable of that node by entering "/". Up to 20 options can be added.
Dynamically pull variable values
Support using array<string> type variables as options, displaying the corresponding number of options at runtime based on variable values. Support selecting array<string> type output variables from all preceding nodes.
Others
The system default provides an "Other" option. When users answer questions through dialogue but the response does not match the configured options, the "Other" option is selected.

Output Variable

The output variable processed by this node by default includes the option number selected by users and the option content as two variables, as well as runtime error info Error (data type is object, this field is empty when running normally). Manual addition by users is not supported.




Application Example

When handling user product inquiries, use the tab node to collect the problem type, offering three options: "Pre-sales product inquiries", "After-sales service", and "Logistics tracking".




User Interaction Format

Option have two interaction forms on the user end.
1. Mouse click: Select the necessary option on the tab, and the system will automatically identify and circulate backward.



2. Natural language expression: Input natural language in the dialog box, and the system will automatically identify semantics and match the corresponding option. If matched to an option, it will circulate backward with this option; if not matched, it will circulate backward with the "Other" option.




FAQs

Dynamically pull variable values as options, which will only serve as a branch option. It is advisable to subsequently connect "conditional branching, intent judgment" and other nodes after "dynamic pull" to enable judgment-based diversion based on business needs.




Was this page helpful?
You can also Contact Sales or Submit a Ticket for help.
Yes
No

Feedback