Email Filters
Email filters provide powerful control over when automated emails are sent. Unlike field-level filters that show or hide individual fields within an email, email-level filters determine whether an entire email should be sent based on aggregate conditions across all analysis results.Email filters are applied before an email is generated. If the filter conditions aren’t met, no email is sent at all, helping reduce inbox noise and ensure recipients only get truly relevant notifications.
Understanding Email Filters vs Field Filters
Fabius offers two types of filtering for email subscriptions:| Filter Type | Purpose | Configuration Location | Example Use Case |
|---|---|---|---|
| Email Filter | Controls whether an email is sent at all | Email Template configuration | Only send emails when any score is below 3 |
| Field Filter | Controls which fields appear within a sent email | Individual field settings | Hide individual scores unless they’re extreme values |
Accessing Email Filters
Email filters are configured at the template level:- Navigate to Settings → Subscriptions → Email
- Click on a template to open its configuration
- Look for the “Email Filter” section near the top of the page
- Click “Edit Filter” to open the visual filter builder
Only users with permission to edit email templates can modify email filters.
Visual Filter Builder
The visual filter builder provides an intuitive interface for creating complex filter conditions without writing code.Basic Interface
The filter builder displays your conditions in a tree structure:- Conditions: Individual rules that evaluate to true or false
- Groups: Containers that combine multiple conditions with AND/OR logic
- Drag & Drop: Reorganize conditions and groups by dragging them
Available Condition Types
Score-Based Conditions
| Condition | Description | Example |
|---|---|---|
| Any score ≥ | At least one field has a score greater than or equal to the threshold | Any score ≥ 8 |
| Any score ≤ | At least one field has a score less than or equal to the threshold | Any score ≤ 3 |
| All scores ≥ | Every field with a score meets or exceeds the threshold | All scores ≥ 7 |
| All scores ≤ | Every field with a score is at or below the threshold | All scores ≤ 5 |
| Field score ≥ | A specific field’s score meets or exceeds the threshold | Budget score ≥ 8 |
| Field score ≤ | A specific field’s score is at or below the threshold | Authority score ≤ 4 |
Aggregate Conditions
| Condition | Description | Example |
|---|---|---|
| Average score | Compare the average of all scores | Average score > 7 |
| Maximum score | Compare the highest score | Maximum score ≥ 9 |
| Minimum score | Compare the lowest score | Minimum score < 3 |
| Score count | Compare the number of fields with scores | Score count > 5 |
Field Presence Conditions
| Condition | Description | Example |
|---|---|---|
| Has field | Check if a specific field has any value | Has field “Next Steps” |
Building Filter Logic
Creating Simple Filters
- Click “Add condition” to add your first rule
- Select the condition type from the dropdown
- Configure the parameters (field name, threshold value, operator)
- The filter automatically saves as you make changes
Scenario: Only send emails for low-performing calls
- Add condition: “Any score ≤ 3”
Creating Complex Filters with Groups
For more sophisticated logic, use groups to combine conditions:- Click “Add group” to create an AND or OR container
- Add conditions or nested groups within
- Select whether conditions should use AND (all must be true) or OR (any must be true) logic
Scenario: Send emails for either very good or very poor performance
- Create an OR group
- Add condition: “Any score ≥ 9”
- Add condition: “Any score ≤ 2”
Advanced Multi-Level Filters
You can nest groups to create sophisticated logic:Scenario: Alert on poor performance with high volume
- Create an AND group (root level)
- Add condition: “Any score ≤ 3”
- Add a nested OR group
- In the OR group, add:
- “Score count > 10”
- “Has field Critical Issue”
Drag and Drop Organization
The visual builder supports full drag-and-drop functionality:- Reorder conditions: Drag conditions up or down within a group
- Move between groups: Drag conditions from one group to another
- Create nested structures: Drag groups inside other groups
- Flatten groups: Drag all conditions out of a group to remove it
Common Filter Patterns
Performance-Based Filtering
Coaching Alerts
Only send emails when improvement is needed:Excellence Recognition
Celebrate high performance:Exception Reporting
Focus on outliers:Volume-Based Filtering
Comprehensive Analysis Only
Only send emails with substantial content:Quality Over Quantity
High-quality analysis with sufficient data:Field-Specific Filtering
Critical Field Focus
Send emails when specific important fields score poorly:Presence-Based Triggers
Send when certain fields are populated:Understanding Filter Behavior
Evaluation Process
- After Analysis: Filters are evaluated after an analysis completes
- Before Email Generation: If the filter returns false, no email is generated
- All Scores Available: The filter has access to all scores and fields from the analysis
- Real-time Evaluation: Each analysis is evaluated independently
Automatic Group Flattening
The filter builder automatically optimizes your logic:- Nested groups with the same operator (AND/OR) are flattened
- Single-condition groups are unwrapped
- This ensures the most efficient evaluation without changing the logic
Example:
OR(A, OR(B, C)) automatically becomes OR(A, B, C)Empty and Default Filters
- No filter configured: All emails are sent (equivalent to “true”)
- Empty conditions: Treated as “false” - no emails will be sent
- Invalid syntax: The builder prevents invalid configurations
Best Practices
Start Simple
Begin with basic threshold filters before building complex logic:- Test with a single condition first
- Gradually add complexity as needed
- Document your filter logic for team members
Consider Your Recipients
Think about what triggers are most valuable:- Managers: Focus on coaching opportunities (low scores)
- Executives: Highlight risks and exceptional performance
- Product teams: Filter for specific feedback types
Test Thoroughly
Before deploying to production:- Use test data with known score distributions
- Verify emails are sent/suppressed as expected
- Check edge cases (all high scores, all low scores, no scores)
Balance Signal vs Noise
- Too restrictive: Important emails might be missed
- Too permissive: Recipients get overwhelmed
- Aim for actionable insights that require attention
Combine with Field Filters
Use both filter types together:- Email filter: Determine IF to send
- Field filters: Determine WHAT to include
- Example: Send email if any score ≤ 3, but only show the low-scoring fields
Troubleshooting
Emails Not Sending
Check if the filter is too restrictive:- Review your AND conditions - all must be true
- Test with sample data that should pass the filter
- Try temporarily simplifying the filter
- Ensure the analysis is producing scores
- Check that field names in the filter match exactly
- Confirm the analysis configuration includes scored fields
Unexpected Email Behavior
Filter logic issues:- Review AND vs OR logic in groups
- Check for unintended nesting
- Verify threshold values are appropriate
- Save a simple test filter (e.g., “Any score ≥ 1”)
- Run an analysis to verify emails are sent
- Gradually add complexity back
Visual Builder Issues
Drag and drop not working:- Ensure JavaScript is enabled
- Try refreshing the page
- Check browser console for errors
- The builder auto-saves, but verify the filter displays correctly
- Re-open the filter editor to confirm changes persisted
- Check for validation errors in complex expressions
Advanced Concepts
Performance Considerations
- Filters are evaluated efficiently on the server
- Complex nested logic has minimal performance impact
- The automatic flattening optimization improves evaluation speed
Interaction with Other Features
Email filters work seamlessly with:- Email subscriptions: Each subscription can use different templates with different filters
- Analysis configurations: Filters can reference any field from the configuration
- Custom fields: If included in analysis, custom fields can be used in filters
Future Enhancements
Based on user feedback, future versions may include:- Filter templates for common patterns
- A/B testing different filter configurations
- Analytics on filter effectiveness
- Time-based conditions
Examples Gallery
Sales Coaching Filter
Executive Escalation Filter
Product Feedback Filter
Next Steps
- Configuring Templates - Customize field display within emails
- Best Practices - Optimize your email strategy
- How It Works - Understand the complete email pipeline