AWS Contact Center

Improve your customers experience by adjusting your agents’ availability status

Michael Goligorsky, Sr. Solutions Architect, Amazon Connect

As organizations increasingly compete on the basis of great customer experience, contact center performance has become a critical business focus. Contact centers rely on agents to provide great customer service with every interaction. Without productive agents, you risk losing your customers, reputation, and revenue.

Given this, it is crucial for supervisors to monitor agents’ productivity. Amazon Connect now provides an API to update or override the agent status programmatically based on your specific business need. For example, when monitoring calls, you can take a group of agents ‘offline’ to give them inputs on how to handle calls. Or supervisors can send a group of agents to ‘lunch’ based on forecasted schedule feed from your WFM (workforce management system).

In this blog, you will deploy a serverless web application that provides supervisors with ability to programmatically mass update agents’ status. Using a CloudFormation template, you will deploy all of the necessary architecture to support the functionality of this new feature.

Overview of solution

In the following architecture (figure 1), an AWS Lambda function is used to programmatically display the list of agents and provide supervisors with the ability to mass update agents status using Amazon Connect API operations. An Amazon S3 origin bucket and Amazon CloudFront are used to host supervisor dashboard. Amazon API Gateway backed by AWS Lambda function facilitates viewing, searching, and updating agents state information.

Figure 1: Solution architecture

Figure 1: Solution architecture

Note: This is a sample project designed to be easily deployable for experimentation. The AWS Identity and Access Management (IAM) policy permissions use least privilege, however Amazon CloudFront, and Amazon API Gateway resources deployed will be publicly accessible.

We recommend that you take the appropriate measures to secure your Amazon CloudFront distribution and Amazon API Gateway as required.

Prerequisites

For this walkthrough, it is assumed that you understand and have access to the following resources:

Walkthrough

To get started, launch the CloudFormation template in the same Region where Amazon Connect instance is deployed.

Launch Stack

Deployment steps

For deploying the solution, you will need the following information:

  1. Amazon Connect instance ID

Once you have the Amazon Connect instance ID, you are all set to deploy the solution.

Overview of the steps:

  1. Deploy the AWS CloudFormation stack
  2. Sign in to Amazon Connect as an agent and launch CCP
  3. Test the solution by updating agent status

1. Deploy the AWS CloudFormation Stack

  1. Log in to the AWS Management Console.
  2. Click on the Launch Stack button.
  3. In the parameters section, enter the stack name, instance ID, and click on Next.
  4. Click Next again
  5. Check the box for “I acknowledge that AWS CloudFormation might create IAM resources.
  6. Choose Create Stack.
  7. The AWS CloudFormation template may take 15–20 minutes to create all the resources. Once done, it will show the status as “CREATE_COMPLETE

2. Launch the custom contact center supervisor dashboard

  1. Log in to your AWS Management Console and navigate to AWS CloudFormation by typing the service name in the search bar.
  2. Select the name of the stack that you created.
  3. Go to the Outputs section of the newly created stack. Copy the website URL from the Value column.
  4. Paste the URL in a new web browser tab and navigate to the supervisor dashboard.
  5. Log in to the Amazon Connect CCP as a configured agent who can receive calls from the basic queue.

3. Test the solution

  1. Verify that you can see agents.
  2. Select multiple agents by clicking on agent’s name.
  3. Update agents’ status in the supervisor dashboard (from “Available” to “Offline”).
  4. Verify that agent’s CCP is in the “Offline” status.

Cleaning up

To avoid incurring future charges, remove all created resources by deleting the AWS CloudFormation stack. Optionally, you can also delete S3 bucket containing source files.

If you created an Amazon Connect instance for this blog, you can delete the Amazon Connect instance in the Amazon Connect service console.

Conclusion

In this blog post, we demonstrated an example how contact center supervisors can monitor agents’ statuses in near-real-time. We provided UI example of how you update agents’ status programmatically using Amazon Connect “PutUserStatus” API. To learn more, visit the Amazon Connect website.

Author bio

Michael Goligorsky is a Senior Solutions Architect with Amazon Web Services. With 25+ years of enterprise IT experience in Fortune 100 companies, Michael is passionate about diving deep with customers to architect creative solutions to some of the most complex challenges in cloud computing. In his spare time, he can be found traveling the world with his family.