Conditions and operators

Conditions are a way that attributes can be used to shape the flow of the conversation. These conditions are essentially asking a question. If the answer to that question is yes, then the message is eligible for use in the conversation. The various questions being asked are called Operators.

The Operators are:

Is True

Can be used with Boolean Attributes

Checks if Attribute value is equal to "True"

Is False

Can be used with Boolean Atrributes

Checks if Attribute value is equal to "False"

Equals

Can be used with Integer, Float, and String Attributes

Checks if Attribute value is equal to a set value in the condition

Not Equals

Can be used with Integer, Float, and String Attributes

Checks if Attribute value is not equal to a set value in the condition

Greater Than

Can be used with any Attribute with a numerical value

Checks if Attribute value is greater than the set value in the condition

Greater Than or Equal To

Can be used with any Attribute with a numerical value.

Checks if Attribute value is greater than or equal to the set value in the condition

Less Than

Can be used with any Attribute with a numerical value

Checks if Attribute value is less than the set value in the condition

Less Than or Equal To

Can be used with any Attribute with a numerical value.

Checks if Attribute value is less than or equal to the set value in the condition

Time Passed Equals

Can be used with last_seen Attribute

Checks if last_seen Attribute is equal to the set value in the condition

Time Passed Greater Than

Can be used with last_seen Attribute

Checks if last_seen Attribute is greater than the set value in the condition

Time Passed Less Than

Can be used with last_seen Attribute

Checks if last_seen Attribute is less than the set value in the condition

Is Not Set

Can be used with any Attribute

Checks if the Attribute does not have a value set

Is Set

Can be used with any Attribute

Checks if the Attribute does have a value set

Is Empty

Can be used with any Attribute

Checks if the Attribute does not have a value

Is Not Empty

Can be used with any Attribute

Checks if the Attribute value does have a value

In Set

Can be used with String Attributes

Checks if the Attribute value includes the text value set in the condition

Not In Set

Can be used with String Attributes

Checks if the Attribute value does not include the text value set in the condition

Last updated