Tuesday 23 October 2018

Introducing Zapier Paths: A Smarter Way to Build Conditional Workflows

Life and work are filled with decisions, the forks in the road that add up to your destination. One order gets shipped immediately, while another needs to be customized. Some emails can get an automated answer, others need a custom reply a detailed solution. It all depends on tiny factors and what you want to accomplish.

Zapier’s new Paths tool is built to navigate those twists and turns with conditional workflows. Building on multi-step Zaps, Paths let one Zap (our word for automated workflows) do different tasks depending on the data you provide. It’s a choose-your-own-adventure story for your work.

A single Zap with Paths could automatically reply to routine messages, assign tough tickets to specific team members, or prioritize the most urgent messages depending on the message's details. It could print shipping labels for most orders while emailing customers if they didn’t include their full address. It can figure out the best thing to do, based on data, then do it automatically.

With Paths, “Zapier allowed me to skip coding and go straight for what I wanted to achieve,” says LiveChat customer success manager Marcin Borowski after building a Paths-powered automated email workflow. Here’s how you can skip the hardest part and build the conditional workflows for your critical tasks need.

Introducing Paths

Paths by Zapier

Zapier’s an app automation platform that connects over 1,300 apps—tools like Asana, Google Sheets, and Salesforce that businesses around the world rely on to get work done. When something happens in one app—say, a new contact is added to Salesforce—Zapier can then do tasks in other apps for you, perhaps checking for that contact in a Google Sheets spreadsheet then adding a new task for your team in Asana.

That works great when everything needs the same results. But what if, as Felix and Fingers’ pianist Greg Percifield says, you have “similar tasks with slightly different outcomes?”

Previously, you'd need to build multiple Zaps to achieve this. Now you can use Paths to do it in one Zap. Paths let you split your Zap into the different outcomes your data needs. Your Zap starts with a trigger app that tells Zapier something happened: For example, someone bought your product, emailed your team, created a new project, found a bug to fix. Zapier watches for that new thing. Then when it comes in, every purchase, email, project, and bug are unique. So a Path tells your Zap what to do based on specific rules you choose. It’s a conditional workflow that lets you plan for multiple outcomes.

Felix and Fingers, for example, needed to send different order amounts to QuickBooks, depending on what customers entered in a form. Little differences that add up to a big difference. Paths solved it with one Zap. “Rather than creating 3 unique zaps, we are able to create 1 Zap with 3 scenarios,” says Percifield.

How to Build a Zap With Paths

A Typeform form with options
Start with something that has multiple choices—something where new entires are unique

Start with a little planning. “Write down your flows on paper and simply copy it in Zapier,” suggests Expedia’s Johannes Ganter, who uses Paths to run different workflows based on languages, partners, employees, and more.

Use that time to think through what you need to automate. Maybe you have an order form with three products, and each one needs to be handled slightly differently. One means your customer needs an email, another means your team needs a notification so they can make the custom order and a task on the to-do list, so they don’t forget, and the last needs custom data looked up in a database before shipping it. Or something like that. Think through what starts your workflow, what your team needs to do depending on each variation, and the apps you use in each step.

Then start building. With our order form example, we might have a form in Typeform that lets customers choose a baguette, donut, or croissant. Simple enough. Just make sure your trigger app’s new items include the options you need Zapier to track.

Zapier trigger
Start a Zap as normal with any trigger app you need

Now open Zapier, and make a Zap with your trigger app. We’ll select Typeform’s New Entry trigger, connect our Typeform account to Zapier, and select the order form. Then, when Zapier tries to pull in a sample form entry, open your Typeform form in a new tab, fill it out with your first order option and the other form details, and submit the entry. Zapier will pull in that form entry to help build your Zap.

You’re building multiple workflows, though, and one sample entry isn’t enough. Click the Get More Samples button, then go fill out your order form again, this time selecting a different product. Repeat that to get samples of each variation you need.

Then, if you want, you could add action steps to your Zap. If you want to log every new order to a Google Sheets spreadsheet, say, add a Google Sheets Create Spreadsheet Row step right after your form trigger. You only need the path once your Zap is doing steps that differ based on the form entry.

Now you’re ready to build a Path. Click the Add a Step button on the left, and select Path.

Zapier Paths Demo

Paths aren’t your standard Zap steps. Add a Path to your Zap, and you’ll get a description of Paths in the main editor, along with new A and B buttons in the left sidebar. Select A to edit the first part of your Path—and your Zapier editor will take on a new hue, with the Path rule first followed by any steps you want your path to follow with this data. When finished, click Save and Close in the top right corner–or click the menu on the top left to jump between steps and go back to your core Zap.

Zapier Path Name

Start with your first path, and click A. There, add a name to your path, something that will help you remember what this workflow does and why it’s different from the other paths in your Zaps.

Zapier Path Rules

Then add rules for this path. When will it run? Say we’re watching for people who order donuts, and we want to email them about their order. We’ll have Zapier watch the order form for a donut, and make sure they included their email address.

Path rules work exactly like Zapier’s filters. They’re conditions for why your Zap should run. Only here, you’re setting why this path should run. The other parts of your Path get their own rules that set when they run.

Test Zapier Path rules

With Path rules added, it’s worth making sure they work the way you expect. Click Test & Continue, and Zapier will show if this path would have run with the data. Either way, you can continue setting up your path—though it’s easiest to make sure your Zap will work correctly if your sample data matches this path’s rules.

Add action step to Zapier Path

What’s your Zap going to do now? There are thousands of options. You can now add any other Action apps to your Zap to do anything you want. Say you want to send your team a Slack message about the donut order. Add a Slack action, and fill in the details as normal, clicking the + icon on the right of input fields to select the order details you want to send to your team.

You can add as many additional steps to your path as you need to handle the donut order. When finished, click the blue Setup Next Path button on the bottom right of your last Action step to build out path B.

Setup Zapier Path B

Then you start all over again, adding a Path name and rules that set when it will run. Add the steps you want to this part of your Path as before—perhaps adding the baguette customer to an ActiveCampaign email list to get soup recipe ideas to go along with their crusty bread, or including a Gmail step to send them an email thanking them for their order.

Add extra path

Two Paths aren’t enough? Don’t worry. Go back to your main Zap screen, and click the + button beside your A and B steps. Zapier will another step to your Path to build the detailed workflows you need.

Paths inside Paths work, too—you can add a Nested Path as a step inside your steps, also, to build workflows that cover all the possibilities.

And then, you’re done. When your workflow’s entirely built out in your Paths Zap, test and turn it on. Then sit back, and the next time an order comes in, or a new contact signs up for your email list, or a new project starts, Zapier will figure out what to do—then do it all for you in one Zap.

What Can You Do With Paths?

“Paths are incredibly logic for any process manager and will simplify your setup by miles.”- Johannes Ganter, Expedia

No one’s an expert at everything. That’s where org charts are a helpful thing. If you know this person’s great at this, and that person’s great at that, you can assign tasks to the right person, and everyone will do better work.

Dell's social business manager Omkar Mishra needed a better way to handle intake requests. “We were trying to resolve request assignment within our process flow based on different selections by our audiences, and assign things the best way,” says Mishra. He’d halfway solved it with Zaps—though previously, he needed one Zap for every different intake request.

“Paths helped us solve that scenarios perfectly,” says Mishra. It let him build out unique workflows for every different request, each with their action steps that assign work to the right people automatically.

Expedia uses Zapier Paths to run a wide range of workflows, with different steps depending on the team, language, or partner involved. “Paths are incredibly logic for any process manager, says Expedia senior process manager Johannes Ganter, “and will simplify your setup by miles.”

Get Started With Paths

Best of all, it’s easy to start using Paths in your Zaps. If you’re already a Zapier user, you can begin using Paths today in new Zaps—or you can add them to any Zaps you’ve already made. If you’re not a Zapier user yet, sign up for a free Zapier account to try out all of Zapier’s features, including Paths, for free for two weeks.

Paths comes with all Zapier Professional and higher plans. If you’re using a Zapier Free or Starter plan, you can still try out Paths for free. Just add a Path to your Zap to start a new 7 day trial so you can test out Paths and see how they help you get more done in less time.

Paths might be that thing you’ve been looking for to make your work more efficient. As Dell’s Omkar Mishra found, Paths “helps my team automate the manual process of workflow management and saves around 3-4 hours per week.” It could do that or more for you, too.


Learn More About Zapier

New to Zapier? Here are resources to help you get started:



source https://zapier.com/blog/zapier-paths-conditional-workflows/

No comments:

Post a Comment