Esta acción te permite realizar
Highlight |
---|
operaciones matemáticas con información enviada previamente por tus contactos, precargada o que hayas obtenido de un sistema externo. |
Las operaciones matemáticas te pueden servir para activar un flujo o mostrar cálculos que utilicen alguna respuesta enviada por tu contacto.
El campo de “Matemáticas básicas” permanece oculto durante la conversación,
Highlight |
---|
invoques su valor adentro del texto de una pregunta |
Las opciones de configuración de esta acción son:
...
Identificador único
...
Se trata de un identificador exclusivo de la pregunta generado de manera automática; se puede cambiar si se desea, respetando que dentro de tu chatbot no haya otra pregunta con el mismo ID.
...
Descripción
...
Añade una nota de uso interno para describir el comportamiento de la acción. El texto que captures no se envía a tus usuarios.
...
Fórmula matemática
Suma, resta, multiplica y divide números. Puedes hacer referencia al valor de una pregunta tipo “Entero”, así como agrupar operaciones utilizando paréntesis.
...
OPERADOR
...
SINTAXIS
...
SUMA
...
+
...
RESTA
...
-
...
MULTIPLICACIÓN
...
*
...
DIVISIÓN
...
/
...
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;
|