Parameter collection node
This document explains how to configure the parameter collection node in process management and includes an application example.
Introduction
The parameter collection node defines the key information that a bot collects. This information is stored as parameter values, which can be used in subsequent workflow steps for conditional branching or in bot replies.

Procedure
Node Name: You can change the node name. The system provides a default.
Parameter Selection: Choose between two modes:
prompt modeandcustom mode.NoteIf a context parameter has the same name as a parameter you want to collect, the system directly assigns the value from the context parameter and skips the collection step.
prompt mode: Use a single prompt to define the information the bot must collect.
Parameter
Click Add Parameter to select and add a pre-configured parameter.
For details on how to configure parameters, see Parameters.
Parameter description
Defaults to the parameter description from the knowledge base - API plugin section.
Value source
The value of an API parameter can come from one of three sources:
fixed value,reference, ormodel recognition.fixed value: The parameter's value is a static text string. You assign this value by setting the text and the parameter name.

reference: Use a value from one of the following sources:
Input/output parameters of the API plugin
system preset parameters
context parameters (parameters passed during the conversation).
If a context parameter with the same name as an API parameter is passed, the system automatically uses its value and skips collecting it through the conversation.
NoteWhen the current node is a
parameter collection nodeand value source is set to reference, you can add a parameter source. You can then select a parameter collected in the current workflow as the Parameter.
model recognition: The bot proactively interacts with the user in natural language to collect the required parameter information and adds it to the API request.
Required
Check this option to mark the parameter as required. The system must collect a required parameter before executing subsequent actions.
NoteParameter collection prompt: When you select
prompt mode, you can provide a sample dialogue to help the bot collect the parameters.custom mode: Sequentially processes parameters. It directly assigns values for parameters with a value source of
fixed valueorreferenceand individually collects parameters with a value source ofmodel recognition. You can configure specific inquiry and reconfirmation prompts for each parameter.Parameter
Click Add Parameter to select and add a pre-configured parameter.
For details on how to configure parameters, see Parameters.
Parameter description
Defaults to the parameter description from the knowledge base - API plugin section.
Value source
The value of an API parameter can come from one of three sources:
fixed value,reference, ormodel recognition.When the value source is fixed value, the parameter's value is a static text string. You assign this value by setting the text and the parameter name.

When the value source is reference, the parameter value comes from one of the following sources:
Input/output parameters of the API plugin
system preset parameters
context parameters (parameters passed during the conversation).
If a context parameter with the same name as an API parameter is passed, the system automatically uses its value and skips collecting it through the conversation.
NoteWhen the current node is a
parameter collection nodeand value source is set to reference, you can add a parameter source. You can then select a parameter collected in the current workflow as the Parameter.
When the value source is model recognition, the bot proactively interacts with the user in natural language to collect the required parameter information and adds it to the API request.
Standard collection method

Interactive collection method

Required
Check this option to mark the parameter as required. The system must collect a required parameter before executing subsequent actions.
Model configuration: Currently supports Tongyi Xiaomi-plus. You can adjust the model's
temperature,maximum reply length,Top-K, andTop-P.temperature: Controls the randomness of the output. A lower value results in more deterministic and precise responses, while a higher value encourages more creative and diverse outputs.
maximum reply length: Sets the maximum length of a single generated response. The model stops generating content once this limit is reached.
Top-K: Selects from the top K candidate tokens with the highest probability, filtering out low-probability tokens based on a fixed count.
Top-P: Selects from the smallest set of candidate tokens whose cumulative probability reaches the threshold P. It dynamically adjusts the candidate range to balance accuracy and diversity.

Semantic VAD wait time: When enabled, the system analyzes the recognized content to determine if the user's utterance is semantically complete. It then adjusts the waiting duration accordingly to reduce interruptions and awkward silences.
Branch condition: When this option is enabled, the bot evaluates branch conditions sequentially. If a condition is met, the workflow proceeds to the corresponding node.
Application example
Scenario: In an integrated scenario involving multiple nodes in a single workflow (including a bot reply node, a parameter collection node, and a call plugin node), a user inquires about on-site repair service. The bot collects the user's phone number and creates a ticket.
The example workflow is as follows:

Configuration steps
Create a new process to open the workflow canvas.
Add an
intent edgethat triggers this workflow when a user requests on-site repair service.
Example intent: The user wants on-site repair service.
Add a
bot reply nodeto ask for the user's phone number.
For details on how to configure a bot reply node, see bot reply node.
Add a
parameter collection nodenamed "Phone number collection" and select custom mode:Click Add Parameter and select
userPhone.Set the value source to model recognition.
Select the Required checkbox.

Click Configure to set up parameter recognition:
Set the Inquiry Method to prompt.
Add the inquiry prompt as shown in the figure below, and include a context parameter.
Add the command
System_CollectNumber. When the bot needs to collect the phone number, it sends theCollectNumbercommand to bring up the user's phone keypad.Enable the Parameter Reconfirmation switch so that the bot reconfirms the phone number.

Add a
parameter collection nodenamed "Phone number confirmation". Configure the parameter selection as described previously, and then add branch conditions:If the phone number is incorrect, the user can provide a new one.

If the phone number is correct, the user confirms it.


After the user confirms the phone number, add a
call plugin nodeto create a ticket, then add abot reply nodeto end the workflow.
For details on how to configure these nodes, see call plugin node and bot reply node.
Demonstration








