Condition Step
- 1 Tag & Sequence Condition
- 2 Text Variable Condition
- 3 Number Variable Condition
- 4 DataTime Variable Condition
- 4.1 New Date-Time Filter Conditions
- 4.2 1. After x Days Ago
- 4.2.1 Description
- 4.3 How to Apply After x Days Ago Condition
- 4.3.1 Use Cases
- 4.4 2. Before x Days Ago
- 4.4.1 Description
- 4.5 How to Apply Before x Days Ago Condition
- 4.5.1 Use Cases
- 4.6 3. After x Minutes Ago
- 4.6.1 Description
- 4.6.2 Use Cases
- 4.7 4. Before x Minutes Ago
- 4.7.1 Description
- 4.7.2 Use Cases
- 5 JSON Variable Condition
- 6 Custom Input
- 7 Math Formula
- 8 Email
- 9 True/False Conditions (Boolean)
- 10 Integer/Numerical Conditions
- 11 Date/Time Conditions
- 12 System Fields Conditions
- 13 System JSON Fields Conditions
- 14 Miscellaneous Conditions
With Condition step, you can go to different steps/sub flows depends on conditions.
In your Condition step, click on "+ Add Condition Group" to set at least one condition group. "Otherwise" group is always there.
You can make as many condition groups as you need. The matching start from the top to the bottom, once a group matched, the system goes to a named step. When it fails to match all condition group, the "Otherwise" group will take over it. So it's always a good practice to name a step in the "Otherwise" group even it is very unlikely to be used.
Another important thing to know is the difference between "All conditions" and "Any conditions". It is sitting at the upper right corner of each condition group.
You can list more than 1 condition in a condition group. When you do, it matters whether you choose "All" or "Any".
"All Condition" means to get this group matched, you will need to have all the conditions matched in the group.
However, to get a group with "Any Condition" matched, you only need to have one of the conditions matched.
Tag & Sequence Condition
For tag and sequence condition, you can choose "in" or "not in" from the "Operator". Choosing multiple tags/sequences is allowed.
Text Variable Condition
These are all the operators for text condition.
For "has any value" and "is empty" of all variable types, when you clear a variable, the variable becomes empty. Thus, "has any value" is false and "is empty" is true for this variable.
Number Variable Condition
These are all the operators for number condition.
DataTime Variable Condition
These are all the operators for DateTime condition.
Note that you will need to put "value" always as the correct format "yyyy-MM-dd HH:mm:ss" no matter which displayed format you choose for that variable.
Please note that - "before/after" is different from "time before/after". The former compare the whole datetime value while the latter only compare the time value.
New Date-Time Filter Conditions
The following new date-time conditions have been added to the filtering options:
After x days ago
Before x days ago
After x minutes ago
Before x minutes ago
These options allow users to filter data or users by specific activity periods, making it easier to target recent or past events for follow-ups or analysis.
1. After x Days Ago
Description
The After x days ago condition allows filtering of records or users based on activities that have occurred after a specified number of days. It’s useful for retrieving records or users whose activities or interactions happened after a certain point in time, relative to the current date.
How to Apply After x Days Ago Condition
Go to the Flow, Select Condition Node.
Now click on add Condition
A new popup will appear where you can select last seen
Now once you click on Operator you will see the After x days ago action
You can add the desired value in the Value Field and then the condition implies accordingly
This condition now checks if the user's Last Seen date is more than 30 days ago