As a contact center agent, would you rather focus on having productive customer conversations or get distracted by having to look up customer information and knowledge articles that could exist in various systems? We’ve all been there. Having a productive conversation while multitasking is challenging. A single negative experience may put a dent on a customer’s perception of your brand.
The Live Call Analytics with Agent Assist (LCA) open-source solution addresses these challenges by providing features such as AI-powered agent assistance, call transcription, call summarization, and much more. As part of our effort to meet the needs of your agents, we strive to add features based on your feedback and our own experience helping contact center operators.
One of the features we added is the ability to write your own AWS Lambda hooks for the start of call and post-call to custom process calls as they occur. This makes it easier to custom integrate with LCA architecture without complex modification to the original source code. It also lets you update LCA stack deployments more easily and quickly than if you were modifying the code directly.
Today, we are excited to announce a feature that lets you integrate LCA with your Customer Relationship Management (CRM) system, built on top of the pre- and post-call Lambda hooks.
In this post, we walk you through setting up the LCA/CRM integration with Salesforce.
LCA now has two additional Lambda hooks:
The following diagram illustrates the start of call and post-call (summary) Lambda hooks that integrate with Salesforce to look up and update case records, respectively.
Here are the steps we walk you through:
You need the following prerequisites:
To set up your Salesforce app, complete the following steps:
You need these when deploying the AWS Serverless Application Model (AWS SAM) application.
If you don’t already have an access token, you need to obtain one. Before doing this, make sure that you’re prepared to update any applications that are using an access token because this step creates a new one and may invalidate the prior tokens.
The Lambda function that performs case look-up and update matches the caller’s phone number with a contact record in Salesforce. To create a new contact, complete the following steps:
Complete the following steps to deploy the LCA stack:
The stacks take about 45 minutes to deploy.
To deploy the Salesforce integration stack, complete the following steps:
https://github.com/aws-samples/amazon-transcribe-live-call-analytics.git cd amazon-transcribe-live-call-analytics/plugins/salesforce-integration sam build sam deploy —guided
Use the following table as a reference for parameter choices.
Parameter Name | Description |
AWS Region | The Region where you have deployed the LCA solution |
SalesforceUsername | The user name of your Salesforce organization that has permissions to read and create cases |
SalesforcePassword | The password associated to your Salesforce user name |
SalesforceAccessToken | The access token you obtained earlier |
SalesforceConsumerKey | The consumer key you copied earlier |
SalesforceConsumerSecret | The consumer secret you obtained earlier |
SalesforceHostUrl | The login URL of your Salesforce organization |
SalesforceAPIVersion | The Salesforce API version (choose default or v56.0) |
LCACallDataStreamArn | The Kinesis data stream ARN (CallDataStreamArn) obtained earlier |
Complete the following steps to update the LCA stack:
Make a test call and make sure you can see the beginning of call AGENT ASSIST and post-call AGENT ASSIST transcripts. Refer to the Explore live call analysis and agent assist features section of the Live call analytics and agent assist for your contact center with Amazon language AI services post for guidance.
To avoid incurring charges, clean up your resources by following these instructions when you are finished experimenting with this solution:
In this post, we demonstrated how the Live-Call Analytics sample project can accelerate your adoption of real-time contact center analytics and integration. Rather than building from scratch, we show how to use the existing code base with the pre-built integration points with the start of call and post-call Lambda hooks. This enhances agent productivity by integrating with Salesforce to look up and update case records. Explore our open-source project and enhance the CRM pre- and post-call Lambda hooks to accommodate your use case.
Kishore Dhamodaran is a Senior Solutions Architect at AWS.
Bob Strahan is a Principal Solutions Architect in the AWS Language AI Services team.
Christopher Lott is a Senior Solutions Architect in the AWS AI Language Services team. He has 20 years of enterprise software development experience. Chris lives in Sacramento, California and enjoys gardening, aerospace, and traveling the world.
Babu Srinivasan is a Sr. Specialist SA – Language AI services in the World Wide Specialist organization at AWS, with over 24 years of experience in IT and the last 6 years focused on the AWS Cloud. He is passionate about AI/ML. Outside of work, he enjoys woodworking and entertains friends and family (sometimes strangers) with sleight of hand card magic.