Best answer

Is there a way to merge paths back together?

  • 18 September 2019
  • 5 replies
  • 3201 views

Userlevel 1

Does anyone know how (or if it is possible) to rejoin paths?

For example, a person signs up on one platform (a survey, a webinar, a whatever) and I want to add them to a CRM but I first have to check whether they are in the CRM or not. If they aren't they have to be added (and possibly have some initial tags added that someone already in the CRM would already have) so I split the path in two. But after that I want execute the same functions because I want to record something in the CRM about the actions they have taken.

From what I can see I have to duplicate the steps on each path but maybe I am missing something.

Maybe it is possible to simply call another Zap from the first one and have the extra functions in that second Zap or simply trigger that second Zap by adding the data from both paths to a Google Sheet and running from there.

Any suggestions on how to make this supper simple are appreciated :-)

Many thanks in advance.

Paul


icon

Best answer by TheDavidJohnson 18 September 2019, 02:22

View original

This post has been closed for comments. Please create a new post if you need help or have a question about this topic.

5 replies

Userlevel 5

Hi @pauljlange

First, I'd be curious about which CRM you're using. Some have a function that will handle the duplicate checking automatically when the contact is added. One example that comes to mind (since we work with it often) is Infusionsoft. Their standard Zapier integration actually allows you to configure duplicate checking and add or update the lead (depending upon whether it already exists or not) within one Zap step.

If the CRM you're working with doesn't have a capability like the one I described, it may allow you to run a "Search step" which you could use to check for the contact before proceeding. You could then use Paths to set up conditional logic for how to proceed based upon the results of the search step (i.e. Path A adds the contact if it wasn't found in the search step, Path B updates the contact if it was found).

If you always want to execute the same functions next, you could build one Zap to execute the next steps for each. This probably gets more to the heart of your question. Your "next steps" Zap should begin with a Webhook trigger, and then at the end of each of your Paths, use Webhooks by Zapier to send a webhook to the URL that is the Trigger Step for your "next steps" Zap. The webhook step at the end of each of your "paths" would need to pass appropriate data (e.g. Contact ID for your CRM plus any specific data points that your "next steps" Zap might need to refer to) which will then be received by the Webhook at beginning of the "next steps" Zap. From there, you can add whatever actions you need, and you don't need to worry about always maintaining multiple copies of the same steps.

You could also use a Google Sheet like you mentioned, but the Webhooks are a little cleaner — at least the way I look at it. You're not pushing data out of Zapier and then bringing it back in — at least not in as complex a manner.

I hope this makes sense! By all means let me know if I muddied the waters for you here. I'd be happy to clarify.

Cheers!


Userlevel 4

I like the idea of using webhooks in that way @TheDavidJohnson , though, we would be keen too on merging paths like @pauljlange suggested, in a number of different scenario's.

The problem with that webhook approach is a workflow ends up getting spread over multiple zaps which is more challenging for a new person to unpack if they have to fix something, as opposed to having the whole flow in one zap.


Userlevel 5

Fair enough, @Optimi — one Zap would be simpler, on the face of it.

On the other hand, a "modular" approach allows you to reuse a given sequence of steps that you package up as a single Zap from an unlimited number of "source" Zaps. It's a little like breaking out a function when you're writing software. Rather than have to write it every time, you can just "call" it when you need it.

For now, since merging multiple branches back into a single branch within a Zap is not possible, I'm not sure there's a better way to handle a situation like the one that @pauljlange articulated. The more I've thought about it, the more potential difficulties I see with even trying to create that functionality. But given the amazing things that Zapier engineers have built in the past, who knows? Maybe they'll find a way to make it happen!


Userlevel 7
Badge +10

@TheDavidJohnson Seemingly merging paths can work - if you check out Integromat they do it pretty nicely.

Although when you’re getting to this level of complexity I agree that breaking out the zaps in the way @pauljlange describes is better from a troubleshooting/maintenance point of view.


Userlevel 5

@Andrew_Luhhu — I'm sure it's technically feasible, I didn't mean that, exactly. I was specifically looking at Zapier's architecture and imagining the difficulties involved. It can be difficult to keep users out of trouble, and reuniting divergent paths means that you end up with potentially very different data structures and outcomes and so forth. I could definitely see why it might be better to avoid that scenario. But again, there are much smarter people than me working on this stuff! Cheers!