bot response node
This document describes how to configure the bot response node in flow management and provides a sample application.
Node introduction
This node sends information to the user. It provides two configuration methods: Basic settings and Advanced settings. The Basic settings method supports three response types: use a fixed response, generate a response from a prompt, and task prompt.

Instructions
Basic settings
Node Name: You can change the node name as needed. The system displays a default value.
Response Method:
Use fixed response: The bot responds to the user with a preset script.
Generate response from prompt: The node uses a conversational instruction to interact with the user. You can add a parameter value by entering "/".
Task Prompt: The bot uses multitasking instructions to interact with the user. You can add an API plugin by entering "@". You can add a parameter value by entering "/".
NotePrompt configuration recommendations
Define the prompt content from the bot's perspective. Specify how the bot should perform the task.
Keep the action for a single node simple and direct. Ensure the main points are clear.
For information about specific granularity, see the following sample templates:
Type
Description
Prompt
Demonstration
Direct response
Provides a sample response script. The bot uses the context and the sample script to form a complete response.
Respond with "Are you a family member or a friend of the person involved in the incident?"

Response based on instruction
Provides conversational instructions. The bot follows the instructions to talk with the user. This includes getting parameters and calling APIs.
Multitasking Prompt
Get parameter: city
@API plugin: weather to query the city's weather

Ask and validate customer response
Proactively asks the user a question and validates the result based on the user's response.
Respond with: "When did the incident occur?"
After the user provides the incident time, check if the provided time is more than ten days before the system parameter
CURRENT_DATE.
Advanced settings
In Advanced settings, you can configure system instructions to integrate with other systems during the conversation, such as a transfer to agent instruction.
The following example shows how to set up a transfer to agent instruction:
Configuration: Configure the response content in the response node. In Advanced settings, define the transfer to agent instruction. In this instruction, you can set the agent skill group and pass-along parameters.
Conversation flow: When the conversation reaches this node, the bot's conversation interface provides both the node response and the configured transfer to agent instruction.
API integration: When you integrate the conversation API, the integrated system receives the transfer to agent instruction. The system then sends the node response to the customer and performs the transfer to an agent based on the instruction's configuration.
Sample application
Scenario description: An inquiry flow that collects user requirements and responds accordingly.
The sample flow is as follows:

Configuration steps
Create a new flow and go to the flow canvas editor.
Add an intent edge. When a roadside assistance intent occurs, this flow is triggered.
User seeks roadside assistance.
Add a bot response node and select the "Task Prompt" mode. In the Prompt input box, enter the information to confirm with the user, as shown in the following figure: