Get Attributes from Amazon Connect to Amazon Lex

0

Hi,

I have in my contact flow this:
Stored Customer Input ---> Set contact attributes: Key: numberInput, Type: System, Attribute: Stored customer input ---> play prompt ---> Get Customer Input: With my Lex's BOT

and in the lambda of my Lex's BOT
var phone = event.Details.ContactData.Attributes.numberInputs;

but when I try to get the customer's number I got nothing.

what Im doing wrong? what Im missing?

MiguelG
demandé il y a 5 ans685 vues
1 réponse
0

Just I had to use Session attributes
and call them by var xxxx = event.sessionAttributes.numberInputs

MiguelG
répondu il y a 5 ans

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions