Learn how to configure business hours, timezone and time condition handling in your treble conversations.
Create or edit a conversation
Conditional block
Configure the conditional block
Configure timezone
Configure time conditions
Configure each path according to the time condition
weekday
that allows you to configure paths in your conversation flow based on the day of the week. This variable is an integer that goes from 1 to 7, where 1 is Monday and 7 is Sunday.
The list of days of the week is as follows:
Number | Day |
---|---|
1 | Monday |
2 | Tuesday |
3 | Wednesday |
4 | Thursday |
5 | Friday |
6 | Saturday |
7 | Sunday |
weekday
variable with the day of the week number.weekday
in the variable name, change the operator to Equal to and write the day of the week number.weekday
between 1 and 5) a basic support agent team and for weekends we use the conditional block option of in all other cases a specialized agent team.
weekday
between 1 and 5) an agent team for morning business hours and another for afternoon support. For weekends (weekday
between 6 and 7) a specialized agent team.
Here we combine the use of time conditions and specific days of the week.