Business Hours and Department Hours: Tell Your Agent When You Are Open

Business Hours and Department Hours: Tell Your Agent When You Are Open

Overview

If you want calls to behave differently depending on the time of day, you need one of the three features described in Part 3: Making calls behave differently when you are closed below.

It is important to know what the Hours tab does and does not do:

  • The agent reads these hours to callers and uses them to answer questions like "Are you open?"
  • The Hours tab does not change how calls are routed. It will not, by itself, send an after-hours call to voicemail or switch to a different greeting.

If you want calls to behave differently depending on the time of day, you need one of the two features described in Part 3: Making calls behave differently when you are closed below.

Prerequisites

  • An AI Agent already created (see: Setup AI Agent).
  • Your business hours, and, if you want department schedules, the name and hours of each department.
  • For Part 3 only: your Calldacity phone system must be connected, because the time frames used for routing are created and managed there.

Part 1: Set one schedule for the whole business

  1. Open your agent and select the Hours tab. 

  2. You will see one row for each day of the week. Tick the checkbox next to a day to mark that day as open. When you tick a day, it fills in a starting window of 9:00 AM to 5:00 PM, which you can change.
  3. For each open day, choose an opening time and a closing time from the two drop-down lists. Times are offered in 15-minute steps.
  4. Leave a day unticked to mark it as closed. Its time boxes are greyed out. If you tick a day and leave a time empty, the tab shows "Open time is required" or "Close time is required".
  5. In the Notes box, add anything the schedule cannot express, for example "1-hour lunch time at noon. Available by appointment on weekends." The agent can read these notes to callers.
  6. Select Save. 

Hover over the small information icon next to the Hours heading at any time to see a reminder of what these hours are used for.

Part 2: Set different hours for each department

Use this when, for example, Sales, Service and Parts keep different hours.

  1. On the Hours tab, turn on Set hours by department.
  2. The company-wide schedule is replaced by department cards. A first card is created for you, marked Main, containing the hours you already had. Give it a Department name. It starts with no name, and you must enter one before you can save.
  3. Edit the weekly hours and Notes on the card the same way as in Part 1.
  4. Select Add department to add another card. Name it (for example Sales, Service, Parts) and set its hours. Each card has a delete icon (Remove this department) except the Main card.
  5. Select Save.

How the Main department works

The Main department's hours are what the agent gives a caller who does not ask about a specific department. Use it for your general business hours. You cannot delete the Main department; the only way to remove it is to turn the Set hours by department switch off.

Limits and rules

  • You can have up to 20 departments. A counter beside Add department shows how many you have used (for example "3 of 20").
  • Every department needs a name, and names must be unique. You will see "Department name is required" or "Department names must be unique" if not.
  • Exactly one department is the Main department.
  • Any day you mark as open needs both an opening and a closing time.

Turning department hours off

Switching Set hours by department off asks "Turn off department hours?" and explains that all departments and their hours are removed, and the company-wide hours are restored from the Main department. Select Turn off to continue or Keep departments to cancel. Nothing is final until you select Save. If you leave the tab without saving, your changes are not applied.

Part 3: Making calls behave differently when you are closed

Hours that the agent speaks to callers are separate from the schedules that drive call behavior. Calldacity offers three features for that. All of them use time frames, which are schedules that live in your Calldacity phone system. You create and edit time frames there, not in the AI Agent editor.

Option A: Scheduled flows (a different conversation by time of day)

A scheduled flow is an alternate version of your agent's conversation flow that answers calls while a chosen time frame is active. For example, an "After hours" flow that takes a message instead of offering a transfer. (See also: Building Conversation Flows.)

  1. Open the Flows tab.
  2. Select Add scheduled flow.

  3. Enter a Flow name.

  4. Under Time frame, choose the time frame. You can type in Search time frames to narrow the list. Each entry shows its name, a short summary of when it is active, and a label for the kind of time frame. If a time frame is already used by another scheduled flow, a "Used by flow" note is shown.
  5. Choose Start from either Copy of Default or Blank, and under Place in flow order choose At the top, checked first or At the bottom, just above Default. Then set the Greeting.
  6. Select Add flow, then save the agent.

Notes on the time frame list:

  • The list shows how recently it was loaded ("Updated 3 min ago"). Use the refresh icon (Refresh time frames from the phone system) after you add or change a time frame in the phone system.
  • Select Manage time frames in the phone system to open the phone system in a new tab. Changes made there appear here after you refresh.
  • If the list says "No time frames in your phone system yet", create one in the phone system first, then refresh.
  • If you see "Can't reach your phone system", the agent uses the Default flow for every call until the connection is back. Select Try again.
  • Flows are checked in order. The first scheduled flow whose time frame is active answers the call; otherwise the Default flow is used. You can reorder scheduled flows on the Flows tab.

Option B: Open hours for a call-routing destination

If your agent transfers callers to people or queues, you can stop it transferring to a destination that is closed. This is set on the Call Routing tab, on each routing rule and on the Default route.

  1. Open the Call Routing tab.
  2. Find the destination. Under Open hours, choose:
    • Always open: callers are always transferred. This is the default.
    • Open during a time frame: then pick the Time frame from the drop-down.
  3. If you chose a time frame, set When closed: choose where callers go while the destination is closed. The choices are Voicemail, Extension or queue and Flow step. Then pick the specific voicemail box, extension or queue, or flow step.
  4. Save the agent.

Each destination shows a status chip so you can see at a glance whether it is open right now, along with "Status as of" time in your agent's time zone. If you leave the "when closed" choice unfinished, the tab asks you to complete it, for example "Pick the voicemail box callers go to while this destination is closed."

This feature is available for v2 agents only. Department hours on the Hours tab are not linked to routing destinations; the two are configured independently.

Option C: Time frames inside a Call Routing state

A Call Routing state in your conversation flow sends the call somewhere by rule rather than by the agent's judgement. One of the things a routing rule can check is whether a time frame is open. Use this when only one step of the conversation should change after hours. For example, callers who ask for Service are sent to the service queue while it is open, and to a message-taking step while it is closed. (See also: Building Conversation Flows.)

  1. Open the Flows tab and select the state that should route the call. Its State type should be Call Routing.

  2. Under Where it sends the call, select Route the call from here if the state does not route yet.

  3. Under What it needs to know, select Add something to ask. This adds an input. Give it a name you will recognize, for example office_hours, and change its source from Ask the caller to Time frame.

  4. Pick the time frame from the list. If the list says "Couldn't reach your phone system", select Try again.
  5. Under Input value, choose:
    • Open or closed: whether the time frame is open right now. This is the default.
    • Holiday name: the name of the holiday that is active right now, or nothing if there is none.
  6. Under Rules, in the order they are tried, select Add a rule. Name it (for example "After hours"), choose your time frame input in the condition, choose is, and pick Closed.

  7. Under Then send the call to, choose where callers go while it is closed: an Extension, a Phone number, or Another state in the same flow (for example a state that takes a message).
  8. Under When no rule matches, set the Fallback, which is where everyone else goes (for example the open-hours destination).
  9. Save the flow.

Things to know:

  • Rules are tried in order and the first match wins. Put the after-hours rule above rules that would otherwise catch the same callers.
  • Use is Closed, not is not Open. If the phone system cannot be reached, the time frame's state is Unknown, which counts as open. "is Closed" leaves those callers on the normal route, while "is not Open" would treat them as closed.
  • A rule can combine the time frame with other inputs. Set the rule to Every condition, for example "office_hours is Closed" and "department is Service".
  • Use Holiday name with is or is one of to send specific holidays somewhere else, or with has any value to match any holiday.

Which option should I use? Use Option A when the whole conversation should change after hours, Option B when a single transfer destination keeps its own hours, and Option C when one routing step in the flow should branch on a time frame or a holiday.

Tips and troubleshooting

  • The agent says the wrong hours. Check whether Set hours by department is on. If it is, the Main department's hours are used when the caller doesn't mention a department. Also check the agent's time zone on the General Information tab. 

  • The agent still answers or transfers after closing time. This is expected if you only filled in the Hours tab. Use Option A or B above to change what happens after hours.
  • The time frame I need is missing. Create it in the phone system and refresh the list.
  • I can't save. Look for a red message at the top of the tab. Common causes are an unnamed department, duplicate department names, or an open day with a missing time.
  • Holidays. Put them in Notes (for example "Closed on public holidays") so the agent can tell callers. There is no calendar of exceptions on the Hours tab.
  • My after-hours routing rule never fires. Check that the input's source is Time frame with a time frame picked, that the rule says is Closed, and that no rule above it matches the same callers first.
  • Setup AI Agent
  • Building Conversation Flows
  • Call Routing Rules (Flow State)
  • Testing Your Agent with a Browser Test Call