Available in Classic and VPC
The chatbot can obtain meaningful information through conversations with users. Among this information, you have to keep some temporarily at the time of responding, while you can store others during the conversation session for repeated utilization. In this way, you can manage the information obtained through conversations with the user within the dialogue session as variables.
Create user variable
Create user variables before setting them.
To create user variables:
- In the NAVER Cloud Platform console, navigate to
> Services > AI Services > CLOVA Chatbot > Domain. - Click [Run builder] of the domain you want to run the Chatbot Builder.
- Click User variable of the Chatbot Builder.
- Enter user variable information.
| Item | Description |
|---|---|
| Type | Select the type of user variables.
|
| User variable name | Enter the name of the user variable. |
| Default value | Set the default value of user variables. |
- Once you complete entering user variable information, click [Add].
- Click the settings icon to configure whether the information stored in the user variable is sensitive.
- Unless it is a special case involving sensitive information, you can set it as general information.
Example:

User Variable Settings
Once a user variable has been created, you can apply it when registering a conversation answer. The user variable applied to the answer is updated at the time you deliver the answer.
To apply user variables to an answer:
- Complete the preliminary tasks.
- Register a question in reference to Enter question.
- Create a user variable in reference to Create user variable.
- Select the type in the user variable section of the response registration area.
- You can choose among strings, number, or json.
- Select the name of the user variable you want to set.
- In the action area, select the method for updating the value of the user variable.
- Only user variables of the number type support arithmetic operations such as + and -.
- Enter the value you want to update in the user variable.
- Strings: You can store strings in the selected user variable.
- Number: You can store numbers in the selected user variable.
- Entity: You can store the analyzed entity value in the selected user variable. However, if there is no value analyzed as an entity or if it does not match the user variable type, the update cannot be performed.
- Slot: You can store the filled slot value in the selected user variable. However, if there is no value filled in the slot or if it does not match the user variable type, the update cannot be performed.
- User variable: You can store the value filled in another user variable into the selected user variable.
- Click [Add].
Example:
