service-cloud-voice / ServiceCloudVoiceLambdas

This application provides a set of Lambda functions, which are available within your Amazon Connect instance after provisioning the instance with your Service Cloud Voice contact center. You can use these Lambdas in Amazon Connect contact flows.
BSD 3-Clause "New" or "Revised" License
14 stars 18 forks source link

createTransferVC method for invokeTelephonyIntegrationApi does not include Custom Attributes #10

Closed LorneCurrie closed 1 year ago

LorneCurrie commented 2 years ago

When an agent handles an inbound voice call, we use the invokeTelephonyIntegrationApi function with the createVoiceCall method to create a Voice Call record. This includes any custom contact attributes that were set in the call flow. If a caller is then transferred to another queue and in the transfer, the flow happens to update some of the attributes, when we call the invokeTelephonyIntegrationApi function with the method createTransferVC the custom contact attributes are not added to the new VC Transfer object. This hinders agents as there may be information collected in the transfer process that we need to surface to an agent. Is it possible to have the customer attributes added to the Transfer VC object at the creation time?

Note: We know that the Transfer VC object is updated once the CTR is picked up from Kinesis.

jinalkathiara commented 2 years ago

Thanks for the feedback. Unfortunately this is a gap and thanks for highlighting this. we will fix this in the upcoming lambda version and contact center update.

Until then, you can manually modify the lambda to update custom attributes into your lambda copy.

sonymammen-vf commented 2 years ago

Thanks Jinal. Same issue is applicable for Callback as well. The attribute is not passing over for a callback. It would be great if we can fix for callback as well. What we are trying to passthrough is the QueueName, which is generally available after wrapping up the call. So we are passing the QueueName as a custom contact attribute

bobSFtrailhead commented 1 year ago

Hi @jinalkathiara do you have an update as to when this will be implemented?

jinalkathiara commented 1 year ago

As of now this is not have an update. I will update one more time once I know the ETA.

rob-sanuk commented 1 year ago

@jinalkathiara - can you confirm that this is a change to the API for the new release (https://help.salesforce.com/s/articleView?id=release-notes.rn_voice_pass_custom.htm&release=244&type=5) and that this will be accepted in the same object (callAttributes) that is passed to the API and accepted for the create Voicecall method

image

jinalkathiara commented 1 year ago

Yes that's correct. These changes are live now and what you have mentioned is accurate. Closing this issue.