Parameter collection node
This document describes how to configure the Parameter Collection node in process management and provides an application example.
Overview
A Parameter Collection node defines and collects key information from a user, storing it as a parameter value. Subsequent steps in the process can then use this value for conditional logic or in replies.

Configuration
Node name: A default node name is provided, which you can change to suit your business requirements.
Parameter selection: Two modes are available:
prompt modeandcustom mode.NoteIf a contextual parameter has the same name as a target parameter, its value is used directly, and the collection process for that parameter is skipped.
Prompt mode: Define the bot's collection requirements for this node by using a prompt.
Parameter
Click Add Parameter and select a pre-created parameter.
For more information about how to configure parameters, see Parameters.
Parameter description
The parameter description defaults to the explanation provided in the API plugin's knowledge base.
Value source
The value source for an API parameter supports three types:
fixed value,reference, andmodel recognition.Fixed value: The parameter is assigned a static text value that you specify.

Reference: You can reference a parameter value from three sources:
Input/output parameters of an API plugin.
System preset parameters.
Contextual parameters (parameters passed during the conversation).
If a contextual parameter with the same name as an API parameter is passed in, the system automatically uses the passed-in value and does not collect it through the conversation flow.
NoteIf you set the
value sourcetoreferencein a Parameter Collection node, you can add a parameter source option. This allows you to select a parameter that was collected earlier in the current process.
Model recognition: The bot converses with the user to collect the required information and populate the API request.
Required
Select this checkbox to make the parameter mandatory for subsequent actions.
NoteParameter Collection Prompt: When in prompt mode, you can provide sample conversations for parameter collection to help the bot complete the collection.
Custom mode: Parameters are processed in their defined order. For parameters with a
value sourceoffixed valueorreference, their values are assigned directly. For parameters with avalue sourceofdialog recognition, they are collected one by one. You can configure aninquiry promptandreconfirmation promptfor each parameter.Parameter
Click Add Parameter and select a pre-created parameter.
For more information about how to configure parameters, see Parameters.
Parameter description
The parameter description defaults to the explanation provided in the API plugin's knowledge base.
Value source
The value source for an API parameter supports three types:
fixed value,reference, andmodel recognition.When the
value sourceis fixed value, the parameter is assigned a static text value that you specify.
When the
value sourceis reference, you can reference a parameter value from three sources:Input/output parameters of an API plugin.
System preset parameters.
Contextual parameters (parameters passed during the conversation).
If a contextual parameter with the same name as an API parameter is passed in, the system automatically uses the passed-in value and does not collect it through the conversation flow.
NoteIf you set the
value sourcetoreferencein a Parameter Collection node, you can add a parameter source option. This allows you to select a parameter that was collected earlier in the current process.
When the
value sourceis model recognition, the bot converses with the user to collect the required information and populate the API request.Parameter
Description
Basic configuration
Parameter name
The name of the parameter field to be collected. It identifies the parameter's meaning in the request. Examples:
Address,Phone,CarNumber.Parameter description
Describes the parameter's meaning, format, and business requirements. This description helps the model understand what to collect.
Parameter collection method
Supports Standard Collection and Interactive Collection methods. The standard method is suitable for identifying parameters from a single user input. The interactive method is used for scenarios where a parameter is missing, incomplete, or requires follow-up confirmation. It includes collecting information for phone numbers, license plate numbers, and addresses.
Advanced configuration
Maximum inquiry attempts
Sets the maximum number of times the bot can ask for the same parameter. If this limit is exceeded, the bot stops asking and proceeds to fallback processing.
Set parameter value after maximum inquiries
The value assigned to the parameter if the user fails to provide valid information within the maximum number of attempts. You can configure it as a null value, a default value, a fixed text string, or a business-specified value to ensure the process continues to execute.
Standard Collection method
Parameter
Description
Inquiry method
Supports Prompt and Fixed Utterance methods. Use these to configure how the bot follows up when a parameter is missing, incomplete, or requires confirmation.
Inquiry prompt
The text the bot uses to ask the user a question when a parameter is missing or not fully recognized.
Collection rules
Defines collection criteria, such as whether the parameter is required, its format, completeness, and if ambiguous values are allowed. The bot uses these rules to validate the user's input.
Select command
Commands are used for integrating external systems with the bot conversation, such as a
transfer to agent command. When replying, the bot also sends the command as a contextual parameter, which the external system can then use.Parameter reconfirmation
If enabled, the bot asks the user to confirm the collected parameter value.

Interactive Collection method
Parameter
Description
Screenshot
Phone number
This method identifies and completes a user's phone number. If the user provides a partial number, enters the number in multiple turns, or includes irrelevant text in their response, the bot will ask for the remaining information and confirm once the complete number is collected.

License plate number
This method identifies vehicle license plate information. If the user provides only the main part of the plate number while omitting the provincial abbreviation, or if the bot determines the information is incomplete, it will ask for the missing part and confirm after obtaining the full plate number.

Address
This method gathers, completes, and confirms user addresses in a natural conversation. If the user provides a vague or incomplete address, or if the address does not meet business requirements, the bot will continue to ask follow-up questions until it obtains an address that meets the defined rules. Two methods are available for address validation: the Amap Web Service API or a custom API.
NoteFor the Amap API, see Amap Web Service API.
For the custom API method, see Interactive Parameter Collection - Address - Custom API.



Required
Select this checkbox to make the parameter mandatory for subsequent actions.
Branch condition: When enabled, the bot evaluates branch conditions in sequence. If a condition is met, the process jumps to the corresponding subsequent node.
Application example
Scenario: In an integration scenario, a single process contains multiple nodes, including a bot reply node, a Parameter Collection node, and a call plugin node. In this process, a user requests an on-site repair service, and the bot collects the user's phone number to create a work order.
The example process is as follows:

Configuration steps
Create a new process and go to the process canvas.
Configure the
intent edgeso that a request for on-site repair service triggers this process.
The user wants on-site repair service.
Add a
bot reply nodeto ask for the user's phone number.
For instructions on configuring a bot reply node, see bot reply node.
Add a "Phone Number Collection" Parameter Collection node and select custom mode:
Click Add Parameter and add the
userPhoneparameter.Set the
value sourceto dialog recognition.Mark it as required.

Click Configure to set up dialog recognition for the parameter.
Set the Inquiry Method to prompt.
Add the
inquiry promptas shown in the figure below, and add a contextual parameter.Add the command:
system_collect_number. When the bot collects the phone number, it sends the "collect number" command, which brings up the user's phone keyboard.Enable the Parameter Reconfirmation switch to reconfirm the phone number.

Add a "Phone Number Confirmation" Parameter Collection node. Configure its parameter selection in the same way as the previous step, and then add a
branch condition:The user modifies an incorrect phone number.

The user confirms the correct phone number.


After the user confirms the phone number, add a
call plugin nodeto create a work order, followed by abot reply nodeto end the process.
For instructions on configuring a call plugin node, see call plugin node. For instructions on configuring a bot reply node, see bot reply node.
Result











