When to use automation filters

Updated

This article covers the difference between triggers and filters for all types of automations.

How it works

Both triggers and filters are sets of conditions that determine who enter your automations.

  • A trigger determines who’s eligible to enter an automation and when.
  • A filter is additional criteria that a profile or triggering data must meet for profiles to enter or remain in the automation.
trigger-filter-2025.png
trigger-filter-2025.png

For example, you might want to send a message when someone views the pricing page (event trigger: page view) of your website, but only send that message to profiles that aren’t on a paid plan (filter: free plan).

You should think about triggers and filters separately to help differentiate the condition that triggers an automation from the state of the user going through it (or the data they’re related to). In the case of legacy segment-triggered automations, using a segment filter with a segment trigger may not matter when there’s no delay at the beginning of your automation.

How we evaluate filters

For most of our automations (see the exception for legacy segment-triggered automations below), we evaluate filters:

  • At the start of an automation

    • If trigger conditions are met but not filter conditions, we recheck up to 30 minutes.
  • During the automation - specifically, before workflow actions if you include filters in your exit conditions:

    campaign-exit-criteria-default.png
    campaign-exit-criteria-default.png
flowchart LR a{Are trigger
conditions met?}-->|yes|l{Are filter
conditions met?} l-.->|no, profile waits 30 min|g{Are filter
conditions met
after 30 min?} l-->|yes, profile enters automation|c g-->|yes, profile enters automation|c g-.->|no|i subgraph p [If exit conditions include filters, and a profile reaches an action:] direction LR c{Are filter
conditions met?}-->|yes|d[Send message
or take action] end c-.->|no|k[Profile exits automation] a-.->|no|i[Profile doesn't
enter automation]

Legacy segment-triggered automations

You know you’re working in a legacy segment-triggered automation if you can add a filter in the trigger panel:

Legacy segment triggerLatest segment trigger
Outlines what differentiates a legacy segment trigger from the latest segment trigger.
Outlines what differentiates a legacy segment trigger from the latest segment trigger.
Outlines what differentiates the latest segment trigger from the legacy segment trigger.
Outlines what differentiates the latest segment trigger from the legacy segment trigger.

When profiles meet the trigger condition, they start a journey. However, they won’t move through your workflow until they meet filter conditions. We pause their journeys until they meet your filter conditions, or they exit after a period of time.

If they continue forward, we will re-evaluate filter conditions only if the automation uses one of these exit conditions:

  • They stop matching the trigger segment or filters
  • They match the conversion criteria or they stop matching the trigger segment or filters
flowchart LR a{Are segment trigger
conditions met?}-->|yes, profile enters automation|l{Are filter
conditions met?} l-.->|no, profile waits|g{Is there a delay
at the beginning
of the workflow?} l-->|yes, profile moves
to next automation action|c g-->|yes, profile completes the delay then
moves to next automation action|c g-.->|no, profile enters
a grace period|h{Are filters met
after grace period?} h-->|yes, profile moves
to next automation action|c h-.->|no|m[Profile exits automation] subgraph p [If exit conditions include filters, and a profile reaches an action:] direction LR c{Are filter
conditions met?}-->|yes|d[Send message
or take action] end c-.->|no|k[Profile exits automation] a-.->|no|i[Profile doesn't
enter automation]

Looking for more info on grace periods? Learn about how they impact legacy segment-triggered automations.

 You cannot change the Frequency on segment-triggered automations that include filters.

The frequency is always “One time;” profiles only enter the first time they match the trigger criteria.

Types of filters

For automations triggered by events, forms, objects, relationships, or dates, you can add one or more segment filter conditions. A segment filter checks for profiles in or not in a segment. For example, you might want to send a message when someone views the pricing page (event trigger: page view) of your website, but only send that message to profiles that aren’t on a paid plan (filter: free plan segment).

For object and relationship automations, you can also add object or relationship filters.

  • An object filter refines your audience based on the attributes of the object they’re related to.

  • A relationship filter refines your audience based on the attributes on profiles’ relationships to the object.

     We check filters, not triggers, during an object automation

    For object and relationship-triggered automations, we do not check trigger criteria during an automation after the initial match. Therefore, if you want specific object or relationship attributes checked during journeys, you must include them as filters and choose an exit condition that checks filters.

In legacy segment-triggered automations, you should weave filter criteria into the trigger conditions. But see below to understand when to include a separate filter.

For automations that use the latest “Attribute or segment” trigger or a webhook trigger, you can’t add filters on the trigger. Add all conditions to the trigger criteria instead.

FAQs

Do profiles still get a journey for the automation if they don’t meet the filter?

For legacy segment-triggered automations, yes. For all other automations, they won’t if they don’t match the filter after a 30 min pause. Check out Journeys for more information.

Legacy segment trigger vs segment filter

You might be wondering, “When do I put my filter conditions in my segment trigger criteria?” In most cases, you should! But if you want profiles to trigger an automation based on segment criteria AND filter them out after a certain time period, you’ll want to create both a segment trigger and a segment filter. Think of this as a way to ensure profiles move through this automation only when it’s relevant to them and not accidentally later on.

Consider the example below - profiles have just signed up for your service and should receive a special offer if they perform certain actions within a timeframe.

Let’s say you want to send an automation to profiles that have viewed your pricing page at least once within 10 days of signing up. Your goal is to convince them to upgrade with a special “newbie” offer. Here’s how to set it up:

  1. Trigger an automation based on profiles joining the “Signed up” segment. Filter your automation based on “has viewed pricing page at least once”.
  2. Set your exit condition to include filters.
  3. Add a 10-day delay to the beginning of your workflow, followed by your message with a special offer.

This means: as soon as someone signs up, they enter the automation and the 10-day clock starts ticking. After 10 days, the automation will send messages if they meet the filter criteria (viewed the pricing page at least once). Otherwise, profiles would not get this offer and would exit the automation. Whether they move through the whole automation or not, these profiles will never be eligible for this automation again because profiles can only enter a segment-triggered automation with a filter the first time they match the criteria.

If you had combined both conditions into the trigger, the 10-day automation clock would not start ticking until profiles had both signed up AND viewed the pricing page once. This combination of conditions could happen at any time, no matter when they signed up, so your customer could receive this newbie offer a year later.

Copied to clipboard!