Modify variable block

The modify variable block allows you to change a variable generated by the survey block or a JSON API block.

To add a modify variable block to a dialogue flow, click the blue chatbot button and select Modify variable.

Under the Variable, enter the variable that you want to modify.

Under the _Expression field, add the new value of the _variable. You can use mathematical expression or use ProtoScript to modify the values.

Click SAVE once complete.