Welcome to GrowhtHub Knowledge Base Hub

Welcome to GrowhtHub Knowledge Base Hub

If/Else

The If/Else step allows you to split a workflow journey into paths based on conditions.

The If/Else Event action is triggered when a specific condition is met, and it can subsequently guide contacts towards other workflow actions. Utilize this workflow action when you want to split a workflow into paths based on condition, such as tags or custom values.

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

To add If/Else conditional logic to a workflow, it is essential to name the condition based on the intended objective. Once you have determined the name, you can proceed to the next steps.

Steps to Adding an If/Else Event

  1. Add Branch: Click on add branch option to add a new branch.

  2. Branch Name: Name the branch for quick identification.

  3. Add Segment: Select the segment as per your objective.

  4. Select Operator: Select the operator from the dropdown menu.

  5. Add Condition: Use this to add one or more conditions within the branch.

  6. Add more Segment: Use this to add more segments as per the task requirements.

Branches

Using branches in a workflow enables you to create advanced conditions and segments in each branch for building a sequence of workflow actions. Custom automation can be added at the end of each branch. A branch can support up to 10 different outcomes for each event.

Labeling A Branch

It is crucial to label the branch based on the objective and conditional logic for easy identification and quick reference. By implementing labeled branches in your workflow, you can better organize and streamline your automation process.

Segments

Segments are an important aspect when splitting your workflow into different paths. The segment section contains conditions and operators that can be selected according to your unique workflow journey.

Add Segment

Adding a new segment with additional conditions and filters can be done by simply clicking on the + Add Segment icon.

How to Use 'And' & 'Or' Segments

You can make use of 'And' and 'Or' segments to enhance your workflow automation process.

  1. And - Use this to let the system use two different sets of segments to work together.

  2. Or - Use this to let the system use either one of the multiple segments to work.

Condition

To utilize Condition in your workflow, start by selecting your desired condition from the dropdown menu.

Select Operator

Based on your condition selection, you can select the required conditional parameters and add corresponding values to it.

How to Use the 'And' & 'Or' Conditions Within the Segment

You can use 'And' and 'Or' conditions to apply multiple conditional logics in a segment.

  1. And Condition - If you want to apply one or more sets of conditional logic at the same time then you can use the "And" option so that both conditions will be applied at the same time.

  2. Or Condition - If you have created two different sets of conditions and you would like either one out of those two sets of conditions to be met then you would use "Or' conditional logic.

  3. Add Condition - Use this to add an additional set of conditional logic.

If/Else

The If/Else step allows you to split a workflow journey into paths based on conditions.

The If/Else Event action is triggered when a specific condition is met, and it can subsequently guide contacts towards other workflow actions. Utilize this workflow action when you want to split a workflow into paths based on condition, such as tags or custom values.

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

To add If/Else conditional logic to a workflow, it is essential to name the condition based on the intended objective. Once you have determined the name, you can proceed to the next steps.

Steps to Adding an If/Else Event

  1. Add Branch: Click on add branch option to add a new branch.

  2. Branch Name: Name the branch for quick identification.

  3. Add Segment: Select the segment as per your objective.

  4. Select Operator: Select the operator from the dropdown menu.

  5. Add Condition: Use this to add one or more conditions within the branch.

  6. Add more Segment: Use this to add more segments as per the task requirements.

Branches

Using branches in a workflow enables you to create advanced conditions and segments in each branch for building a sequence of workflow actions. Custom automation can be added at the end of each branch. A branch can support up to 10 different outcomes for each event.

Labeling A Branch

It is crucial to label the branch based on the objective and conditional logic for easy identification and quick reference. By implementing labeled branches in your workflow, you can better organize and streamline your automation process.

Segments

Segments are an important aspect when splitting your workflow into different paths. The segment section contains conditions and operators that can be selected according to your unique workflow journey.

Add Segment

Adding a new segment with additional conditions and filters can be done by simply clicking on the + Add Segment icon.

How to Use 'And' & 'Or' Segments

You can make use of 'And' and 'Or' segments to enhance your workflow automation process.

  1. And - Use this to let the system use two different sets of segments to work together.

  2. Or - Use this to let the system use either one of the multiple segments to work.

Condition

To utilize Condition in your workflow, start by selecting your desired condition from the dropdown menu.

Select Operator

Based on your condition selection, you can select the required conditional parameters and add corresponding values to it.

How to Use the 'And' & 'Or' Conditions Within the Segment

You can use 'And' and 'Or' conditions to apply multiple conditional logics in a segment.

  1. And Condition - If you want to apply one or more sets of conditional logic at the same time then you can use the "And" option so that both conditions will be applied at the same time.

  2. Or Condition - If you have created two different sets of conditions and you would like either one out of those two sets of conditions to be met then you would use "Or' conditional logic.

  3. Add Condition - Use this to add an additional set of conditional logic.