Start Node
The start node is automatically added by the platform when creating each intelligent agent and cannot be deleted.
Functionality
The start node has the following functionalities:
1. Used to proactively greet the customer when the conversation begins
When chatting with the intelligent agent using the Gendial native H5 client, the start node’s welcome message is triggered. If the conversation is initiated through an API call and the user sends a message at the start of the conversation, the start node's welcome message will not be triggered. If an empty message is sent when starting the conversation, the welcome message will be triggered.
2. Used to set environment variables
Environment variables required for the intelligent agent workflow, such as third-party API keys, can be set in the start node.
3. Used to set the initial values of output variables in the intelligent agent workflow
In the start node, you can set the initial values of output variables in the intelligent agent workflow. For example, for a variable n
used to control the number of iterations, you can set its initial value to 0 in the start node.
The following attributes can be set in the start node:
Welcome Message
The welcome message sent at the beginning of the conversation.
Generation Method
The method for generating the welcome message can be set.
- Original Text: Directly send the set welcome message to the customer.
- AI Generated: The AI generates a message based on the set prompt and sends it to the customer.
Environment Variables
Used to set the environment variables required for the intelligent agent workflow, as described earlier.
Program Variable Initial Values
Sets the initial values for the output variables in the intelligent agent workflow, as described earlier.