Conditional logic is an automation used in many tools online. From signup forms and flows to email marketing, conditional logic works to gather more information about the users making contact with you and your brand.
Simply put, it allows you to automatically make choices based on an action that has occurred. It not only allows you to learn more about what your audience does and doesn’t like, but it can help them to get what they really need.
Conditional logic is used to split and redirect your customers to different steps of the flow using some conditions and these conditions can be based on
i) Input provided by the Customers
ii) Data picked up by Upflowy
Let us take a sample flow and see how this works:
In the above pic, Place ID is the component where you allow customer's input. Based on what the customer chooses for this option, you can redirect them to different steps (Australia, USA and Other).
To enable conditional logic, you would have to click on the '+' after any step and click on 'Add Logic Split'.
Once you click on 'Add Logic Split', you will see the below options which tells you how you want your subsequent steps to follow after the conditional logic is performed.
Once you choose one the above options, you will now have the option of setting the logic for the rest of your flow. You can have one condition or multiple conditions added in the same step. The conditions can be based on customer's input (form IDs) or User data that is picked up automatically like Country, Browser, UTM_source etc.
Once the conditions are set and the corresponding flows are set, you can still go on add a more conditions by clicking on the '+' next to the IF statement and you can also duplicate all the steps that you had with your previous IF statement and make some changes to it.
There are no limitations in how you use these conditions, you can add as many as you would like and have nested statements too. By default, all these statements will come together once the steps are done but you can even close the loop in some of the steps.