Okay, let’s extend this even further. What if we have a complex workflow that we want to split up and pass data in between multiple workflows, we can do this with the new linking feature.
So we’re going to extend this example by first of all, dragging on another decision step.
And what we’re going to do is we’re going to branch the data looking at the bitcoin price.
And what we want to do is we want to see if it is greater than 40,000.
If it’s greater than 40,000, is going to go up the true branch. And if it’s less, it’s going to go down the false branch. And we’re going to handle it differently in each case.
So what we can do with this is we can use the new linking feature to link to another template that will do an entirely different set of things with the data. What we can do here is we put down the true branch. And we once again, set up the data we map for, we define the data that we want to pass on. So in this case:
Now, what we can do is we can select another integration templates that we want to link to. So in this case, I’m going to choose this workflow, we save that we can now mapping data from the previous steps that we want to send on to the workflow.
So this case, I choose those two.
Now, this is not active to work with yet because we haven’t set up the link in the receiving template. So if we go over to that.
All I’m going to be doing with this workflow is posting a Slack message if the price is high. So what you can do now is you open the linking utility and you now have the option of “Link From” so we’re going to start the workflow with this as the trigger object. Just connect that up for now. We go into the setup now we can see if it’s connecting.
And we have now available to us the fields we’re sending on so within the text here, I’m going to create my own merge field and combine the two.
So this when a channel is selected, we’ll post the coin and the price into your Slack channel.
If you go back into the original source template you can see the setup is now complete. And you can use multiple of these linking steps to branch your workflows into multiple smaller templates for easier management or however you want to organise your workflows.