Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Expand
titleSetting Holidays

Amazon Connect is set up to run an AWS Lambda function to dynamically notify callers of any University holidays that fall outside of our normal closed hours.

To do this, Lambda will need to read a specifically named and structured .csv file to determine which days during the fiscal year or long semester are holidays.

The below instructions will detail the creation of this file and the upload process so that this functionality can be used.

  1. Obtain a list of upcoming University holidays. You can find UT System's holiday schedule here
  2. Launch Microsoft Excel, or your preferred spreadsheet program
    1. Please note: these instructions will only detail the process in Excel, though the process should not differ too much in other tools
  3. Create two columns, with headers "Holidays" and "Name" respectively
    1. Lambda will discard the first row from this .csv, so remember to include these headers
  4. In the "Holidays" column, enter in each of the scheduled holiday dates
    1. Lambda will be able to interpret MM/DD/YY, DD/MM/YY, or ISO 8601 date formats

    2. If Lambda does not properly interpret a given date, please alter its formatting to fit ISO 8601

      Info
      titleDate Formatting

      When you have entered in all the needed dates, you may wish to specify their formatting.

      Specifically, you may wish to change the format to ISO 8601, as shown below.

  5. In the "Name" column, enter in the name of the holiday
    1. Please note, UT System uses "Winter Holiday" to refer to the holiday time granted between Fall and Spring semesters, not including Christmas Eve, Christmas Day, Day After Christmas, and New Year's Day.

      Note

      Connect will read the holiday name out to the caller via text-to-speech.

      This field should be provided, if possible, so that Connect can give specific information.  If no name is provided for a holiday, Connect will instead say "a university holiday".

  6. When you have confirmed that the data entry is complete and properly formatted, save the file as a .csv file with the filename, holidays.csv
    1. Please be sure to select "CSV (Comma delimited) (*.csv)", rather than any of the other available .csv formats. The other formats add extraneous information that is not necessary and may not work properly with Lambda.
  7. Upload your holidays.csv file to our AWS S3 bucket so that Lambda can interact with it during each call
    1. You can visit this link to be taken directly to the appropriate S3 bucket
      1. Alternatively, you can navigate to AWS, select the S3 service, and open the laitscc bucket, navigating to laitscc/connect/laits
    2. Click "Upload", then drag and drop your holidays.csv file or browse to it using the dialog box
    3. Click the "Upload" button in the lower-left corner of the dialog box. You'll receive a confirmation message when the upload is complete.

...