# Journey Condition Steps

Journey Conditions enable you to target a particular section of your customer base depending on the end goal of your campaign. There are three condition blocks to choose from.&#x20;

1. **Past Behavior:** Determine which customer will proceed with the next steps of the journey based on their past behavior, that is, user attributes, events performed, and events not performed.
2. **Is in Segment:** Applying this condition will ensure that customers belonging to a specific segment will proceed with the next steps in the journey.
3. **Is Reachable:** This condition block will help identify which platforms, such as email, Mobile Push, Web Push, SMS, WhatsApp, or in-app, your customers are available on and send communications accordingly.&#x20;

<figure><img src="https://63724372-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FSv5AG7Mmktrz9UQaoDrL%2Fuploads%2Flc9JBXJtGutVdiEtERMk%2FAdd-Condition-01.gif?alt=media&#x26;token=e8f745e2-643f-4c5a-a79d-c5a984b5a793" alt=""><figcaption><p>Types of Condition Blocks</p></figcaption></figure>

Watch this quick tutorial to see how to apply a condition block in between a journey.&#x20;

{% embed url="https://youtu.be/fXpfi-kG9i4" %}
Apply a Condition between Journey Steps
{% endembed %}

Let's take a closer look at the various setting available in each condition block.&#x20;

### Past Behavior

Add a **‘Past Behavior’** block, link it to the 'Custome Entry Event' block, and ‘Click to edit’. With this option, you can filter out customers based on their past behavior and accordingly get them to proceed with the journey. There are three behavior filters.&#x20;

1. User Attribute
2. Performed Event
3. Not Performed Event&#x20;

<figure><img src="https://63724372-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FSv5AG7Mmktrz9UQaoDrL%2Fuploads%2FZUH9Xm6Mlb4UMgauFbKz%2FAdd-Condition-02.gif?alt=media&#x26;token=25ac10d3-e98b-4d14-bb28-f1cd3d391eb4" alt=""><figcaption><p>Past Behavior - Behavior Filters</p></figcaption></figure>

Here is how you can use these three filters optimally, with the help of an example.&#x20;

You have a site-wide sale where all your products are available at 50% off and you want to send the first notification to your returning customers who have made two or more purchases. To do this,&#x20;

* Click on ‘User Attribute’,&#x20;
* Select property as ‘Total Orders’,
* Set the condition as ‘Greater than or equal to’,
* Enter ‘2’ as the value.

<figure><img src="https://63724372-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FSv5AG7Mmktrz9UQaoDrL%2Fuploads%2FyNdMolJP2RLu2xrKywdK%2FAdd-Condition-03.gif?alt=media&#x26;token=a61f4098-5278-4f7d-a2c2-532841eeb329" alt=""><figcaption><p>User Attribute</p></figcaption></figure>

Next, we will add one more filter to send this announcement specifically to those customers who have looked at products worth ₹ 3,000 and more, at least 5 times, in the last thirty days. To do this,&#x20;

* Click on ‘Performed Event’,
* Select event performed as ‘Product Viewed’
* Set the condition as ‘Greater than or equal to’,&#x20;
* Enter ‘5’ as the value,
* Set the time period to ‘last 30 days’,
* Click on ‘Add product viewed condition’
* Select the property as ‘Price’,
* Set the condition as ‘Greater than or equal to’,
* Enter ‘3000’ as the value.&#x20;

<figure><img src="https://63724372-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FSv5AG7Mmktrz9UQaoDrL%2Fuploads%2FoZrRi5DhKeP0LXKuxweu%2FAdd-Condition-04.gif?alt=media&#x26;token=7f923be4-753e-4192-bc8e-1bb9c21cf22a" alt=""><figcaption><p>Performed Event</p></figcaption></figure>

Further, we would like to filter out those customers who have viewed the product but did not purchase it in the last 30 days. To do this,&#x20;

* Click on ‘Not Performed Event’,
* Select event not performed as ‘Purchased’,
* Set the time period to ‘last 30 days’,
* Click on ‘Add Purchased Condition’,
* Select the property as ‘Amount’,&#x20;
* Set the condition as ‘Greater than or equal to’,
* Enter ‘3000’ as the value.&#x20;

<figure><img src="https://63724372-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FSv5AG7Mmktrz9UQaoDrL%2Fuploads%2Fi7G6KajQPKxWLxr64n07%2FAdd-Condition-05.gif?alt=media&#x26;token=68238293-8a21-4691-9645-984be83971de" alt=""><figcaption><p>Not Performed Event</p></figcaption></figure>

Now that all the required filters have been applied, give a Behavior Description ‘Product Viewed, Not Purchased’. This description will be visible on the ‘Past Behavior’ condition Block in the Journey Steps.&#x20;

Click on ‘Save Changes’ and proceed further.&#x20;

If the ‘Past Behavior’ Condition is not met, send out an email to the customers notifying them about the ‘Sale’. Add an ‘Email’ engagement block and link it to the ‘Past Behavior’ condition block by clicking on ‘No’.&#x20;

<figure><img src="https://63724372-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FSv5AG7Mmktrz9UQaoDrL%2Fuploads%2FMYeyx8vhKziJ5f0T2KzN%2FAdd-Condition-06.gif?alt=media&#x26;token=fec59f48-0c56-4e84-afa8-fb51d4bc1377" alt=""><figcaption><p>Is in Segment</p></figcaption></figure>

### Is in Segment

If the ‘Past Behavior’ Condition is met, we will add another condition, that is, **‘Is in Segment’**. Link this block by clicking on ‘Yes’.&#x20;

Click to edit.&#x20;

Select the segment from the dropdown, for this example, we will choose ‘Not purchase last three month’.

Click on ‘Save Changes’ and proceed further.&#x20;

If the ‘Is in Segment’ condition is not met we will send out an SMS to the customer notifying them about the Sale.&#x20;

Add an SMS engagement block and link it to the ‘Is in Segment’ condition block by clicking on ‘No’.&#x20;

<figure><img src="https://63724372-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FSv5AG7Mmktrz9UQaoDrL%2Fuploads%2FJ7IPBsoIUJ9pUznb9jOg%2FAdd-Condition-07.gif?alt=media&#x26;token=a7f8ce57-fdbc-4fa0-877d-5c0d2f573113" alt=""><figcaption><p>Is Reachable</p></figcaption></figure>

### Is Reachable

If the ‘Is in Segment’ condition is met, we will add the last and final condition, which is, **‘Is Reachable’**. Link this block by clicking on ‘Yes’.&#x20;

Click to edit.&#x20;

To check where the user is available, click on the drop-down and click on email for this particular scenario.&#x20;

Click on ‘Save Changes’ and proceed further.&#x20;

If the user is not reachable by email we will send a WhatsApp message to the customer notifying them about the Sale.

Add a WhatsApp engagement block and link it to the ‘Is Reachable’ condition block by clicking on ‘No’.&#x20;

If the user is reachable by email we will send an email to the customer notifying them about the ‘Sale’.&#x20;

Add an Email engagement block and link it to the ‘Is Reachable’ condition block by clicking on ‘Yes’.&#x20;

<figure><img src="https://63724372-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FSv5AG7Mmktrz9UQaoDrL%2Fuploads%2FCfLMwr4vMxMIx5COlkev%2FAdd%20Condition%20Journey%20.png?alt=media&#x26;token=5d57b1a8-fc1a-4980-8181-ae14d11a2019" alt=""><figcaption><p>Applying Conditions between Juorney Steps</p></figcaption></figure>

There you have it, you have successfully applied conditions in between your journey steps.&#x20;
