Business Availability

Business Availability

Business Availa​bility allows a business to set up the operating hours of their chatbot. During non-office hour, the Off Tree will be activated and the Default Tree will be turned off.
Business Availability
Business Availability

You can configure the Off Tree in Tree Settings. Basically, as a bot creator, you can either create a new tree or edit the existing tree to handle non-office hour.

Off Chatbots
Off Chatbots

If you want your bot experience to stay the same regardless of business hours, you should simply turn off the business availability feature.

Turn Off Business Availability
Turn Off Business Availability

Expected Outcome

User will receive a different response based on the operating hour of the chatbot.

Office Hour
Office Hour
Non-office hour
Non-office hour

Set up Business Availability

  1. If you decide to edit the existing tree to handle non-office hour scenarios. You can apply this.channel.on in triggers/actions/responses. You can set this.channel.on === false to indicate the non-office hour logic.

    Below is a sample transformed response:

return new Promise((resolve) => {
let text = "Thank you for getting in touch!\n\nWe are notifying our team member who is available to answer your enquiry shortly, someone from Sanuker will reply you soon, we appreciate your patience."
if (this.channel.on === false) {
text = "Greetings! Our office hours are from Monday to Friday 15:00-18:00 (except public holidays) . We will contact with you as soon as possible in the office hours.\n\nIf you require immediate assistance, please call (852) 1234 5678 or email to hello@sanuker.com for our 24-hour technical support. Thank you!"
}
resolve({
type: "TEXT",
text,
})
})
Copy
  1. Head to your channel. In Tree Settings, add your non-office hour tree to the Off Trees setting.
Off Tree Settings
Off Tree Settings
  1. Head to Business Availability and toggle on Office Hour Availability.

  2. Indicate your timezone (Default is GMT +0:00) and opening hours.

Opening Hours Settings
Opening Hours Settings
  1. Scroll down and add any specific time/date with a different operating hours in "Exceptions".
Exception StatusDescription
OpenChatbot will operate normally on Default Tree
ClosedChatbot will operate on Off Tree
Add Exception Slot
Add Exception Slot
Set Date & Time
  1. Save the settings.