Agent service hours and off-shift behavior
Define which days and hours your AI agent answers, and what it does off-shift: a customer message or a transfer to a human team.
Watch this step in the video · Service hours
What it is and when to use it
Service hours define when your AI agent replies on its own. Outside those hours the AI doesn't call the model (it doesn't use your AI balance): it does what you set under Outside service hours, that is, send the customer a message and/or hand the conversation to a human team.
It's a single block, in the agent's Behavior tab, with three options:
- Always: the AI replies at any time, every day. This is the default.
- Business hours: uses the hours set for your workspace. If the workspace has no hours set yet, the AI always replies; the section shows the Set up business hours link.
- Custom: your own windows per day, in the time zone you choose.
How to set it up
- In the side menu go to AI Agents and open your agent.
- Open the Behavior tab and scroll down to Service hours.
- Pick Always, Business hours or Custom.
- With Custom, choose the Time zone (by default, the workspace's) and set the Time windows: tick the days and the start and end time.
- Click + Add window if your hours change by day (for example, Saturday until 14:00).
- Under Outside service hours, write the Customer message (optional).
- If you want a person to pick up those chats, turn on Transfer to a human team and choose the Target team.
- Click Save.
How to check it
Use the editor's Live tester (save your changes first):
- If you are outside service hours right now, the tester doesn't call the model: it shows the customer message, tells you which team the conversation would go to and when the AI replies again.
- Click Test as if within service hours so the agent replies normally and you can keep testing at any time.
- Within service hours, the AI replies as usual.
Remember the schedule is evaluated in the configured time zone, not the customer's.
Troubleshooting
- The AI replies outside hours: make sure it isn't set to Always; with Business hours, check that the workspace has hours set.
- Nobody gets the conversation: turn on Transfer to a human team and choose a team; with no team the conversation stays unassigned.
- The bot says nothing outside hours: if the message is empty and the transfer is off, it sends nothing. Write a message.
- The time is off: check the time zone of the custom schedule or the workspace.
Tip: leave a friendly out-of-hours message that says when you'll reply ("we'll get back to you tomorrow from 9:00"). It reduces drop-off.
Related articles
Related articles
-
Create your first AI agent
Learn what an AI agent does in Omnifox, how to give it instructions, connect it to a channel and test it in the sandbox before it talks to real customers.
-
How to write good instructions for your AI agent
Learn how to write clear instructions so your AI agent replies with the right tone, limits and actions.
-
AI Agents complete guide
AI Agents in depth, in 65 chapters: creating, instructions, tools, knowledge, behavior, tester, inbox, workflows, analytics and usage, with every setting explained.
-
Connect your AI agent to WhatsApp, Instagram, Messenger and web chat
An agent with no channels serves nobody. Connect it to your WhatsApp, Instagram, Messenger or website chat from the Connections section, then switch it on so it starts replying.
-
Start here: AI Agents in 8 minutes
AI Agents essentials in a short video: creating an agent, its instructions, tools, knowledge, channels, the tester, hours and handing over to a person.