> ## Documentation Index
> Fetch the complete documentation index at: https://plivo.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Business Hours

> Define when your agents are available and control how flows behave during or outside working hours.

**Business Hours** help you control when human agents are available for conversations and how your flows behave during and outside of working hours. By defining working time windows and linking them to holiday calendars, you can ensure timely support, accurate agent availability, and context-aware automation.

<Frame>
  <img src="https://mintcdn.com/plivo/R0bB3pSVhMhsNJEx/aiagent/images/businesshours.png?fit=max&auto=format&n=R0bB3pSVhMhsNJEx&q=85&s=878a22697279a54aaace8c5529053d5d" width="2314" height="1250" data-path="aiagent/images/businesshours.png" />
</Frame>

## Feature Overview

Use Business Hours to:

* Set operating schedules for support teams across timezones.
* Automatically adjust routing logic based on working days and hours.
* Respect national holidays by linking to predefined **Holiday Groups**.
* Create time-based rules in your flows using the **Business Hours node**.

## Defining Business Hours

| Setting                | Description                                                                             |
| :--------------------- | :-------------------------------------------------------------------------------------- |
| **Name & Description** | Identify the purpose of each business hour configuration.                               |
| **Timezone**           | Aligns schedules with team or office location.                                          |
| **Holiday Group**      | Skips agent availability on configured holidays.                                        |
| **Daily Hours**        | Define start and end times per day; supports multiple time slots.                       |
| **Priority Ordering**  | When multiple business hours overlap, Plivo uses the topmost match to evaluate routing. |

You can edit, delete, or prioritize multiple entries depending on your operational needs.

## Business Hours Node (Flow Integration)

<Frame>
  <img src="https://mintcdn.com/plivo/R0bB3pSVhMhsNJEx/aiagent/images/businesshours2.png?fit=max&auto=format&n=R0bB3pSVhMhsNJEx&q=85&s=aa73114d26394b598a715f250ee17443" width="1734" height="1208" data-path="aiagent/images/businesshours2.png" />
</Frame>

The **Business Hours node** in the Flow Builder checks whether the current time falls within your defined business hours. It acts as a branching point in your logic:

* If the condition is met, the flow continues down the "open" path.
* Otherwise, it can route to after-hours automation, fallback queues, or task creation.

This enables use cases such as:

* Live agent handoff only during business hours
* Custom offline messaging
* Deferred handling via tasks or follow-up alerts

### Example

You create a "US Business Hours" schedule for 9 AM – 5 PM (IST), Monday to Friday.\
In your agent flow:

* The Business Hours node checks if it's within this window.
* If true, the user is routed to a live agent queue.
* If false, the user receives a message like "Our team is offline right now—we’ll get back to you soon."
