How it works
- Define a condition using an expression
- If the condition is true, execution continues to the next node
- If the condition is false, execution stops for this record
- Stopped records are marked as “filtered” in execution logs
Configuration
| Property | Description |
|---|---|
| Condition | An expression that must be true for execution to continue |
Writing filter conditions
Basic comparisons
Check for required values
Exclude specific values
Combine conditions
Common use cases
Quality gate for leads
Only process leads that meet minimum criteria:Require essential data
Stop processing if required fields are missing:Exclude competitors
Filter out competitor domains:Prevent duplicate processing
Check if the record was already processed:Validate enrichment results
Only continue if enrichment was successful:Skip test data
Filter out test or internal records:Filter vs. Branch
Choose the right action for your use case:| Scenario | Use Filter | Use Branch |
|---|---|---|
| Stop processing if condition fails | ✅ | |
| Need to handle both outcomes | ✅ | |
| Simple gate/quality check | ✅ | |
| Take different actions per outcome | ✅ | |
| Log or track failed records | ✅ |
Filter on arrays
When working with search results or lists:Check if array has items
Check if array has minimum items
Check array contents
Best practices
Filter early
Filter early
Place filters early in your workflow to avoid wasting API calls and credits
on records that will be filtered later.
Be explicit about requirements
Be explicit about requirements
Make your filter conditions clear and specific. Future you should understand
why a record would be filtered.
Consider using Branch instead
Consider using Branch instead
If you need to track or handle filtered records (log them, send alerts), use
Branch instead of Filter.
Test with edge cases
Test with edge cases
Test your filters with null values, empty strings, and unexpected data to
ensure they behave correctly.
Monitor filter rates
Monitor filter rates
If most records are being filtered, your filter might be too strict or your
data source might have quality issues.
Example: Lead qualification pipeline
A workflow with multiple quality gates: 1. Start → Receive inbound lead 2. Filter: Has required fieldsRelated actions
Branch
Handle both pass and fail outcomes explicitly.
Switch
Route based on multiple possible values.
Scoring
Calculate scores to use in filter conditions.
Variables
Compute complex conditions before filtering.

