# 💬general-chat
Zoxsis
Zoxsis·2 replies

Hi! Is there a way to switch between human operator and the bot so that during office hours the human would handle to chat and otherwise the bot?

Sahil | YourGPT
Sahil | YourGPT20/11/2025 09:22

hello @Zoxsis You can build this flow in AI Studio by checking the time within a code block and then routing the conversation accordingly—either continuing with the AI or sending it directly to escalation.

Zoxsis
Zoxsis20/11/2025 10:50

Thanks!