Skip to content

Referencing External Attributes in Connect Flow?

0

My web engineer is setting attributes in his code to set a Connect attribute using the AWS Connect API. After setting his attributes, he launches my Connect Flow. In my Connect flow, how would I reference those attribute? I'm was thinking it would just be $.External.AttName but that doesn't seem to be working. He has correctly set the instanceID to the same instance as my Connect flow.

Any ideas?

2 Answers
2

Thank you for reaching out to us regarding the above query.

From the information shared by you, it seems that you might be using UpdateContactAttributes API for creating user-defined contact attributes associated with the specified contact. Kindly confirm the same.

Now, based on the type of Attributes, you would have to modify the way you would be accessing the attributes in the contact flow. Please refer to the documentation here for more information on the same.

That being said, $.External.AttName is used for Lambda attributes which are returned as key-value pairs from the most recent invocation of an Invoke AWS Lambda function block. Documentation Reference

Therefore, I believe you might be setting user-defined attributes using the API, hence could you try accessing the same using : $.Attributes.name_of_your_destination_key.

I hope that the above information is helpful to you. Having said that, in case you are still facing challenges, please feel free to open a support case with AWS using the following link which would allow us to check the resources internally.

AWS
SUPPORT ENGINEER
answered a year ago
0

Thank you! I was split 50/50 on if it were $.External or $.Attributes but my issue is the API requires the contact ID. At the time the web engineer is trying to create the attributes, the Connect flow hasn't executed, so there is no ContactID. And even if there was, I'm not sure how the web engineer would retrieve that ContactID from Connect.

answered 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.