Using Time Comparison Operators

Introduction

Time Comparison Operators are pivotal tools in Gymini's Workflow Builder, allowing you to compare the current date and time with specified input values. These operators facilitate the creation of workflows that can make informed decisions based on various time conditions. This guide will introduce you to the different Time Comparison Operators available and how to use them.

Understanding Time Comparison Operators

These operators can compare various date and time units, including:

  • Current day of the week

  • Current day of the month

  • Current month

  • Current year

  • Current hour

After selecting the specific Time Parameter you wish to use, choose the appropriate Time Comparison Operator from the "Select Operator" dropdown menu. Below, we delve into the different operators available:

The "Is" Operator

This operator checks if the selected date unit matches the input value. For example:

  • "Current Day of the Week Is Monday" returns true only on Mondays.

  • "Current Month Is January" returns true only in January.

The "Is Not" Operator

This operator verifies if the selected date unit differs from the input value. For instance, "Current Day of the Week Is Not Saturday" will be true on all days except Saturday.

The "Is After" Operator

This operator checks if the selected date unit is after the input value. Notably, when considering hours, it only regards minutes starting from the next hour. For example, "Current Hour Is After 6 PM" is true from 7:00 PM onwards, as 6:59 PM is still within 6 PM.

The "Is on or After" Operator

This operator confirms if the selected date unit is on or after the input value. It considers minutes from the same hour and onwards, meaning "Current Hour Is On or After 6 PM" holds true for any time from 6:00 PM onwards, including 6:59 PM.

The "Is Before" Operator

This operator checks if the selected date unit is before the input value, e.g., "Current Month Is Before June" is true for all months preceding June.

The "Is on or Before" Operator

This operator verifies if the selected date unit is on or before the input value, including minutes from the same hour. For instance, "Current Hour Is On or Before 6 PM" is true up until 6:59 PM.

The "Is Not Empty" and "Is Empty" Operators

These operators check the presence or absence of a value in a field, ensuring the workflow receives valid inputs:

  • "Is not empty" verifies that the field contains a value.

  • "Is empty" confirms the field lacks a value.

Conclusion

Understanding and utilizing Time Comparison Operators in Gymini's Workflow Builder empowers you to create dynamic workflows that respond aptly to various time conditions. By leveraging these operators, you can enhance the precision and efficiency of your marketing strategies.

Last updated