Bot reply node
This document describes how to configure the bot reply node in flow management and provides an application example.
Node overview
Use this node to send messages to users. You can configure both basic settings and advanced settings. The basic settings offer three reply method options: predefined response, prompt-generated reply, and task prompt.

Instructions
Basic settings
Node name: Rename the node as needed. It has a default name.
Reply method:
Predefined response: Sends a preset message to the user.
Prompt-generated reply: Generates a reply and converses with the user based on a dialog instruction. Type / to add a parameter value.
Task prompt: Interacts with the user based on instructions for multiple tasks. Type @ to add an API plugin or / to add a parameter value.
NotePrompt configuration
Write the prompt from the bot's perspective, defining its tasks.
Define a simple, direct action for each node, focusing on one key objective.
Refer to the following templates for examples with appropriate detail:
Type
Description
Prompt
Example output
Direct reply
Provides a sample response. The bot references this sample and the conversation context to generate a full reply.
Reply: "Are you a family member or a friend of the insured?"

Reply based on instructions
Provides dialog instructions. The bot follows these instructions to converse with the user, collect parameters, and call APIs.
Task prompt
Get parameter: city
@API plugin: weather (to query the city's weather)

Ask a question and validate the user's response
Asks the user a question and then validates their response.
Reply: "When did the incident occur?"
After the user provides the time of the incident, check if it occurred more than ten days before the
CURRENT_DATEsystem parameter.
Advanced settings
The basic settings define what the bot replies, while the advanced settings control what else it can do. On the bot reply node's Advanced Settings tab, you can configure the following features:
System command: Allows the bot to send a command to an external system along with its reply. Examples include transferring to a human agent or requesting a license plate number.
Voice settings: Control the bot's interactive behavior in voice scenarios. This includes options to enable user interruption and semantic VAD wait time. When semantic VAD wait time is enabled, the system analyzes the recognized content to determine if the user's utterance is semantically complete. It then uses this analysis to set an appropriate wait time, reducing both unwanted interruptions and awkward silences.
Note: If you don't configure them, the node replies using only the basic settings, and the conversation proceeds normally.

Application example
Scenario: A roadside assistance flow that collects user information and provides a relevant reply.
Example flow:

Configuration steps
Create a new flow and open the flow canvas editor.
Add an intent edge that triggers the flow when the roadside assistance intent is detected.
The user requests roadside assistance.

Add a bot reply node and select the "task prompt" reply method. In the prompt input box, enter the information you need to confirm with the user, as shown below:

Example output
