https://discord.gg/botpress logo
Automatically run WhatsApp AI only at night
# šŸ¤help
i
I need a strict time-based WhatsApp workflow using the Asia/Dubai timezone. The AI must reply only from 11:00 PM to 10:00 AM. From 10:00 AM to 11:00 PM, it must send no automated replies so our human team can respond. Instructions and escalation rules did not enforce this schedule. How can I configure this automatically in Botpress Vibe?
d
In Botpress, I’d add a timezone-aware condition using an Execute Code + Expression transition so the bot only reaches the AI response node between 11:00 PM–10:00 AM Asia/Dubai, and routes to a no-response/human-handling path during business hours. Botpress supports custom JavaScript and conditional workflow transitions for this. I can set this up in Vibe and make sure the schedule is enforced consistently for WhatsApp. @important-crayon-73131
i
Thank you. Could you please share the exact Execute Code JavaScript, Expression condition, and step-by-step instructions here? Required schedule using Asia/Dubai time: • 11:00 PM–10:00 AM: AI replies normally • 10:00 AM–11:00 PM: no AI reply; route to human handling I am using Botpress Vibe and do not have programming experience.
d
DM me @important-crayon-73131
l
The only problem is that it still counts towards Botpress usage I can help manage this... DM if interested
e
make sense I have worked similar project with it so If you want to hire me, anytime contact to me