Newer Version Available
HandleContactEventsFunction Lambda Function
Configuration: This function is available to Service Cloud Voice customers who are using an Amazon Connect instance that’s provided by Salesforce. This Lambda is installed with Service Cloud Voice contact center version 8.0 or later. See Update Your Contact Center for more details. No additional configuration is necessary. See a sample version of the invokeTelephonyIntegrationApi Lambda function in GitHub.
Usage: You don’t need to call this function manually.
This function calls the InvokeTelephonyIntegrationApiFunction Lambda function using the cancelOmniFlowExecution method. This method cancels the the Omni-Channel flow and calls the Clear Routing REST API to clear the PendingServiceRouting (PSR) record.