Merge Routes

Hey,

This might just be me being a new user, but I can’t work out a way to have a router split into 2 streams then rejoin them.

This is what I have configured:

What I’d like is for Create parent 2 to happen if there is information on parent 2 in the variables, then continue to parent 1, child and data.
But I’ve had to duplicate parent 1, child and data for when parent 2 doesn’t exist as I can’t work out how to merge the streams back together.

I don’t know if there is a better way to have it only carry out the parent 2 step if there is data without using a router?

Any help would be greatly appreciated.

Hey so as far as I know there isn’t a way to merge after using a router.

Not sure what you have in the filters shown but I would use a Basic Filter (if exists) and set the variable to whatever you have for Parent 2. It will only continue if Parent 2 data exists.
Then for the filter below you can create the same filter but for Parent 2 doesn’t exist.

Alternatively, it seems like Parent 1 always exists in your scenario, if that is true then you can just have that be created first and then have Parent 2 be created 2nd if it exists, you’ll still have to use a router I believe but it will be slightly later in the workflow which might make it a bit easier to work with.

Feel free to message me and id be happy to help you out if you have any further questions.

1 Like

@ScottyH this is exactly what the router magic formula by Daniel Zrust – App Solutions Architect at Make, is talking about.

You can’t merge them, but you can set a “final” route and get all the variables from the other routes.

For more information, see Router Magic Formula below

Here are some useful links and guides you can use to learn more on how to use the Make platform, apps, and app modules. I found these useful when I was learning Make, and hope they might benefit you too —

General

Help Center Basics

Articles & Videos

samliewrequest private consultation

Join the Make unofficial Discord server!

1 Like