Three recipes use your opening hours: reply to customers when you are closed, send new chats to the right team by the time of day, and hand waiting chats to someone when you open.
Three recipes use your opening hours: reply to customers when you are closed, send new chats to the right team by the time of day, and hand waiting chats to someone when you open. They read the hours you set in Settings → Service Level → Business Hours, including holidays.
Where to find it
Recipes: AI → Agent Studio → Automations.
Opening hours and holidays: Settings → Service Level → Business Hours.
Before you start
Your plan includes AI agents (ai_agent).
Your opening hours are set in Business Hours. Add holidays so the holiday message is used.
Decide which team gets chats during the day, and which (if any) at night.
The three recipes
After-hours first reply
Outside your opening hours, a new or waiting customer gets your reply right away, with when you open again. On a holiday they get your holiday message. It replies once per closed period.
Settings:
Reply automatically: outside the opening hours set in the panel, outside hours you type in, or only when nobody on the team has the chat.
Also reply when a customer has waited (minutes): 15 by default.
Your reply when closed and Your reply on a holiday (both required).
Reply when you close soon (optional): sent in the last 30 minutes before closing.
Which opening hours: the chat's number or team, or the company's hours.
Template when the customer wrote over 24 hours ago (optional): needed because WhatsApp only allows templates after 24 hours.
If you type the hours in: opening and closing hour, Weekend, and Your timezone. Hours past midnight are not supported.
Tag chats that got this reply: auto-replied by default.
If the hours cannot be read, nothing goes to the customer and your team gets a note. A workspace with no calendar, or open 24 hours, counts as open, so nothing is sent.
Route by opening hours
A new or reopened chat goes to your team while you are open. When you are closed it waits for the after-hours reply, or goes to a night team you pick.
Settings: Team during opening hours (required), Also pick a person in the team (no, round robin, online first, or least busy), Which opening hours, When you are closed (leave it for the after-hours reply, or send it to a night team), and Night team.
If the hours cannot be read, the chat goes to the day team with a note, so no chat is lost.
Hand over at opening time
Every hour, in the first hour after you open, customers who wrote while you were closed and still wait with nobody assigned get an owner. Managers get one list.
Settings: Check at this minute past each hour (5 by default), On these days, Your timezone, Which opening hours, Hand the chats to (someone in a team you pick, or whoever is online and least busy), Team, How to pick the person in the team, and Only chats with this tag (optional). For example, use auto-replied to pick up only chats that got the after-hours reply. The tag comes off once the chat has an owner.
Steps
Set your hours in Settings → Service Level → Business Hours
In Automations, install the recipe and fill in its settings
Tip: use all three together. Route by opening hours sends day chats to the team, After-hours first reply answers at night and tags the chat, and Hand over at opening time assigns the tagged chats in the morning.
Limits and plans
These recipes depend on your plan (ai_agent). Check Billing → Current Plan.
The usual trigger caps apply: at most 3 automated texts per conversation per day.
Good to know
Agents have no time-of-day condition of their own. These recipes use a business-hours tool that returns whether you are open, why (weekly hours, holiday, special opening, always open, or no calendar), when you open next, and whether you close soon.
Any staff member's connection can read business hours.
Do it with Copilot
Do it with Copilot
Are we open right now, and when do we open next?
Do it with Copilot
Install the after-hours first reply: closed message '…', holiday message '…', tag auto-replied.
It is installed as a draft, in test mode.
Do it with Copilot
Show our business hours and holidays.
Deleting a business-hours calendar always needs a person's approval in the panel.
Troubleshooting
What you see
Why
What to do
The after-hours reply never sends
No calendar is set, or it is open 24 hours (both count as open), or the recipe is in test mode
Set hours in Business Hours and switch the recipe to Live
Customers who wrote over 24 hours ago get no reply
WhatsApp needs a template after 24 hours
Set Template when the customer wrote over 24 hours ago