Table of Contents

Formulas - Comparison

Marco de Vita Updated by Marco de Vita

If is your first time using Formulas, please check our Getting Started guide here and our crash course here

What are Comparison Formulas?

Comparison Formulas are, as the title suggests, a way to make a comparison between two variables. This is incredibly useful when creating your bot and improving your chatbot flow.

With these formulas you will be able to redirect a user down to the relevant flow of your bot if their answers score beyond a desired threshold for lead generation and qualification, to calculate whether a sum is over a predefined budget, and many more use cases.

Keep on reading to find out all the possibilities with the Comparison Formulas and how to use them.

Comparison Formulas available
  • IsEqual
  • IsNotEqual
  • IsGreater
  • IsGreaterOrEqual
  • IsLess
  • IsLessOrEqual
  • IsSet

IsEqual

Check if input from the user is the same as a number
IsEqual(@userinput,2)

IsNotEqual

Check if input from the user is NOT the same country
IsNotEqual(@country_selected,"Spain")

IsGreater

Check if age is above 18 (option a)
IsGreater(@edad,17)

IsGreaterOrEqual

Check if age is above 18 (option b)

IsGreaterOrEqual(@age,18)

IsLess

Check if the score is less than 50
IsLess(@score,50)

IsLessOrEqual

Check if the result of the variable notes Is Less or Equal than 75
IsLessOrEqual(@notes,75)

IsSet

Check if the variable @email is set or not
IsSet(@email)

How did we do?

Formulas - Object

Formulas - Array

Contact