# What your AI agent does outside business hours > Your QwryAI agent answers around the clock. Plan handoffs around your team's hours with Helpdesk shifts, ticket assignment and clear instructions Your QwryAI agent answers customers 24/7 on every channel: it has no business hours and keeps replying at night and at weekends. What changes outside your hours is the handoff to a person, because nobody on your team is there to take it. This page is for support leads who want customers to get a clear answer about when a person will reply, using Helpdesk scheduling, ticket assignment and instructions. ## What's built in and what isn't | Question | Answer | | - | - | | Does the agent keep answering after hours? | Yes, always. There's no setting that pauses it on a schedule. | | Is there a business-hours setting? | No. Your team's hours live in Helpdesk **Shifts** and in your instructions. | | Does [QwryAI live chat](/docs/user-guides/chatbot/actions/qwryai-live-chat) check whether anyone is available? | No. The customer sees **Waiting for support agent to join** until a teammate joins. | | Can Helpdesk [Triggers](/docs/user-guides/chatbot/help-desk/triggers) check business hours? | No. Time conditions are available in Automations, not in Triggers. | | What follows your shifts? | Ticket assignment: **Round Robin** and **Balanced** teams only give new tickets to members who are available and on shift. | So the work is to plan the handoff: open a ticket that waits for your team, assign it fairly when people are in, and tell customers what to expect. ## Route handoffs around your hours **1. Add a handoff Action** On **Build › Actions**, add an [Escalations](/docs/user-guides/chatbot/actions/escalate-to-human) Action that creates a ticket in the QwryAI Helpdesk. A ticket works at any hour: your team picks it up when they're back, and the reply reaches the customer in the same conversation. Add [QwryAI live chat](/docs/user-guides/chatbot/actions/qwryai-live-chat) as well if you want real-time handoffs while your team is in. **2. Say when each one applies** In each Action's **When to use**, describe when it fits. Live chat makes sense only while someone can answer, so tie it to your hours, for example: "Use this only Monday to Friday, 9 AM to 6 PM Sydney time, when the customer asks for a person." Give the ticket Action the opposite case. **3. Test both paths** Ask for a person in the [Playground](/docs/user-guides/chatbot/playground) and check which Action runs. Then [publish](/docs/user-guides/chatbot/drafts-and-publishing) your changes. > [!NOTE] > > QwryAI Procedures can't yet branch on whether a teammate is available. Write the hours into **When to use** and your instructions instead, and let Helpdesk assignment follow your shifts. ### Make availability follow your working hours Who counts as available comes from each member's Helpdesk status. Members can set it by hand, but [Scheduling](/docs/user-guides/chatbot/help-desk/scheduling) does it for you: a member on a shift counts as on shift only during its hours, and never on time off. **1. Open Settings › Helpdesk › Scheduling** The page has three parts: **Shifts**, **Agent schedules** and **Time off**. ![The Scheduling settings with the Shifts section and its New shift button, the Agent schedules table and the Time off section.](annotated/01-scheduling.webp "Shifts, Agent schedules and Time off.") **2. Select New shift** ![The New shift dialog with Name, Timezone and a start and end time for each day of the week, and the Cancel and Create shift buttons.](annotated/02-new-shift.webp "A shift has a name, a timezone and daily hours.") **3. Name it and set the hours** Enter a **Name**, pick the **Timezone**, and set start and end times for each working day. Mark days you don't work as off. A shift must end after it starts on the same day. ![The New shift dialog with Support hours typed in Name.](annotated/03-shift-name.webp "Name the shift.") **4. Create the shift** Select **Create shift**. ![The New shift dialog with the pointer on the Create shift button.](annotated/04-create-shift.webp "Create shift saves it.") **5. Put members on the shift** In **Agent schedules**, pick a shift for each member. **No shift (manual)** leaves their availability to the status they set themselves. **6. Add time off** Under **Time off**, select **Add time off** for holidays and leave. Pick the members, the **From** and **To** dates and an optional **Reason**. Time off covers whole days in each member's shift timezone. ![The Add time off dialog with Members, From and To dates, an optional Reason, and the Cancel and Add time off buttons.](annotated/06-time-off.webp "Time off covers whole days.") ## What happens to tickets created after hours An after-hours ticket waits for your team: * **Assignment.** A team's **Assignment strategy** decides who gets new tickets. **Round Robin** and **Balanced** give a ticket only to a member whose status is **Available**, who is on shift if they have one, and who isn't on time off. If nobody qualifies, the ticket stays with the team, unassigned, until someone picks it up. **Manual** always leaves tickets in the team. * **The agent steps back.** Once a ticket is created, the agent stops replying in that conversation so your team can take it from there. * **Alerts.** Use Helpdesk [Triggers](/docs/user-guides/chatbot/help-desk/triggers) to send a notification when a ticket is created, and Automations to act on tickets that have waited too long, such as "updated more than 24 hours ago". ![The Teams settings of the Helpdesk with the team list and their assignment strategies.](annotated/07-teams.webp "Assignment strategy decides who gets new tickets.") Third-party platforms such as Zendesk or Freshdesk apply their own business-hours rules once a ticket arrives there. QwryAI doesn't check those. ## Set expectations in your instructions Even with routing in place, customers ask "When will I hear back?" Put the answer in **Build › Instructions** so the agent answers the same way every time, and keep it free of promises your team can't keep. **Example** instructions: ```text Our support team works Monday to Friday, 9 AM to 6 PM Sydney time. - If a customer asks to talk to a person, explain that you can connect them during those hours, and that outside them you'll open a ticket and the team will reply on the next working day. - Keep helping with anything you can answer yourself while they wait. - Never promise a reply time other than "the next working day". ``` If your hours differ by channel, turn off **Sync with global instructions** on a channel's **Overview** tab and give it its own version. ## Example conversation Saturday, 11 PM, on the Chat bubble: 1. **Customer:** My order #1042 hasn't arrived. Can I talk to someone? 2. **Agent:** Our team is offline right now. They're in Monday to Friday, 9 AM to 6 PM. I'll open a ticket so they can follow up first thing on Monday. What's your email? 3. **Customer:** jane@example.com 4. The agent creates the ticket. Nobody is on shift, so it waits unassigned in the team. 5. On Monday the first teammate on shift picks it up, or the team's **Round Robin** or **Balanced** strategy assigns the next new ticket to them, and they reply from the Helpdesk. ## Test it 1. Ask for a person in the [Playground](/docs/user-guides/chatbot/playground) and check that the agent explains your hours and creates a ticket. 2. Set your own status to **Available**, put yourself on a shift that covers the current time, and check that a new ticket is assigned to you. 3. Add a [Test](/docs/user-guides/chatbot/tests) with a **Simulated user** who asks for a person, and your Escalations Action under **Expected Actions**. ## Frequently asked questions > [accordion] Does my agent work 24/7? > > Yes. It answers on every channel at any time. Only handoffs to your team depend on your hours. > [accordion] Can I turn the agent off outside business hours? > > There's no schedule for that. You can turn a channel off with its **Visibility** switch, but that stops it at every hour until you turn it back on. > [accordion] What happens if live chat starts when no one is available? > > The customer sees **Waiting for support agent to join** and the agent stops replying until a teammate joins. Describe your hours in the live chat Action's **When to use** and offer a ticket outside them. > [accordion] Can a Trigger route tickets differently after hours? > > No. Triggers have no time condition. Assignment already follows shifts: with **Round Robin** or **Balanced**, tickets go only to members on shift. > [accordion] Do shifts change a member's status? > > Shifts decide whether a member counts as on shift. A member must also set their status to **Available** to receive tickets. Members without a shift are judged by their status alone. ## Related > [card] QwryAI live chat | /docs/user-guides/chatbot/actions/qwryai-live-chat | Hand a conversation to your team in real time. > [card] Scheduling | /docs/user-guides/chatbot/help-desk/scheduling | Set shifts and time off for your team. > [card] Escalations | /docs/user-guides/chatbot/actions/escalate-to-human | Open a ticket for your team to follow up. > [card] Procedures | /docs/user-guides/chatbot/procedures/procedures-overview | Build step-by-step flows for your agent.