Input Node
The input node collects user input during a workflow run. In complex workflow scenarios, some nodes require additional user input that may not be available from upstream nodes. You can add an input node to collect this information. The workflow's execution pauses when it reaches an input node and resumes only after the user provides the necessary input.
This feature is available only for workflows that start with an AI Assistant trigger; other scenarios are not supported.
Node configuration
|
Parameter |
Description |
Example |
|
Text Content |
The message displayed to the user. Use this to explain the context or reason for collecting the information. |
Please enter the user's name and flight number. |
|
variable name |
The field's key. It must be in English. Downstream nodes use it to reference the variable. |
name |
|
variable label |
The field label displayed to the user. |
Name |
|
variable type |
The data type of the parameter. Supported types include String, Array, and File. |
String |
|
required |
Specifies whether the field is required. |
Yes |
The node configuration supports JSON import. Click the edit button in the upper-right corner of the variable settings area to modify the defined variables.
The following is an example of a JSON object:
{
"username": "John Doe",
"age": 25,
"isActive": true,
"address": {
"city": "Beijing",
"zipCode": "100000",
"location": {
"latitude": 39.9042,
"longitude": 116.4074
}
},
"tags": ["Developer", "Designer"],
"scores": [95, 88, 72],
"orders": [
{
"orderId": "ORD001",
"amount": 199.99,
"items": [
{
"name": "Product A",
"quantity": 2
}
]
}
]
}
Node example
If a user omits the flight number in their initial request, the workflow prompts them for it before submitting the query to the model.
The AI Assistant displays a welcome page. The user can enter a query, such as a flight number, into the message input box at the bottom. To the right of the input box are options to attach files and use voice input, alongside a Send button.