You can use the Set Parameter node when you are looking to have a set value for a parameter - and don’t want the user to fill it in. We can either input the value manually or use a placeholder sign "$" and the name of the parameter you are referring to ("$PARAMETER_NAME).
You can add multiple parameters to the node by clicking on "Add parameter".
You can use the set param to tag that the user went through a specific part in the flow, and do a condition so he won’t go through it again.
For example, if the user is has got to the “missed” tab in the classification node, we can set a parameter that lets us know it was triggered once, and add a condition that has a different logic:
- 1.Create a parameter and set a value in the Set Param node.
2. Create a Condition node that if the parameter has a value/is equal to the value you set in the Set Param node.
3. Attach the “missed” in the Classification node to the Condition node.
4. Attach the “default” to the logic you want the user to go first.
5. Attach it to the Set Param node.
6. Attach the Set Param node to the original Classification node.
7. Attach the Condition you created to the logic you want the user to go to the second time.
Another use case you can use the set param node is when you need to set a specific parameter after an intent (in the classification node) and not the user’s input. For example, when the parameter values need to be the same for all users.
All you need to do is to attach the set param node after the intent and set the value you want.
Usually, we set the intent’s name as the value of the parameter.