RE: Amazon Connect - Populate contact Attributes for Dropped


Hi, We have callflow which collect callers data from backend using Lambda.

Some scenarios, Callers are dropping calls before those data are populated to Contact Attributes.

How can we populate those data after DISCONNECT message is received?

Thanks, Selva

asked 2 years ago281 views
1 Answer

Hi Selva, I'm assuming you're currently using an "Invoke AWS Lambda function" block in your contact flow to call the Lambda, and then using "Set contact attributes" to populate the attributes from the Lambda return value. If the call disconnects during that time (eg while the Lambda is executing) the contact flow will stop running and the attributes won't be set.

In this situation, you can use the UpdateContactAttributes API to populate the values. Use the contact records stream to check each completed call; if it doesn't have the attributes populated you can invoke your logic to look up the customer details and update those attributes.

answered 2 years ago
profile pictureAWS
reviewed a year ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions