
Hi,
Can I set the time to trigger a certain phrase? For example, if someone uses the chat function after 4pm - before 8am the following day, can the bot reply using an auto generated message based on the time the user asks the question?
For example, I'm sorry, there is no-one available at present, if you require after hours support please call xxxx xxx xxx etc etc.
Hey there @CJCappa,
There would be a way to do this using a Power Automate flow. I would recommend adding a check into the Escalate and Confirmed Failure topics before the messages talking about reaching a real agent, in which you would want to put a flow that takes the current time, compares it to the time range that you want, and returns a true/false value based on if the current time is in your "service hours". Then you can add a condition that gives the After Hours support message in the event that it is not in your service hours, or the normal escalation message if it is.
Hope that helps!
Thank you for using Microsoft Power Platform Communities!
Bryn Baker
Support Engineer
Microsoft Power Platform
If this post helps, then please consider accepting it as the solution to help other members find it more quickly! Have a great day!