How to respond to Slack messages during specific hours?

#1

Hi all,

I’m super new to this and have set up a bot to automatically respond to certain message phrases in Slack and it works well. I want to take this a step further by only responding to messages during specific hours.

For example, if someone says “XYZ” during the time 5pm~8am, then do XYZ. I just need to figure out how to include the time period as a trigger, in combination with the message phrase trigger. How can I achieve this?