Organizations with contact centers benefit from advanced analytics on their call recordings to gain important product feedback, improve contact center efficiency, and identify coaching opportunities for their staff. The Post Call Analytics (PCA) solution uses AWS machine learning (ML) services like Amazon Transcribe and Amazon Comprehend to extract insights from contact center call audio recordings uploaded after the call, or from integration with our companion Live Call Analytics (LCA) solution. You can visualize the PCA insights in the business intelligence (BI) tool Amazon QuickSight for advanced analysis.
In this post, we show you how to use PCA’s data to build automated QuickSight dashboards for advanced analytics to assist in quality assurance (QA) and quality management (QM) processes. We provide an AWS CloudFormation template and step-by-step instructions, allowing you to get started with our sample dashboard in just a few simple steps.
The following screenshots illustrate the different components of our sample QuickSight dashboard:





The solution uses the following AWS services and features:
The following architecture diagram shows how our solution uses PCA insights from a call recording in an S3 bucket to enable analytics in QuickSight.

As part of the solution workflow, EventBridge receives an event for each PCA solution analysis output file. Kinesis Data Firehose uses Lambda to perform data transformation and compression, storing the file in a compressed columnar format (Parquet) in the target S3 bucket. The AWS Glue Data Catalog has the table definitions for the data sources. Athena runs queries using a variety of SQL statements on the compressed Parquet files, and QuickSight is used for visualization. To optimize query performance, we use Athena partition projections. This feature automatically creates date-based partitions for query performance and cost optimization.
This is a loosely coupled architecture, with flexibility to ingest data from third-party data sources, enrich the data by adding more data points, and cross-reference data across data sources for your analytics use case. Lambda functions can integrate with third-party data sources to process and store the compressed output in Amazon S3 using Kinesis Data Firehose. Athena lets you create views by cross-referencing the data across multiple tables.
You should have the following prerequisites:
Note that this solution uses QuickSight SPICE storage.
To deploy the solution, complete the following steps:
OutputBucket.
OutputBucket: OutputBucket (ref. step 3) on the Amazon S3 console.pca-quicksight-analytics).OutputBucket. (ref. step 3)WebAppUrl output from your PCA stack.
<Stack Name>-PCA-Dashboard and choose Share.<Stack Name>-PCA-Analysis under Asset type analyses and <Stack Name>-PCA-* under Datasets.After you deploy the solution, you can explore the dashboards by loading demo data.
OutputBucket bucket in the /parsedFiles/ folder.Note that this step is optional. We recommend using a non-production environment or stack to keep production and demo data segregated.
Once deployed, the solution processes new PCA data as it is added. To process older PCA data, complete the following steps:
OutputBucket on the Amazon S3 console./parsedFiles/ folder.This triggers an EventBridge rule to process the historical PCA files and stream the data to the QuickSight dashboard.
After you generate the PCA output data (within a few minutes), a compressed Parquet PCA data file will appear in the PCA OutputBucket under pca-output-base.
pca database. You should see the pca\_output table under Tables and views.pca\_output table and choose Preview Table.

FromDate and ToDate to view older data or a custom time frame.To remove the resources created by this stack, perform the following steps:
OutputBucket bucket under /parsedFiles/.pca-output-base folder under the PCA output bucket.In this post, you learned how to visualize PCA solution data, using a CloudFormation template to automate the QuickSight dashboard creation. You also learned to how to visualize historical PCA data in QuickSight.
The sample PCA QuickSight dashboard application is provided as open source—use it as a starting point for your own solution, and help us make it better by contributing back fixes and features via GitHub pull requests. For expert assistance, AWS Professional Services and other AWS Partners are here to help.
Mehmet Demir is a Senior Solutions Architect at Amazon Web Services (AWS) based in Toronto, Canada. He helps customers in building well-architected solutions that support business innovation.
Ankur Taunk is a Senior Specialist Solutions Architect at AWS. He helps customer achieve their desired business outcomes in the Contact Center space leveraging Amazon Connect.