Optimize time node
The Optimize time node delays the execution of the nodes that follow it until the predicted best date and time for a specific profile in the workflow. The time of executing the nodes after the Optimize time node is calculated for every profile individually based on the activity time of every profile that goes through a workflow (you can read more about defining scope of data to be analyzed for time optimization here).
This way, not only can you personalize the details of actions towards the profiles (such as content of the message) but also you can personalize the time of executing them.
This node lets you:
- pick the model to base the calculation on
- select the date range during which the AI engine must predict the best time:
- within next seven days (Next 7 days),
- within a specific number of hours in the next 166 hours (Custom time period),
- until a specific deadline (Optimize until specific date and time),
- exclude days and hours from calculating the best time
Calculating the best time
The calculation of the prediction (the optimal time and date to let a profile continue the journey) starts at the moment a profile arrives at the Optimize time node. The system processes about 30 000 predictions per minute. So if one million profiles reach the Optimize time node at once, it may take 30 minutes to calculate the predictions for all of them.
Once a prediction is calculated, an
snr.ate.prediction event is generated. It contains the following parameters:
||This parameter can take two values:
||This parameter is the value used in the Custom time period option.|
||This parameter contains the result of the prediction: the best date and time proposed by the algorithm given in UTC. Example value:
||This parameter takes numerical values and it informs how many best hour predictions matched the conditions and exclusions. Usually the value is
||This parameter returns the name of the mode used for calculating the prediction.|
||This parameter returns the days and hours that are excluded from the time proposed by the algorithm.|
||This parameter returns the predicted hour in the form of an hour of the week (for example, according to the example in the
Exclusion of days and hours
This option allows you to avoid continuation of the workflow (as a consequence, performing actions) at the specified day(s) and time, for example, you can exclude weekends or nighttime during the week.
If a profile arrives at the Optimize time node at the hour included in the excluded time, in such case, this hour will be ignored as the excluded hour for this profile.
Optimize time and sending messages
- the size of the audience
- the external systems involved in sending out the messages
- Make sure that time optimizer is enabled.
Note: After time optimizer is enabled, it starts being trained. This may take a few hours.
- Optionally, you can create custom modes that match your business needs or use the default modes.
On the node after which you want to add Optimize time node, click THEN.
Result: A dropdown list opens.
In the list, select the Optimize time node.
Result: A pop-up opens.
From the AI optimization method dropdown list, select one of the modes which calculate the optimal time for performing an action.
Tip: Learn more about creating time optimizer modes here.
If you want to restrict time optimization to a specific date, you can select the following options:
- Next 7 days - The AI engine selects the best time to perform an action defined in the node following Optimize time in the next 7 days for a single customer, counting from the arrival at the Optimize time node. The calculation time doesn’t include the hour a profile arrived at the node.
- Custom time period - The AI engine predicts the best time to perform an action for a single customer in X hours (up to 166 hours). The calculation time doesn’t include the hour a profile arrived at the node.
Tip: We recommend 12 hours as the minimum custom time period.
- Optimize until specific date and time - You can select a specific date and time until which the AI engine predicts the best time to perform an action defined after the Optimize time node for a single customer. This option gives you more control in managing your campaigns.
When the selected time range expires, the nodes after Optimize time node won’t be activated.
Example: If the date and time expire at 08.08.2022 at 11.00 A.M. and the profile starts the workflow on 08.08.2022 at 11.05 A.M., the profile will be stuck in this node and the profile won’t move on in this workflow. The profile will be stuck for 60 days and after that time, the workflow is automatically finished.
If you know you don’t want to perform marketing activities at specific days and specific time, switch the Time range exclusions toggle on.
- Select the day(s) of the week.
Important: If you select only the days, the time for every selected day is set to
00:00-23:59(in accordance with the time zone selected for a workspace) by default.
- Click Add range.
- If you selected more than one day, from the left dropdown list, define the day for which you want to define the time range exclusion.
- From the middle dropdown list, select the starting time of the limit.
- From the right dropdown list, select the ending time of the limit. The following table explains how the limit is applied:
Interface configuration Resulting time configuration 8-20 8.00 AM to 8.59 PM 0-23 0.00 AM to 23.59 PM 13-19 1.00 PM to 7.59 PM
- If needed, add more time ranges by repeating steps b-e.
- Select the day(s) of the week.
To confirm the settings, click Apply.
Examples of use
Optimize time in the next 11 hours until the specific date
In the configuration below, the node calculates the best time to execute the rest of the nodes in the workflow in the 11 hours since arriving at the Optimize time node.
In such configuration, profiles who arrive at the Optimize time node at 6:58 on the 19th of January, 2023 will continue the workflow at the best time calculated by the algorithm. The last release from the Optimize time node occurs at 16:45 on the 10th of October.
The rest of the profiles who arrived later than 17:00 on the 19th of January, 2023 will be stuck in the node.
Optimize time excluding nighttime
In the configuration below, the node calculates the best time to execute the rest of nodes in the workflow for the next 7 days excluding the nighttime.
Such node settings will effectively exclude all night hours (00:00 - 09:00) for the next 7 days.
Optimize time excluding weekends
In the configuration below, the node calculates the best time to execute the rest of nodes in the workflow for the next 7 days excluding the weekends.
Such node settings will effectively exclude hours between Friday at 19:00 and Monday at 09:00.
Business examples of use
Check out the list of use cases that showcase the Optimize time node
Is it possible that the model will not be able to make a prediction before the set date (for the “Optimize until a specific date and time” option)?
Yes, but only if you set up a node for a very narrow time frame (for 1 or 2 hours in advance) or exclude all hours before the set date for a given customer. In such a case, the profile will be stuck in this node for the next 60 days.
What happens if a profile enters the Optimize time node after the set date (for the “Optimize until a specific date and time” option)?
In such a case, the profile will be stuck in this node for the next 60 days.
What is the last prediction time slot for a profile who entered a node at 10:03 (the Optimize time node is set for the next 11 hours)?
The first prediction is made in the first full hour after activation (so after 11:00). Predictions are always made for the hh:15-hh:45 period, so the first prediction is made for 11:15-11:45, and the last for 20:15-20:45.
What is the last prediction time slot for a profile who entered a node at 10:53 (the Optimize time node is set for the next 11 hours)?
The first prediction is made in the first full hour after activation (so after 11:00). Predictions are always made for the hh:15-hh:45 period, so the first prediction is made for 11:15-11:45, and the last for 21:15-21:45.