Hours of Operation

Hours of Operation are the standard, defined hours your company is open for business. They include exceptions for when your company is closed due to statutory holidays or company holidays.

The Hours of Operation feature within Symbee Connect allows you to build custom schedules for any channel or department including specifying standard operational hours as well as configuring company observed holidays.

Hours of Operation schedules can be used with both Symbee Connect delivered channels as well as Amazon Connect delivered channels.


Run CloudFormation

If this is the first Symbee Connect CloudFormation you have run, you will need to run the Integrations CloudFormation first. For step by step instructions and further information about CloudFormations click here.

Download and Run Hours of Operation CloudFormation

Before you can proceed, you need to run the Hours of Operation CloudFormation in your aws account.

  1. Log Into your AWS Management Console.
  2. Make sure you are in the correct AWS region for where you want to deploy (this can be found on the top right of the Navigation bar).

  3. Click on Services at the top, and under Management and Governance, choose CloudFormation.

  4. From the CloudFormations console, select Stacks in the left-hand navigation bar, and select Create Stack (with new resources (standard)).

  5. You will be presented the Create Stack view for creating/deploying a new CloudFormation script (known as a stack):

  6. Under the Prepare Template section, select Template is Ready

  7. Under Specify Template, select Upload a template file
  8. Under Upload a template file, click Choose File
  9. In the resulting file selector, find and upload the file you saved from Step 3 above.
  10. Click Next at the bottom
  11. In the Specify Stack Details screen, complete the fields as follows:

  12. Stack Name: Enter a name appropriately. We suggest using your Symbee Connect Environment (e.g. dev, prod, etc.) in the name for better organization, in case you have CloudFormations for multiple Symbee Connect Environments being deployed into the same AWS Account. For example:
    companyalias-environment-hoursofoperation**

    • LambdaDistroBucket: This is the Symbee Connect Lambda S3 bucket where the Voicemail and Direct Dialing Lambdas will be uploaded from. Select the bucket name from the drop-down that matches the AWS region you are running the CloudFormation in.
  13. LambdaSourceFile: Select from the dropdown, there will be only 1 value to pick from.
  14. SecretsManagerRegion: Enter the name of the AWS region where the initial Symbee Connect Integration CloudFormation was run in. For Example:
    us-east-1, us-west-2, eu-central-1, etc.
  15. Click the orange Next button in the bottom right hand corner
  16. On the Options page, just scroll down and click the orange Next button (no updates needed on this page)
  17. On the Review page, scroll down to the Capabilities section, check mark “I acknowledge that AWS CloudFormation might create IAM resources with custom names”. Click the orange Create Stack button in the bottom right hand corner.
  18. Confirm that the process completed successfully.


Symbee Connect Configuration

Creating a Schedule

Adding Hours of Operation

  1. Click on the Function menu on the top navigation bar, then select Hours of Operation under Contact Center Configuration.
  2. Click on the Add New Hours Schedule button.
  3. Create a Name for the schedule. This name will represent the hours listed.
  4. Add a Description. This will help describe the Schedule.
  5. Select which Operating Time Zone the group using this schedule, adheres to.
  6. Under the Operating Schedule – Standard Hours section you will build your schedule by clicking Add, next to days you need to add to the scheduled.
  7. You can modify hours listed by adjusting the times under the Start and End times as well.
  8. Click Save.


Modifying Hours of Operation

  1. Click on the Function menu on the top navigation bar, then select Hours of Operation under Contact Center Configuration.
  2. Click the checkbox next to the schedule you want to modify.
  3. Click on the Modify button.
  4. You can modify the Start (Open Time), the End (Close Time), Delete the day all together or Add a day.
  5. Click Save.


Deleting Hours of Operation

  1. Click on the Function menu on the top navigation bar, then select Hours of Operation under Contact Center Configuration.
  2. Click the checkbox next to the schedule you want to modify.
  3. Click on the Delete button.
  4. Click on the red Delete button to confirm you want to delete the selected schedule.
  5. The Hours of Operation will be removed from the entry table.


Exception Dates

Observed holidays and special days of operation can be configured in the Exception Dates section under the Operation Schedule – Exception Dates. Here, the exception can be defined as a Closed day, or you can specify the hours you will be open on a specific day.

Adding an Exception to Hours of Operation

  1. Click on the Function menu on the top navigation bar, then select Hours of Operation under Contact Center Configuration.
  2. Click the checkbox next to the schedule you want to modify.
  3. Click on the Modify button.
  4. Scroll to the bottom and add the Exception in the Operating Schedule – Exceptions Dates section. Mark this with specific open hours or mark as closed for this day.
  5. Each Exception Date entry has a Description, and an optional Additional Info field that can be populated. The values in both of these fields can be returned to the Contact Flow when the GetOperatingPeriodStatusV2 operation is used, to allow you to branch and provide a different caller experience based on the Exception Date entry.
  6. Click Save.


Removing an Exception

  1. Click on the Function menu on the top navigation bar, then select Hours of Operation under Contact Center Configuration.
  2. Click the checkbox next to the schedule you want to modify.
  3. Click on the Modify button.
  4. Scroll to the bottom Operating Schedule – Exceptions Dates section.
  5. Click the delete button on the Exception you want to remove.
  6. Click Save.


Adding Operations Schedule – Exception Dates only

If you are a 24x7 call center and only close down for specific holidays, you can use the Operating Hours Scheduled just for Exception Dates.

  1. Click on the Function menu on the top navigation bar, then select Hours of Operation under Contact Center Configuration.
  2. Click on the Add New Hours Schedule button.
  3. Create a Name for the schedule. This name will represent the hours listed.
  4. Add a Description. This will help describe the Schedule.
  5. Select which Operating Time Zone the group using this schedule, adheres to.
  6. Under the Operating Schedule – Standard Hours section you will delete all week and weekend days from the schedule.
  7. Once you have removed all week and weekend days, go to the Operating Schedule – Exceptions Dates section and add the holidays observed. Each entry has a Description and an optional Additional Info setting. Both of these values can be returned to the Contact Flow when the GetOperatingPeriodStatusV2 operation is used, to allow you to branch and provide a different caller experience based on the Exception Date entry.
  8. Click Save.


AWS Configuration

In order to use a Symbee Connect Hours of Operation Schedule with an Amazon Connect channel, please complete the following steps:

Allow Amazon Connect instance to use Lambda

  1. From the AWS Console, go to Amazon Connect.

  2. Select the right Region.

  3. Click on the correct Instance Alias to use the Hours of Operation Lambda.

  4. Select Contact Flows on the left-hand side.

  5. Scroll down to AWS Lambda and select the correct Lambda function with the Hours of Operation name in it

  6. This will correspond with the Lambda you just downloaded in the CloudFormation steps above.

  7. Select and add Lambda Function.


Using the Lambda in a Contact Flow

Adding a Invoke AWS Lambda function box:

  1. From the AWS Console, go to Amazon Connect.

  2. Select the right Region.

  3. Click on the correct Instance Alias to use the Hours of Operation Lambda

  4. Navigate to Contact Flows.

  5. Select the flow where you want to check hours of operation.

  6. Insert an Invoke AWS Lambda function box in your flow.

  7. Select the box so you can edit it's contents.

  8. Click the drop down under Select a function and find the HOO Lambda name.

  9. Add 2 parameters as follows:

    • Add the Operation parameter (parameter is optional, if not supplied, the operation defaults to a value of GetOperatingPeriodStatus). Valid values are GetOperatingPeriodStatus or GetOperatingPeriodStatusV2.
      • Set the Destination key to: Operation
      • Select Use text
      • Set Value to either: GetOperatingPeriodStatus or GetOperatingPeriodStatusV2
    • Add the ScheduleName parameter (parameter is required).
      • Set the Destination key to: ScheduleName
      • Select Use text
      • Set Value to: Whatever the name is of the Hours of Operation schedule you want to use. Set the value here to the Name of the Operating Hours Schedule configured in your Symbee Connect Administration Portal.
  10. Change your Timeout to 8 sec.

  11. Click Save.


Adding a Check contact attributes box to check the Operating Status returned from the Lambda

The return values from the Lambda differ depending on whether you set the Operation parameter (see above) to GetOperatingPeriodStatus (the default, if Operation is not set) or GetOperatingPeriodStatusV2. Both operations return the OperatingStatus external, with an appropriate value of Open or Closed. Therefore the steps provided below will suffice for both. However the V2 operation returns additional information containing the Open/Closed reason, allowing you to customize the Contact Flow for example, to take different paths if the reason for Close is due to standard hours, versus due to a configured Exception Date (e.g. Holiday messaging).

The GetOperatingPeriodStatus Operation returns the following External values:

The GetOperatingPeriodStatusV2 Operation returns the following External values:

Configure the Check contact attributes in your Contact Flow with a minimum of the below - enhance this as needed based on the above information if you choose to use the V2 operation, based on your caller experience needs.

  1. Insert a Check contact attributes box after the Invoke AWS Lambda function box.

  2. Select the box so you can edit its contents.

  3. Set the Type to External.

  4. Attribute will be OperatingStatus.

  5. Click Add another condition.

  6. Make it x Equals Open.

  7. Add another condition.

  8. Make it x Equals Closed.

  9. Save

  10. Set your paths for Open and Closed and then Publish and Save your contact flow.


Assigning Hours of Operation

Once the Hours of Operation schedules have been created, they can be assigned via Skill Queues. Refer to the Queues and Skills section of the Administration Guide for more information.