When you have a list of conditions and one or more than one conditions is met, it will go down the path to perform the workflow actions.
Note: In order to PUBLISH workflows, you will need to establish a workflow trigger and a workflow action. Without both, you will only be able to save the workflow, not publish it.
Creating If/Else Conditional Logic
Naming an If/Else Condition
Here you can name the condition based on the objective of the If/Else condition.
Branches
Branches allow you to build the set of workflow actions with some advanced conditions and segments created in each branch. With every branch you can add custom automations at the bottom.
Labeling A Branch
You can label the branch based on the objective and conditional logic.
Note: If or else branches support up to 10 different outcomes per event.
Adding One or More Additional Branches
- Click on add branch option to add a new branch.
- Name the branch for quick identification.
- Select the segment as per your objective.
- Select the operator from the dropdown menu.
- Use this to add one or more conditions within the branch.
- Use this to add one or more segments as per the task requirements.
Segments
Selecting the conditions and operators you prefer in the segment section, allows you to split the workflow journey into paths.
Select condition
From the dropdown menu, you can select the condition that you would like the system apply.
Select Operator
Based on the condition you have selected from the previous drop down menu, here you will be provided with some additional customized conditions. At the end of this page you can see how to use these conditions.
Add Condition
Here you can add another set of conditions with the one you have already created. In the next article we will cover "And" condition and "Or" condition.
Adding One or More Conditions Within the Segment
- And Condition - If you want to apply one or more set of conditional logic at the same time then you can use "And" option so that the both conditions will be applied at the same time.
- Or Condition - If you have created two different set of conditions and you would like either one out of those two set of conditions should meet then you would use "Or' conditional logic.
- Add Condition - Use this to add additional set of conditional logic.
Add Segment
Click on this icon to add a whole new segment with some additional conditions and filters.
Choosing And/Or Segments
- And - Use this to let the system use two different set of segments work together.
- Or - Use this to let the system use either one of the multiple segments to work.
Example of Using Segments with conditional logic
Include/ does not include
There are several conditional parameters in Workflow Builder where you'll have the option to specify "Includes" or "Does not include" such as Tags and multiple-option custom fields (checkbox fields, dropdown pickers, etc.).
The default logic when using multiple options with "Includes" or "Does not include" is 'AND', meaning that let's say you create a condition like this:
The system understands and processes this as "does the contact have both the '20% Discount voucher' AND '50% Off Shipping fee?"
"And" and "Or"
- AND- Since the system understands and processes conditions with "Includes" or "Does not include" as "does the contact have both the '20% Discount voucher' AND '50% Off Shipping fee?", You can also decide to break two separate conditions using "AND" as well
- OR- If your intention is to create an "OR" scenario, you would want to select the two separate conditions and choose the OR option like this:
Example of using If/Else Branches
If/Else branches allow you to build the workflow actions based on additional conditions and events. They are useful to build the workflow actions when you have one or more similar conditions but each condition requires completely different set of actions performed when any of the condition is met.
Let's say, you have scheduled an appointment for your client named John who offers home repair services. 1 hour after the scheduled appointment time, you would send a text message to John to check how the appointment with the contact went. In the text message, John is provided with 3 unique scenarios to choose from and depending on what he has selected, there will be a set of workflow actions performed by the system.
As shown in the image below, John has one or more options such as 1. Showed and purchased 2. No-Show 3. Showed but did not purchase etc. When he select "Showed and Purchased", the system will add it to the first branch and depending on the actions you have set inside of the CRM, each workflow will be executed. As per the instructions you have provided to the system, it will perform the series of actions such as, Add "Won" tag to the customer, send him a thank you message etc.
Similarly, when John clicks on option 2 which is "No show" then the system will perform a whole different set of workflow actions like, add No Show tag to the contact, Add the contact to another email nurture sequence etc. Each branch shown in the image down below, there will be different path with the series of actions performed when an any of the condition is met.
If/Else Actions Example:
This example shows an If/Else workflow action that sends the contact/lead down to a path depending on whether or not that contact/lead replied to the "Black Friday Promo Offer" within a 24 hour time period.
Interested Path
If the contact/lead DID reply within 24 hours, they are sent down the "Interested" path, and we send them a "Black Friday Discount SMS". (See the Image below)
No Path
If the contact/lead DID NOT reply in 24 hours, we send them down the NO path and that ends the workflow. (See the Image below)
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article