Evaluate
Acts as a switch command. You can create multiple pins based on the number of outputs you require.
You have access to the entire msg object, by selecting custom. You can use {{ mustache tags }} on Custom Input, and with Evaluate.
The evaluate control can be selected by any previous control value. The best practice is to name each control; do not use the default name.
The pins refer to each of the switch cases respectively. The Default pin refers to the else case.
Video Content
https://cdn.orbita.cloud/assets/orbita/flowstudio/Evaluatenode.mp4
Video Key Messages
The evaluate function takes a value calculated from a hook event and uses mustache tags to transform it into a number.
Review this experience with a BMI Calculator hook event within an open-text chatbot.