Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Conditions

Select the items a rule changes.

How conditions work

Conditions select the import items that a rule changes with an action:

  • You can select and apply an action to all items with the For all items condition.

  • You can select specific items to apply an action to with IF conditions.

  • You can use AND to combine multiple conditions that items need to meet to be included in your selection.

  • You can use OR to filter and apply a rule to items that meet one or more parts of your criteria.

Understand how OR conditions are grouped

An OR condition expands the condition directly before it. The earlier IF conditions still apply.

If you set up these conditions:

  • IF value(s) in color exactly match pink

  • AND value(s) in size exactly match small

  • OR value(s) in size exactly match medium

This rule selects pink items that are either small or medium. The OR applies to the size condition, not to the color condition.

Once you’ve set up your conditions, you can preview which items have been selected, then use actions to define what you want your rule to do to the items you have filtered.

Preview selected items

Check which items your conditions select before adding an action.

Click Save rule after you add your conditions. Each condition section shows its selected-item count:

  • X selected items (X%) shows how many items match the conditions in that section.

Click the selected-item count to inspect the items that match your conditions.

Condition examples

Example: Use an IF condition to select items that have an empty title field

To filter any items that are missing a title in the title field, you would set up your condition like this:

  • IF the title field is empty

Example: Use an AND condition to select items where size exactly matches small and color exactly matches pink.

To filter any items that are size small and the color pink, you would set up your condition like this:

  • IF value(s) in color exactly match pink

  • AND value(s) in size exactly match small

Example: Use an OR condition to select items where color exactly matches pink or size exactly matches large.

To filter items that are pink, large, or both, set up your conditions like this:

  • IF value(s) in color exactly match pink

  • OR value(s) in size exactly match large

Example: Combine AND and OR to select pink items in either a small or medium size.

To filter pink items that are small or medium, set up your conditions like this:

  • IF value(s) in color exactly match pink

  • AND value(s) in size exactly match small

  • OR value(s) in size exactly match medium

List of available conditions

Last updated

Was this helpful?