Operators are part of conditions. They work as a filter before triggering the rule
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 of origin):
You want all return orders from Spain to be handled in Madrid warehouse.
-
What does it mean?
-
The system checks the country of origin for each return order. If the country is exactly “Spain”, the rule works, and the return is sent to the Madrid warehouse.
-
✔ Matches:
-
Spain
-
-
✘ Doesn’t match:
-
Germany
-
France
-
-
-
-
Operator: is different from
-
Definition: Any thing that is different from what you input in the field.
The rule will trigger only when the value is different.
-
Example (Country):
You want all orders not fulfilled from the Berlin warehouse to be reviewed manually.
-
What does it mean?
-
The system checks which fulfillment center is assigned to each order.
If the center is anything other than “Berlin”, the rule is triggered and the order goes for manual review.-
✔ Matches
-
Paris
-
Warsaw
-
-
✘ Doesn’t match
-
Berlin
-
-
-
-
-
Operator: is any of
-
Definition: Looks for values that match one or more options from a list. The rule will trigger if any of the listed values match.
-
Example:
You want to turn off Gift card as a refund method for orders with return reasons such as:
- I don't like it
- It is too big
- It is too small
-
-
-
What does it mean?
-
The system checks the return reasons for each return order. If the return reason is "I don't like it", "It is too big" or "It is too small", the rule is triggered, and the system turn off Gift Card.
-
✔ Matches:
-
It is too small
-
-
✘ Doesn’t match:
-
It is damaged
-
-
-
-
-
Operator: is not any of
-
Definition: Looks for values that do not match any of the options you list. The rule will trigger only if the value is not in the list.
-
Example: You want to apply free shipping to all orders that use any discount code except "WELCOME10" or "FREESHIP".
- What does it mean?
-
The system checks the discount code used in the order. If the code is not "WELCOME10" or "FREESHIP", the rule is triggered and free shipping is applied.
-
✔ Matches
-
SUMMER25
- VIP2024
-
- ✘ It does not match
- WELCOME10
-
-
-
-
Operator: Contains
-
Definition: This operator is used to check if a certain value exists within another collection, such as a list, or dictionary.
-
Example: You want return orders from postal codes that contain "280" to be handled in the Madrid warehouse.
- What does it mean?
-
The system checks the postal code of the return address. If the code contains "280" (like 28001, 28045, etc.), the rule is triggered and the return is sent to the Madrid warehouse.
-
✔ Matches
-
28001
- 28092
-
- ✘ It does not match
- 10010
- 08174
-
-
-
-
Operator: Not contains
-
Definition: This rule checks if something does NOT include a certain number or word.
-
Example: You want return orders from postal codes that do not contain "280" to be sent to the Barcelona warehouse.
- What does it mean?
-
The system checks the postal code of the return address. If the code does not contain "280", the rule is triggered and the return is sent to the Barcelona warehouse.
-
✔ Matches
-
08174
- 10010
-
- ✘ It does not match
- 28001
- 28045
-
-
-
-
Operator: Is greater than
-
Definition: Looks for values that are higher than the number you enter. The rule will trigger only if the value is strictly greater
-
Example: You want to apply free shipping to orders with a total price greater than 100 EUR.
- What does it mean?
-
The system checks the total price of each order. If the price is more than 100 EUR, the rule is triggered and express shipping is applied.
-
✔ Matches
-
120 EUR
- 150 EUR
-
- ✘ It does not match
- 100 EUR
- 75 EUR
-
-
-
-
Operator: Is less than
-
Definition: Looks for values that are lower than the number you enter. The rule will trigger only if the value is strictly less.
-
Example: You want to block certain discount codes for orders with a total price less than 50 EUR.
- What does it mean?
-
The system checks the total price of each order. If the price is below 50 EUR, the rule is triggered and the discount code is blocked.
-
✔ Matches
-
49 EUR
- 30 EUR
-
- ✘ It does not match
- 50 EUR
- 75 EUR
-
-
-
-
Operator: Is greater than or equal to
-
Definition: Looks for values that are equal to or higher than the number you enter. The rule will trigger if the number is that number or higher.
-
Example: You want to change shipping method from Drop-off DHL to drop-off UPS for customers who have made 3 or more returns.
- What does it mean?
-
The system checks how many returns a customer has made. If the number is 3 or more, the rule is triggered and the shipping method is changed
-
✔ Matches
- 4
- 3
- 7
- ✘ It does not match
- 1
- 2
-
-
-
-
Operator: Is less than or equal to
-
Definition: Looks for values that are equal to or lower than the number you enter. The rule will trigger if the number is that number or lower.
-
Example: You want to allow returns only for customers who have made 2 or fewer returns.
- What does it mean?
-
The system checks how many returns a customer has made. If the number is 2 or less, the rule is triggered and the return is allowed.
-
✔ Matches
- 2
- 1
- 0
- ✘ It does not match
- 3
- 5
-
-
-
-
Operator: Starts with
-
Definition: This operator checks if the one thing starts with specific characters
-
Example: You want to apply a special shipping method to all orders using discount codes that start with "VIP"
- What does it mean?
-
The system checks the discount code used. If the code starts with "VIP", the rule is triggered and the special shipping method is applied.
-
✔ Matches
- VIP2024
- VIP10
- ✘ It does not match
- SPRINGVIP
- SUMMER10
-
-
-
-
Operator: Ends with
-
Definition: This operator checks if the one thing ends with specific characters
-
Example: You want to apply a return handling fee for orders using codes that end with "10".
- What does it mean?
-
The system checks the discount code used. If the code ends with "10", the rule is triggered and the return handling fee is applied.
-
✔ Matches
- WELCOME10
- VIP10
- ✘ It does not match
- 10OFFSPRING
- WINTER01
-
-
-
-
Operator: Doesn’t start with
-
Definition: This operator checks if the one thing is not started with specific characters
-
Example: You want to change price of Drop-off UPS to orders where the postal code doesn’t start with "28".
- What does it mean?
-
The system checks the delivery postal code. If the code does not start with "28", the rule is triggered and price of Drop-off UPS is changed
-
✔ Matches
- 08174
- 10025
- ✘ It does not match
- 28001
- 28092
-
-
-
-
Operator: Doesn’t end with
-
Definition: This operator checks if the one thing is not ended with specific characters
-
Example: You want to change warehouse for orders where postal code doesn’t end with "01".
- What does it mean?
-
The system checks the delivery postal code. If the code does not end with "01", the rule is triggered and the warehouse is changed
-
✔ Matches
- 28045
- 08172
- ✘ It does not match
- 28001
- 10001
-
-
-
-
Operator: Regex -> Regular expression
-
Definition: Looks for values that match a specific pattern, not just exact values. Use it when you need to define complex rules, like certain number formats or code structures.
-
Example: You want to send orders for Catalonia region to the Barcelona warehouse. Catalonia postal codes typically start with 08, so you define a pattern that matches any postal code beginning with “08” and followed by three digits. So, instead of listing every code (08001, 08002, 08003...), you create a pattern:
- Regex pattern used in this case: ^08\d{3}$. it means:
^
-> start the line- 08 -> starts with 08
- \d -> any digit (0–9)
- {3} -> means exactly 3 digits after 08
- $ -> end of the line
- Regex pattern used in this case: ^08\d{3}$. it means:
-
-
- What does it mean?
-
The system checks the postal code and applies the rule if the code starts with 08 and has 5 digits in total — like 08001 to 08999.
The rule is triggered based on a pattern (not a fixed list), which helps when you need to cover a large region or specific structure.-
✔ Matches
- 08001
- 08999
- ✘ It does not match
- 09010
- 10001
-
-
- What does it mean?
To know more about Regex and how it works please check this article -> REGEX