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 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南