Add branching logic to Zaps with 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
Table of Contents
The Paths app lets you perform different actions in your Zap based on rules that you define. These rules determine whether the Zap will perform subsequent steps in the path. Paths use conditional logic: “If A happens in your trigger app, then do X. If B happens, then do Y.”
Available on plans:
Free
Pro
Team
Enterprise
Paths terminology
- Path step: this is a starting point for using Paths in your Zap.
- Path branch: a single vertical column of action steps in one path that only run when the path rules are met.
- Path rules: the conditions that determine whether the path branch will run.
- Path group: a set of path branches at the same horizontal level.
- Nested path step: a path group nested within a path branch.
1. Add a Paths step to your Zap
- In the Zap outline, click the Action step or the plus sign + to add a new action. A dialog box will open.
- Search for and select Paths. Two path branches, “Path A” and “Path B”, will automatically be created in a single path group (a set of paths that are on the same level).
(Optional) Rename your path branch
- Click the three dot icon next to a path branch rule.
- A dropdown menu will appear. Select Rename.
- An input box will appear. Enter a name for the path branch.
- Click the checkmark icon to confirm the new path name.
2. Create path rules
Rules determine whether a path branch should run. To create path rules:
- In your path branch, select the Path rules. The right sidebar will open to the Rules setup & testing tab.
- Select the type of rule you want to use for your path branch:
- Custom rules
- Always run
- Fallback
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.
Each rule requires three pieces of information:
- Field: in the first dropdown menu, select a field to be checked.
- Condition: in the second dropdown menu, select the condition for the field. Learn more about different path rule types.
- Value: in the third dropdown menu, enter the value the rule must meet.
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”.
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).
- You can set the rules for two path branches with opposite conditions to ensure your Zap acts correctly in all possible scenarios. For example, in Path A, you can use a rule that says "if the email address exists", and in Path B, the rule can be "if the email address does not exist".
- You can use custom error handling instead of Paths, to handle any errors that occur in your Zap.
- 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”.
3. Test your path rule(s)
- Click Continue to test your path rule(s).
Zapier will test your path rules based on the sample data in the fields used in your rules. At the bottom of the Rules setup & testing tab, a message will tell you if your Zap would or would not have continued down the path branch.
4. Add actions to your path
Add actions to your path the same way you would add actions to your Zap. You must add at least one action to each path branch.
5. (Optional) Add more path branches
You can add up to 10 path branches within the same path group. Path branches all run at once as long as their rules are satisfied. They do not run sequentially or separately.
This Zap’s Paths step contains 3 path branches:
- Path A
- Path B
- Path C
To add a path branch:
- Click the plus icon above the existing path branches.
- A new path branch will appear as “Path C”.
- Continue setting up your path rule(s) and action(s).
You can also copy and paste path branches or path groups.
6. (Optional) Add a nested Paths step
A nested Paths step lets you create up to 3 levels of path groups within a Zap. Path branches, including nested Paths steps, all run at once as long as their rules are satisfied. They do not run sequentially or separately.
To add a nested path step:
- Add a new action step where you want the new path to start.
- Select Paths as the app.
- A nested Paths step will appear, creating a single path group containing two path branches.
- Continue setting up your path rules and actions.
7. (Optional) Reposition path branches
You can reposition your path branches within a path group to organize your branching logic visually. Repositioning paths does not influence when the path branch will run.
To move a path branch:
- Hover to the left of the Path name. The icon will appear.
- Using the icon, drag the path branch into its new position.
- A pop-up message will appear to confirm the path branch has moved.
Additional info
How paths run
By default, path branches in Zaps created before June 30, 2025 use a feature called “parallel execution”. The Zap evaluates all path branch conditions at the same time to determine if the branch should continue running. All path branches run as soon as they pass evaluation, so the order of execution will depend on which path branches finishes evaluation first.
After June 30, you can opt into running path branches sequentially instead. This feature, “sequential execution”, evaluates and runs path branch conditions one by one in the order they appear in the Zap editor (left to right). This does not change the conditional logic of your Paths branches.
To opt in:
- Open your Zap in the Zap editor.
- In the left sidebar, select the Advanced settings icon .
- In the Path execution settings section, select Sequential execution
After September 30, 2025, sequential execution will become the only option.
When you switch to sequential execution, Zaps may behave differently if:
- You have multiple path branches that run at the same time.
- A path branch uses apps like Delay, Code, Looping, Digest, or Sub-Zaps.
- You rely on when a step runs across different branches (not just if it runs).
If this impacts your workflows, you can:
- Change the order of path branches. Branches now run top to bottom, then left to right, so the order will impact when steps run.
- Move time-sensitive steps higher up in your path branch.
- Split your Zap into multiple Zaps using Sub-Zaps if you need steps to run in parallel.
- Combine steps into the same path branch.
With sequential execution, if path A has a Delay step that delays for 1 day, and path B triggers a Slack message immediately, path B’s steps will be held until path A finishes. This could delay subsequent steps from running unless you reorder your paths.
Path limitations
- Each path group can have up to 10 path branches.
- Each Zap can have a maximum of 3 nested Path steps.
- Zaps are limited to 100 steps, including all steps within paths.
- You can only set up paths after adding a trigger to your Zap.
- Deleting a Paths step deletes all path groups within that step, including nested paths.
- Once you add a Paths step to your Zap, it must be the final step in your Zap.
- If you add a Paths step before the last step in your Zap, any subsequent steps will automatically be shifted into “Path A” (the first path branch).
- If a path errors, subsequent paths will still run.