# Set Business Hours, Holidays and Out-of-Office Rules

Create working hours schedules and holiday calendars for your team, and decide what happens to chats and emails that arrive when nobody is working.

> Source: https://www.robylon.ai/docs/human-users/business-hours
> Section: Team

Business hours tell Robylon when your human agents are working. Outside them, Robylon follows your out-of-office settings: it can hold conversations until the team is back, still assign them, and send customers a message saying when to expect a reply.

Open it from [**Settings → Team → Business Hours**](https://app.robylon.ai/settings/team/business-hours/working-hours). It has two tabs: **Working Hours** and **Holidays**.

## Add working hours

Click **Add Working Hours**, set the schedule's days and hours, then choose the out-of-office behaviour and save.

<Steps>
  <Step title="Name the schedule and pick a timezone">
    On the **Working Hours** tab, click **Add Working Hours**. Enter a **Schedule Name** and choose the **Timezone** the hours are in.
  </Step>
  <Step title="Choose working days and hours">
    Under **Working Days**, select the days your agents are available. For each day, set a start and end time under **Working Hours**, or turn on **Same hours for all days** to use one time range for every day. Click **Next**.

    <Frame>
      <img src="/assets/docs/live-agents-working-hours.webp" alt="Add Working Hours Configuration step 1 with Monday to Saturday selected and 09:00 AM to 06:00 PM set for each day" width="878" height="884" />
    </Frame>
  </Step>
  <Step title="Set out-of-office behaviour">
    Choose what happens outside these hours. See [the out-of-office options](#outside-working-hours) below.
  </Step>
  <Step title="Save">
    Click **Save**. Then pick this schedule in a group's **Working hours** field in [Groups](https://www.robylon.ai/docs/human-users/groups).
  </Step>
</Steps>

<Note>
If you select no working days, Robylon treats the whole week as working time (24x7).
</Note>

## Outside working hours

On the second step, **Out of Office**, you decide whether work is still assigned and what customers are told.

| Setting | What it does |
| --- | --- |
| Chat Assignment | Assign chats to human agents during out-of-office hours. |
| Email Assignment | Assign email tickets to human agents during out-of-office hours. |
| Human Verification Assignment | Assign [verification tasks](https://www.robylon.ai/docs/product/human-verification) to human agents during out-of-office hours. |
| Agent unavailability outside working hours (Chat Messages) | A switch, on by default, and the message sent to customers who ask for a human outside working hours. Turn it off to send no message. |
| Auto-reply outside working hours (Email Messages) | An automatic reply to emails received outside working hours. |

### Out-of-hours chat message

<Frame>
  <img src="/assets/docs/app-out-of-hours-message.webp" alt="Out of Office step of Add Working Hours Configuration, with the Chat Assignment, Email Assignment and Human Verification Assignment switches off and the Agent unavailability outside working hours switch on above its message editor" width="975" height="880" />
</Frame>

The message is used when **Chat Assignment** is off. A chat handed over to a human outside working hours then gets it, unless an out-of-office workflow is set with the **When a chat is handed over outside office hours** [trigger](https://www.robylon.ai/docs/product/triggers). That workflow runs instead and sends its own messages. Turn **Agent unavailability outside working hours** off to send nothing.

When **Chat Assignment** is on, or within working hours, a chat that no agent is free to take gets the group's **Agent unavailability message** instead. See [Groups](https://www.robylon.ai/docs/human-users/groups).

When an assignment setting is off, conversations that arrive out of hours wait unassigned. They are assigned automatically when working hours start and agents come online.

<Note>
If waiting chats are not assigned automatically once working hours start and your agents are online, contact [support@robylon.ai](mailto:support@robylon.ai).
</Note>

<Tip>
Say when you will be back: "Our team is offline right now. We reply between 9 AM and 7 PM, Monday to Saturday, and will pick this up first thing."
</Tip>

### Out-of-hours messages in other languages

The out-of-hours chat message and the email auto-reply outside working hours are sent in the customer's language when translation is on for your workspace and you have saved a translation for that language. Without a saved translation, the message is sent as written. Set up the languages in [Languages](https://www.robylon.ai/docs/languages). Translation is switched on per workspace and is available on request, email support@robylon.ai.

## Add holidays

Open the **Holidays** tab and click **Add Holiday Calendar**. Enter a **Calendar Name**, then add each holiday with a **Holiday Name** and **Holiday Date** using **+ Add a Holiday**, and save. On holidays, conversations follow the out-of-office settings of the group's working hours.

Pick the calendar in a group's **Holiday calendar** field so it applies to that group.

## Different hours for different teams

Different teams can have different hours. Create one schedule and one holiday calendar per team, then assign them in each group. For example, a chat team that works 9 AM to 9 PM every day and an email team that works 10 AM to 6 PM on weekdays each get their own schedule. The list on the Working Hours tab shows each schedule's days, hours and the channels and groups using it.
