Set working hours for your ManyChat bot transcript

 

If you’d like to create a chat bot that works only from nine to five on weekdays, or has any outer working time, that would be a really easy feature to implement on Many Chat. You should first create the two action boxes and three custom fields.

The first custom field should be called Current Date and Time, and it should be a date and time custom field. You should set it to the date and time of the action.

ManyChat chatbot tutorial - How to: Set Working Hours for Your ManyChat Bot - 1

 

In the next action box, set two other custom fields. They should be text fields called Hour Text and Weekday. Hour Text should be set as the current date and time, same as the Weekday. Just for Hour Text, you should use a custom format that displays only the hour in 24 hour time. After you do that, click Save.

ManyChat chatbot tutorial - How to: Set Working Hours for Your ManyChat Bot - 2

 

The Weekday should be set to the current date and time and its custom format will display the name of the day, after that, of course you should click save.

ManyChat chatbot tutorial - How to: Set Working Hours for Your ManyChat Bot - 3

 

Then move to the two conditions. The first condition should check the current day. If the day is Saturday or Sunday, the chatbot should tell the users that it is not working at the moment, and it should tell them the working time of the bot. If the day of the week is not Saturday or Sunday, the chatbot should move to the next condition.

ManyChat chatbot tutorial - How to: Set Working Hours for Your ManyChat Bot - 4

 

This condition should check the Hour Text. So for example, if the Hour Text is 9, 10, 11, 12, all the way to 16, it means that the chat bot should be working.

ManyChat chatbot tutorial - How to: Set Working Hours for Your ManyChat Bot - 5

 

And if it’s working, the user should enter the bot and maybe some agent will join the conversation or something like that. If the Hour Text is not any of these numbers. It means the chatbot should not be working. And it means that it should also display this message that tells them the working hours of the chat bot.

ManyChat chatbot tutorial - How to: Set Working Hours for Your ManyChat Bot - 6

 

After you’ve finished, click Publish and click Preview to test. Click Open in Messenger and wait for the message.

At the moment it is Thursday, 10:32 AM. So, the chatbot should be working.

As you can see from all of these tests, the chat bot says: “Hello, welcome to Slick Bots, agent will join the conversation in a couple of minutes”, meaning it’s working at the moment.

Thank you, and have a nice day.

 

Leave a Comment

Your email address will not be published. Required fields are marked *