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
- Go to Filters → create or edit a filter
- Click Use sample at the top of the filter rules panel
- Select a template from the list
- The sample pre-fills the rules, logic, and action
- Customize any values you need to change
- 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.