How Filter Works

Stop users from continuing through the workflow if they don’t meet specific criteria. Users who don’t match the filter condition are removed from the workflow, while those who match continue to the next action.

Configuration

Inputs

Condition
object
required
Define the criteria that users must meet to continue through the workflow. Uses the same condition system as If/Else actions but only continues on true results.

Outputs

condition_result
boolean
required
Whether the condition was met. Only users with true results continue through the workflow.

Use Cases

Active Users Only
Condition: user.last_login_date > 30 days ago
Result: Only recently active users continue through workflow
Subscription Status Filter
Condition: user.subscription_status = "active"
Result: Only active subscribers receive promotional content
High-Value Customer Targeting
Condition: user.ltv > 1000
Result: Only high-value customers receive premium offers
Geographic Filtering
Condition: user.country = "United States"
Result: Only US-based users receive region-specific content

Best Practices

Clear Filter Criteria
  • Define specific, measurable conditions
  • Use precise comparison operators
  • Test conditions with sample data
Consider Workflow Impact
  • Plan for users who don’t pass the filter
  • Monitor filter effectiveness and conversion rates
  • Adjust criteria based on business goals
Performance Optimization
  • Use efficient conditions that can be evaluated quickly
  • Avoid overly complex nested conditions
  • Consider caching frequently accessed user properties