This action allows you to perform basic mathematical operations with information previously sent by your contacts, preloaded or that you have obtained from an external system.
...
Tip |
---|
TIP: Mathematical operations can be used to activate a flow or to display to the user some "live" calculation. |
A "Basic Math" action remains hidden during the conversation, unless you invoke its value within the text of a question. To invoke the value, all you have to do is start typing the name of the "Basic Math" ID and SmartChat will show a selection list from which you can choose.
Here is an example of the designer view when you invoke "Basic Math" and how the message arrives to the user:
The configuration options for this type of action are:
Unique ID | This is a unique identifier generated automatically; if you want you can changed it, just remember that within your chatbot two questions can't have the same ID.
| ||||||||||||
Description | Add a note for internal use to describe the behavior of the action. This text is not sent to your users. | ||||||||||||
Basic math | Add, subtract, multiply and divide numbers. You can reference the IDs of previous Integer type questions and group operations using round brackets;
|