Set variable value, export variable node
Set variable value
Use the Set Variable Value node when you need to update customer information, authentication codes, or any other variable values for whatever reason.
Simple example

To use this node, click the 'Set Variable Value' node in Create Conversational App, select the variable to use, then choose the type of value to assign. After that, enter the variable value in the variable value field.

You can choose the type as Value (constant), Variable, or Expression.
After entering the value, click the Apply button. You can then add more variables to update or click Apply once more to save the changes.
Note: The variable may or may not already have an existing value. Regardless, once the node executes, the value will be updated to the value specified in the node.
Export variable

Variable export lets you track and record custom statistical data. Using this, you can store data selected by users and later analyze that data.
Using the Send Message/Ask Question node First, Send Message/Ask Question use the node to prompt the user to select a button. For example, present multiple choices and when the user clicks a button, store that choice in a variable. (e.g.,
SELECTED_1ST)Add variable export node Then Export variable add the node to the flow. In this node, specify the variable you want to export. (e.g.,
SELECTED_1ST). At this point, the variable value is recorded and saved like a "snapshot."Download data The data recorded in this process can be downloaded afterward. This allows you to view statistical data such as the button values selected by users.


3-1. Access the Answerbot statistics page In the Statistics tab, click the 'View Answerbot Statistics' page located at the top right to navigate there.
3-2. Download statistical data On the page, click the 'Download Statistical Data' button.
3-3. Select option to include variable export data In the download window, select the "Include data from Variable Export nodes" option. If you choose this option, data collected via Variable Export nodes will be included in the download.
3-4. Only up to 1 month of data can be downloaded Note that the downloadable data includes at most one month of data.
3-5. Downloaded data The downloaded data is provided as a separate file distinct from existing statistical data. This file is divided into sheets per skill, and each sheet includes the time the variable was stored, the skill name, node ID, customer ID, and the variable value.
Through this process, you can accurately download the data collected via Variable Export nodes and analyze the necessary statistical data.
Node insertion precautions Be careful not to place Variable Export nodes at the very start, such as the start node. If the node is placed before the user inputs anything, invalid data may be recorded. Place the node in the correct flow.
Last updated