Conversation Node - Conditions


Overview


You can add a condition node, when you would like compare the user entered value against something and then take an action.

Example:
If you have a motor insurance conversation, you have taken the manufacture details for the vehicle from the end user. Depending on the manufacturer you now want to show or ask the user the model of your vehicle. So user may say manufacturer as HONDA and model as City VXi.

Tip: Trigger can't be added for condition nodes

Tip: Currently you can add a single condition for validation.

Tip: Bot Say's is not available for condition nodes.

Condition Node


Node Name


Name your node which is easy for you to visualize what is this node about.

Condition


There are different condition validation operators that are supported by the node. The complete list of the condition operators is listed in the table below.

Operator Description Examples
== Parameter A is equal to Parameter/Value B. &makeOfVehicle == Ford
!= Parameter A is not equal to Parameter/Value B. &makeOfVehicle != Ford
< Parameter A is less than Parameter/Value B. &age < 21
<= Parameter A is less than or equal to Parameter/Value B. &age <= 21
=> Parameter A is greater than or equal to Parameter/Value B. &age >= 21
> Parameter A is greater than Parameter/Value B. &age > 21
>= Parameter A is greater than or equal to Parameter/Value B. &age >= 21
equal to Parameter A is equal to Parameter/Value B. &makeOfVehicle == Ford
greater than equal Parameter A is greater than or equal to Parameter/Value B. &age >= 21
greater than equal to Parameter A is greater than or equal to Parameter/Value B. &age >= 21
is equal to Parameter A is equal to Parameter/Value B. &makeOfVehicle == Ford
is greater than equal to Parameter A is greater than or equal to Parameter/Value B. &age >= 21
is less than equal to Parameter A is less than or equal to Parameter/Value B. &age <= 21
is not equal to Parameter A is not equal to Parameter/Value B. &makeOfVehicle != Ford
less than equal Parameter A is less than or equal to Parameter/Value B. &age <= 21
less than equal to Parameter A is less than or equal to Parameter/Value B. &age <= 21
not equal Parameter A is not equal to Parameter/Value B. &makeOfVehicle != Ford
not equal to Parameter A is not equal to Parameter/Value B. &makeOfVehicle != Ford