Contact Us

If you still have questions or prefer to get help directly from an agent, please submit a request.
We’ll get back to you as soon as possible.

Please fill out the contact form below and we will reply as soon as possible.

  • Contact Us
  • Home
  • Zaps
  • Do more with Zaps

Use conditional logic to filter and split your Zap workflows

Written by Owner

Updated at August 20th, 2025

Contact Us

If you still have questions or prefer to get help directly from an agent, please submit a request.
We’ll get back to you as soon as possible.

Please fill out the contact form below and we will reply as soon as possible.

  • Tables
    Work with tables Manage tables Create tables Troubleshoot Zapier Tables
  • Product updates
    Product updates: January 2023 Product updates: March 2023 Product updates: February 2023 Product updates: April 2023 Product updates: May 2023 Product updates: June 2023 Product updates: July 2023 Product updates: August 2023 Product updates: September 2023 Product updates: October 2023 Product updates: November 2023 Product updates: December 2023 Product updates: January 2024 Product updates: February 2024 Product updates: March 2024 Product updates: April 2024 Product updates: May 2024 Product updates: June 2024 Product updates: July 2024 Product updates: August 2024 Product updates: September 2024 Product updates: October 2024 Product updates: November 2024 Product updates: December 2024 Product updates: January 2025 Product updates: February 2025 Product updates: March 2025 Product updates: April 2025 Product updates: May 2025 Product updates: June 2025 Product updates: July 2025 Product updates: August 2025
  • Zaps
    Zap basics Zap history Troubleshoot Zaps Manage your Zaps Do more with Zaps
  • Your Zapier account
    Plans Billing Account profile Notifications Data privacy & security Get help User roles and permissions
  • Interfaces
    Troubleshoot Zapier Interfaces Create an interface Use interface components Manage interfaces
  • Canvas
    Create a canvas Collaborate on a canvas
  • Chatbots
    Add logic and knowledge to chatbots Troubleshoot chatbots Create chatbots Manage chatbots
  • Getting started
    Intro to Zapier Set up your Zapier account Use case templates
  • Agents
    Create agents Manage agents Troubleshoot agents
  • MCP
    Set up MCP
  • Built-in tools
    Filter & Paths Formatter Schedule & Delay Email, IMAP, SMTP, & Email Parser Webhooks & Code Storage, Digest, & RSS Sub-Zap & Looping Other built-in tools Custom Actions & API Requests Functions AI by Zapier & AI actions Copilot Human in the Loop
  • Lead Router
    Create routers
  • Apps
    Connect and manage your app connections AI apps on Zapier Apps on Zapier
+ More

Table of Contents

What are filters and paths? What can you do with filters and paths? Understanding how to set up filters and paths Setting up rules Adding additional rules Setting up Paths Next steps

With conditional logic, you can define specific criteria, or conditions, that determine whether later action steps in your Zap will run or not. Conditional logic can be framed as: “If A happens, then do X. If B happens, then do Y.” The Filter and Paths tools allow you to use conditional logic in your Zaps.

Available on plans:

A green checkmark

Free

A green checkmark

Professional

A green checkmark

Team

A green checkmark

Enterprise

What are filters and paths?

With the Filter tool, you can create a single set of conditions to control your workflow. In this case, the filter step determines whether the Zap continues running subsequent steps or not. Use Filter in linear workflows where you only need one set of steps to follow afterward.

With the Paths tool, you can create multiple conditions to control your workflow. Each condition starts a new branch in your workflow with its own set of steps afterward. Depending on how you set up your path conditions, one, some, all, or none of your branches can run.

  Filter Path
Number of rules within a condition One Two or more
Workflow shape Linear Branched
Subsequent workflow outcome Workflow will run or not One, some, all, or no branches will run

Side-by-side comparison of a Zap using Filter in a linear workflow versus a Zap using Paths in a branched workflow

What can you do with filters and paths?

Filters and paths let you build more complex workflows. They act as powerful decision points within your Zaps, determining whether the Zap continues and what actions are taken based on specific conditions. They allow you to implement the following logic:  “If A happens, then do X. If B happens, then do Y.”

For instance, if you have an online shoe store that emails discount coupons to customers, you can use a filter to ensure you’ll only send a 30% boot discount coupon to customers interested in boots. The filter step will ensure you do not email the boot discount to customers who are not interested in boots.

Using paths in the online shoe store example, you can send targeted emails to different customer groups. One path sends a 30% discount coupon to customers interested in boots. The second path sends a 10% discount coupon to customers interested in sandals. If a customer happens to like both boots and sandals, they’ll get both emails.

Learn more about ways to use Filter and Paths steps:

  • How to add logic and filters to your Zaps to close deals.
  • Need to use multiple email marketing tools? Connect everything with Zapier.
  • How to get different results with one Zap

Understanding how to set up filters and paths

Setting up rules

Each rule in either a filter or a path is made up of the following logic:

“Only continue if {field} {logic} {value}.

To set this up, rules have three parts.

  • The first input box is where you select a field from a previous step. The rule will evaluate that field’s value against the rest of the rule conditions.
  • The second input box is where you select a condition for your rule. This is the logic for the rule.
  • The third input box is where you enter a value that the condition will compare against the field. You can map a field from a previous step if you need to compare against a dynamic value.
    • These conditions do not contain a third input box:
      • (Boolean) Is true.
      • (Boolean) Is false.
      • Exists.
      • Does not exist.

In the example below, the Zap will only continue if the value in the Occupation field exactly matches “Writer”. Learn more about filter and path rules in Zaps.

Displaying a rule in a Filter condition

Adding additional rules

When adding additional rules, you must use select either “and” or “or” logic to join rules together. With “and” logic, the Zap will only continue if both rules are satisfied. With “or” logic, the Zap will continue if at least one of your rules are met. Learn more about “and” and “or” logic.

Setting up Paths

You must also select the kind of rules to use in your path conditions.

  • Custom rules
    • This path will run if your custom rules are met. With custom rules, you can use “and” or “or” logic when adding multiple rules to your path branch:
      • And logic: your data must match all of the path rules for the Zap to continue.
      • Or logic: your data must match at least one of the path rules for the Zap to continue.
      • Learn more about the difference between “and” and “or” logic.
  • Always run
    • This path branch will always run. Selecting a path branch as “Always run” means all steps within a path branch will run each time the Zap runs. You can have multiple path branches within a path group set to  “Always run”.
    • The path rules “Always Run” and “Fallback” are mutually exclusive, only one of them can be active in a path group at a given time. However, you can combine either of them with “Custom rules”.
  • Fallback
    • If no other path branches within the group run, this one will run. A fallback branch will run if no other path branch's rules are met. You can only set one path branch as a fallback, per path group. If you have Autoreplay enabled, fallback branches will only run after all replay attempts fail.
    • You can designate any path branch as a fallback. If you do, it automatically becomes the last branch (far right) within the path group. It's also renamed to "Fallback" (this name cannot be changed).
    • The path rules “Always Run” and “Fallback” are mutually exclusive; only one can be active in a path group at a given time. However, you can combine either of them with “Custom rules.”
    • Alternatively, you can use custom error handling instead of Paths, to handle any errors that occur in your Zap.

Next steps

For complete step-by-step instructions for setting up your Filter and Paths steps, refer to:

  • Add conditions to Zap with filters.
  • Add branching logic to Zaps with Paths.

Was this article helpful?

Yes
No
Give feedback about this article

Related Articles

  • Transfer existing data using a spreadsheet
  • Modify test records in Zaps
  • Create reusable variables to use in Zaps
  • How to change values in your workflows
  • Data storage solutions for your workflows

Copyright 2025 – OBZ-Zapier.

Knowledge Base Software powered by Helpjuice

Expand