Date operators

 

Cet article est actuellement disponible en anglais et en espagnol. Vous pouvez vous servir de cette documentation en attendant qu'elle soit disponible dans votre langue.

The date operators allow you to compare date-type fields. Knowing the particulars of each one will help you design personalized strategies that utilize precise timing, impacting contacts depending on the date or the period elapsed since a previous action.

 

How to Access?

Date operations are only available in the configuration of the condition nodes "Has field" and "Check value" when evaluating date-type fields.

  

In your workflows, you can access the configuration of these nodes by clicking  (Edit node settings).

 

Interface

The main interface of the configuration of the nodes "Has field" and "Check value" are analogous and are composed of 6 blocks:

1. Available data for evaluation: to select the "Date and Time" type field on which the condition will be evaluated. Includes a search field to facilitate locating the data.

2. Available comparison data: to select the value against which the data to be evaluated will be compared. Includes a search field to facilitate locating the data.

3. Node condition: to define the condition that the node evaluates. It is composed of 3 blocks.

   3.1. Field to evaluate: to set the "Date and Time" type field on which the condition will be evaluated.

   3.2. Date operators: to set the date operator that defines the condition the node evaluates.

   3.3 Comparison value: to set the value against which the field to be evaluated will be compared.

Date_Operators_-_Interface_numbered.png

 

Functioning

The condition nodes perform a check (3) between data. The date operators are available when the data being evaluated are of the "Date and Time" type.

To define a condition, drag the data to be evaluated (1) to the left column of the condition (3.1). Then, drag the comparison data (2) to the right column (3.3) and set a date operator (3.2).

Among the comparison values (2) you have two special options that allow for greater versatility when creating conditions with date operators:

— "Literal": to define a specific date for the comparison.

— "Today": to compare the date to be evaluated (1) against today's date, i.e., the day the condition node is activated.

 

1. Is the date

This operator allows you to compare if two dates are equal.

 

In our example, it checks if the contact made a purchase today.

Date_Operators_-_1.png

 

2. Is not the date

This operator allows you to compare if two dates are different.

 

In our example, it checks that the contact has not made a purchase today.

Date_Operators_-_2.png

 

3. Is before

This operator allows you to check if the date to be evaluated (1) is earlier than the comparison value (2).

 

In our example, it checks if the contact visited the website before 2022.

Date_Operators_-_3.png

 

4. Is after

This operator allows you to check if the date to be evaluated (1) is later than the comparison value (2).

 

In our example, it checks if the contact visited the website for the first time in 2022.

Date_Operators_-_4.png

 

5. Is the same day of the year

This operator allows you to compare if two dates match in day and month, ignoring the year.

 

In our example, it checks if today is the contact's birthday.

Date_Operators_-_5.png

 

6. Is within the time range

This operator allows you to check if the date to be evaluated (1) is within the comparison time range (2).

 

In our example, it checks if the contact visits the website during customer service hours.

Date_Operators_-_6.png

 

7. Is within the last

This operator allows you to check if the date to be evaluated (1) is within the time period defined by the comparison value (2) with respect to the moment of node activation.

 

In our example, we check if the contact was created in the last 7 days.

Date_Operators_-_7.png

 

8. Is on any day of the week

This operator allows you to check if the date to be evaluated (1) corresponds to any of the days defined by the comparison value (2).

 

In our example, it checks if the contact visits the page during the weekend.

Date_Operators_-_8_alt.png

 

 

 Success!
You have reached the end of the lesson.

  

Do you have any unresolved questions?
Remember that our Connectif specialists are at your disposal. To contact them, just open a support ticket by clicking the blue "Help" button on your dashboard.


Keep learning!

To take full advantage of your Connectif account, we recommend continuing with the following articles:

Cet article vous a-t-il été utile ?
Utilisateurs qui ont trouvé cela utile : 0 sur 0