Cleanbox
Features Helpdesk Blog Pricing Contact
Sign in Start free trial

Using filter samples and templates

Creating filters from scratch requires understanding components, operators, and rule groups. Filter samples give you a head start with pre-configured templates for common use cases.

How to use a sample

  1. Go to Filters → create or edit a filter
  2. Click Use sample at the top of the filter rules panel
  3. Select a template from the list
  4. The sample pre-fills the rules, logic, and action
  5. Customize any values you need to change
  6. Save the filter

Samples replace any existing rules in the filter. If you want to keep your current rules, create a new filter for the sample.

When to use samples

  • You are new to filters — Samples show you how rules are structured, which components to use, and how logic groups work
  • Common use case — If the sample matches what you need, it is faster than building from scratch
  • Learning tool — Apply a sample, then study how it is built before modifying it

When to build from scratch

  • Your rule needs multiple conditions combined with specific logic (ANY vs ALL groups)
  • You need regex patterns or header-based matching
  • You want to match on spam symbols or spam score ranges
  • None of the available samples cover your use case

For advanced filter configurations, see Advanced filtering: combining conditions and groups and Testing and reordering your filters.