Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 14 Current »

 

 

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: 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.

 

If you are going to store the data you get from your chatbot in a business database, make sure that the unique identifier of the questions match those that are already defined for the fields in your database; This will give you a seamless integration through the API.

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; 

 

OPERATOR

SINTAX

ADD

+

SUBSTRACT

-

MULTIPLY

*

DIVIDE

/

GROUP AN OPERATION

( )

 

 

 

 

  • No labels