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
asked 5 years ago669 views
1 Answer
0

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

MiguelG
answered 5 years 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