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
已提问 5 年前685 查看次数
1 回答
0

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

MiguelG
已回答 5 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则