What's the difference between "and" and "or" logic in filters and paths?
- 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
- Your Zapier account
- Interfaces
- Canvas
- Chatbots
- Getting started
- Agents
- MCP
- Built-in tools
- Lead Router
- Apps
Available on plans:
Free
Pro
Team
Enterprise
When you need to set up multiple rules for your Filter or Paths step, you can use one of two types of logic:
- And: your data must satisfy all of your rules.
- Or: your data must satisfy at least one of your rules.
If you have an email with the subject "Urgent help needed by Monday" and the following setup:
Filter condition | Will the Zap continue? |
"Subject" field contains "Urgent" and "help" | Yes - the subject contains both words. |
"Subject" field contains "Elective" and "help" | No - the subject only contains one word, not both. |
"Subject" field contains "Urgent" or "help" | Yes - the subject contains at least one of words. |
"Subject" field contains "Elective" or "help" | Yes - the subject contains at least one of the words. |
Learn about Filter and path rules in Zaps.