The “Set Variable Panel” allows you to update a specified interaction variable to a new value. Interaction variables are helpful because they can be used dynamically throughout logic flows to make decisions and track information.
...
Configuration
...
Panel
...
name: It is recommended that you choose a name and keep it consistent. You will also need to specify the variable name to update. If the variable does not exist, it will be created.
There are different types of value types that you can choose from to update the variable.
Simple: The Simple value type updates the specified variable to a new string value.
Expression: You can also use an Expression value type to manipulate the values of existing fields. For example, you can use the Add expression to add two fields together, or the JSON Path expression to parse a JSON object to be stored.
Exit Paths
The Set Variable Panel has two exit paths: Default and Invalid Input.
...