https://discord.gg/botpress logo
Time and schedule conditions?
# 🤝help
r
Time and schedule conditions? Can I use time conditions that influence one response or another?
p
Can you elaborate on your question and the use case for it?
r
Thank you for responding. I'd like the agent to respond one way if it's before 8 p.m. and another way if it's after 8 p.m.
p
You can do so with an execute code card capturing the local time and then assigning a different value to the variable workflow.time which you can then use to transition to different workflows. Happy Bot Building!
r
Excellent, thank you
p
Of course, happy to help!
3 Views