# Holiday Calendar for Service Cloud Voice While Amazon Connect has an Hours of Operation function, it does not have a built-in holiday calendar system. It was always left to the customer to integrate against whatever system normally tracks holiday closures. In many cases, customers used existing AWS services to build a holiday calendar, or used predefined partner solutions. In the case of Service Cloud Voice, we have an available Holiday tracking systems already: Salesforce. This solution uses the holiday object in Salesforce to determine when there should be a center closed event. This solution functions as follows (relevant Salesforce fields in parenthesis): 1. Contact flow invokes an AWS Lambda function to query Salesforce 2. Function pulls all holidays that have been configured in Salesforce 3. Function iterates through the list, looking at two criteria: 1. Is there a single or recurring(IsRecurrence) holiday event for this specific date (ActivityDate) 2. If yes, is that holiday an all day event (IsAllDay) or is it currently within the timeframe defined in the holiday (>StartTimeInMinutes,