Dialogue System contains two nodes to manipulate variables: a setter and a getter. After you create any of them, you have to set its scope and name in the inspector. Once you did this, the node will change its type to match with the variable.
The Set node has a variable output, this will return the new value of the variable that is set when this node was active last time.
You can learn more about the variables in the advanced section.