Help

Add conditions to Zaps with filters

Last updated:

Filters allow Zaps to only perform actions on the items you want. With filters, you set a specific condition and the Zap will only continue if the data from your app meets that condition.

Example

You can set up a filter to only add customers to a list in your marketing app if they purchase a specific product. If the customer buys a different product, the filter stops the Zap and no further actions are performed.

To use a filter step, your Zap trigger must be set up.


1. Add a Filter step

  • In the Zap editor, click the plus + icon to add an action step.
  • Select Filter.
  • Click Continue.

You can add a filter at any point after the trigger and can use multiple filters in the same Zap.


2. Customize your filter rules

  • In the Filter Setup & Testing section, set up your filter rules:
    • In the first dropdown menu, select the field that you want the filter to check.
    • In the second dropdown menu, select the rule that you want to use.
    • In the third dropdown menu, define the value that you want to compare the field against.
  • Click Continue.

Let’s take the example of a Zap that triggers from new submissions to a form, and we only want it to run if the user who submitted has an email address that ends in `@zapier.com`. We can set up a filter that looks at the Email field from our trigger, choose the rule to be (Text) Contains, and set the value to be `@zapier.com`.

Tip

Your filter can have multiple criteria, and these criteria can be added using either AND or OR logic. Learn more about the difference between AND and OR logic in filters.

Note

Rules only work for the type of data specified in parentheses. For example, rules that begin with “(Text)” only work with text fields, and rules that begin with “(Number)” only work with number fields. Learn about the different types of filter rules.


3. Test your filter

If the test data would have passed the filter, you’ll see a confirmation that the Zap would have continued.

If the data would have passed the filter, a green message will be presented.

If the test data would not have passed the filter, you’ll see a confirmation that the Zap would not have continued.

If the data doesn’t pass the filter, you will see a gray message saying that the Zap would not have continued.

After the filter is created, you can continue setting up the rest of your Zap. The actions added to the Zap after this filter step will only be performed if the incoming data passes the filter.


Need More Help?

Contact Support

Tell us about your problem, and we’ll find you a solution or you can email support.
Get Help

Hire an Expert

We have a directory of professionals across the globe who are ready to help.
Find a Zapier Expert

Zapier Community

Connect with other Zapier users and industry professionals to get help crafting the perfect workflow.
Check out the community