Paths let you build advanced workflows to perform different actions based on different conditions. Paths use conditional, if/then logic: if A happens in your trigger app, then do X. If B happens, then do Y, and so on.
With each path, you set up rules and decide which actions should occur when those rules are met. You can add up to ten paths and three nested paths (paths within a path) in your Zap. You can only set up paths after adding a trigger to your Zap, and paths must be the final step of your Zap.
Paths are only available on Professional plans and higher. If you’re on a Free plan, you can get a free 7-day trial of paths by adding a paths step to a Zap in the editor.
1. Add a path to your Zap
- In the Zap editor, ensure you’ve set up your trigger.
- Click + to add a step.
- Search for and select Paths. Two paths, A and B, will automatically be created in a single path group (a group of paths on the same level).
- Select Path A. This is your first path.
- In the Name field, give your first path a name that allows you to identify it.
- Click Continue.
Zaps are limited to 100 steps, including all steps within paths.
2. Set your path rule(s)
In the Rules section, set the rule(s) for your path using the three dropdown menus. Each path rule requires three pieces of information:
- Field: in the first dropdown menu, select a trigger field to base the rule on.
- Rule: in the second dropdown menu, select the rule for the trigger field. Learn more about different rule types.
- Value: in the third dropdown menu, enter the specific value the rule must meet.
There are two types of logic for multiple path rules:
- AND logic: to identify trigger data that meets all the path rules, click the + AND button.
- OR logic: to identify trigger data that meets at least one path rule, click the + OR button.
Learn more about the difference between AND and OR. When you’re done setting up your rules, click Test & Continue.
If the data checked by the Zap matches more than one path, all matching paths will be used.
3. Test your path rule(s)
In the Filter Setup & Testing section, Zapier will test your path rules based on your sample data. A message will inform you if your Zap would or would not have continued down this path based on the sample data.
- To view the specific sample data that was tested, click the down arrow to expand it.
- Click Continue.
4. Add actions to your path
Next, add actions to your path the same way you would add actions to a regular Zap. You must add at least one action to a path before you can build another path.
When you’re done setting up your action(s), click Set Up Next Path.
5. Add more paths to your Zap
You can add up to ten paths in your Zap, and up to three nested paths (paths within a path). To set up your paths, repeat the steps above.
Paths must be the last step in a Zap. If you want the same actions to occur for each path at the end of your Zap, add the actions to each path.
To implement if/else logic, you can set the rules for two paths with opposite conditions. For example, in Path A: if the email address exists, and in Path B: if the email address does not exist.
When you’re done setting up all your paths, turn on your Zap.
Tasks are counted in paths in a similar way to filters. Learn more about how tasks are counted in paths.