Skip to main content
Filter rules determine which data should be excluded from the integration using conditional rules.
Filter rules only work when configured as a filter in the Extract section, and they occur after data Enrichment.

When to use

  • Remove minors
  • Remove products with zero price
  • Remove specific date periods

How it works

  • If it returns true → Data is removed
  • If it returns false → Data is kept

Example

To remove products with zero price:
(context) => {
  const price = context.object.price;

  return price <= 0;
};