Full Guide of Operators

Operators are part of conditions. They configure the values and reasons for the action trigger.

Let´s check all available operators

 

Operator: is equal to

Definition: Looks for an exact match — the value must be exactly the same as what you put in.

Example (Country):
If you choose "Germany", the rule will apply only to Germany.

What does it mean? 

If a customer who is based in Germany creates a return order then the rule will trigger only orders from Germany. 

✔ Matches:

  • Germany

✘ Doesn’t match:

  • Spain

  • France


 

 

 

Operator: is different from

Definition: any variable that is different from what you input in the field.

Example (Country):
If you choose "Spain", the rule will apply to all countries except Spain.

What does it mean? 

If a customer who is based in France creates a return order then the rule will trigger because France is different from Spain. 

✔ Matches:

  • France

  • Germany

✘ Doesn’t match:

  • Spain

 

Operator: is any of

Definition: Often used to check if a given value matches any value in a set of options

Example: We set up 3 Return Reasons: 

    • I don't like it
    • It is too big
    • It is too small

What does it mean? 

If any of these reasons match what customer select then the rule will trigger the action

✔ Matches:

  • It is too small ✅

✘ Doesn’t match:

  • It's damaged

     

 

Operator: is not any of

Definition: is used to check if a value does not match any value in a given set

Example: We set up 3 Return Reasons: 

    • I don't like it
    • It is too big
    • It is too small

What does it mean? 

If return reason that customer selects doesn't match any of these 3 we mentioned above, then the rule will trigger the action.

✔ Matches:

  • It is damaged ✅ 

✘ Doesn’t match:

  • I don't like it

 

Operator: Contains

Definition: "contains" operator is used to check if a certain value exists within another collection, such as a list, or dictionary.

Example (Postal Code):
If you put 23, it will match any postal code that contains 23 anywhere.

What does it mean? 

Any postal code that contains 23 will trigger the rule.

✔ Matches:

  • 12345

  • 23834
  • 98234

✘ Doesn’t match:

  • 14567

 

Operator: Not contains

Definition: "not contains" is the opposite of "contains" operator is used to check if a certain value doesn´t exists within another collection, such as a list, or dictionary.

Example (Postal Code):
If you put 23, it matches codes without that sequence.

What does it mean? 

Any postal code that doesn't contain 23 will trigger the rule.

✔ Matches:

  • 14567

  • 98700

✘ Doesn’t match:

  • 12345

  • 98234

 

Operator: Is Greater Than

Definition: This operator checks if the one variable is strictly greater than the other

Example (Price):
If you type 50€, the action applies only to prices above 50€ (like 51€, 100€…).

What does it mean? 

Let's say you want the rule to be trigged only for orders that have total price more than 50€. In that case if a customer has an order that has value of 51 or more then the rule will be triggered. 

✔ Matches:

  • 51€

  • 75€

✘ Doesn’t match:

  • 50€

  • 40€

 

Operator: Is Less Than

Definition: This operator checks if the one variable is strictly greater than the other

Example (Price):
If you type 50€, the action applies to prices below 50€.

What does it mean? 

Let's say you want the rule to be trigged only for orders that have total price less than 50€. In that case if a customer has an order that has value of 49 or less then the rule will be triggered. 

✔ Matches:

  • 45€

  • 30€

✘ Doesn’t match:

  • 50€

  • 60€

 

Operator: Is Greater Than or Equal To

Definition: This operator checks if the one variable is strictly greater or equal than the other

Example (Price):
50€ → The rule will trigger for prices of 50€ or more.

What does it mean? 

Let's say you want the rule to be trigged only for orders that have total price more or equal to 50€. In that case if a customer has an order that has value of 50 or more then the rule will be triggered. 

✔ Matches:

  • 50€

  • 60€

✘ Doesn’t match:

  • 49€

 

Operator: Is Less Than or Equal To

Definition: This operator checks if the one variable is strictly less or equal than the other

Example (Price):
50€ → The rule triggers if the price is 50€ or less.

What does it mean? 

Let's say you want the rule to be trigged only for orders that have total price less or equal to 50€. In that case if a customer has an order that has value of 50 or less then the rule will be triggered.

✔ Matches:

  • 50€

  • 40€

✘ Doesn’t match:

  • 51€

 

Operator: Start with

Definition: This operator checks if the one variable starts with specific characters

Example (Postal Code):
234 → The rule will trigger only if the postal code starts with 234.

What does it mean? 

Let's say you want the rule to be trigged only for postal codes that start with 234. Then if a customer has postal code 54000 in this case the rule will not be triggered.

✔ Matches:

  • 23456

  • 23400

✘ Doesn’t match:

  • 12345

  • 82340

 

Operator: Ends with

Definition: This operator checks if the one variable ends with specific characters

Example (Postal Code):
234 → The rule triggers if the code ends in 234.

What does it mean? 

Let's say you want the rule to be trigged only for postal codes that end with 234. Then if a customer has postal code 45001 in this case the rule will not be triggered.

✔ Matches:

  • 89234

  • 00234

✘ Doesn’t match:

  • 23456

  • 23400

 

Operator: Doesn´t start with

Definition: This operator checks if the one variable is not started with specific characters

Example (Postal Code):
234 → The rule applies to all postal codes that don’t start with 234.

What does it mean? 

Let's say you want the rule to be trigged only for postal codes that don't start with 234. Then if a customer has postal code 54000 in this case the rule will be triggered.

✔ Matches:

  • 12345

  • 82340

✘ Doesn’t match:

  • 23456

  • 23499

 

Operator: Doesn´t end with

Definition: This operator checks if the one variable is not ended with specific characters

Example (Postal Code):
234 → The rule applies to postal codes not ending in 234.

What does it mean? 

Let's say you want the rule to be trigged only for postal codes that don't end with 234. Then if a customer has postal code 54000 in this case the rule will be triggered.

✔ Matches:

  • 23400

  • 23456

✘ Doesn’t match:

  • 89234

  • 00234

 

Operator: Between

Definition: This operator checks if the one variable is between specific characters. 

Example (Postal Code):
If you define postal codes that start with 2 and end with 6, the system checks for both

What does it mean? 

Let's say you want the rule to be trigged only for postal codes that start with number 2 and end with number 6. Then the postal code with 30005 will not be triggered. 

 conditions.

✔ Matches:

  • 200136 ✅ (starts with 2 and ends with 6)

✘ Doesn’t match:

  • 200435 ❌ (starts with 2 but ends with 5)

  • 100136 ❌ (ends with 6 but starts with 1)

 

Operator: Regex -> Regular expression

Definition: It helps the system find patterns in text, not just exact words.

To know more about Regex and how it works please check this article -> REGEX