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
feita há 5 anos685 visualizações
1 Resposta
0

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

MiguelG
respondido há 5 anos

Você não está conectado. Fazer login para postar uma resposta.

Uma boa resposta responde claramente à pergunta, dá feedback construtivo e incentiva o crescimento profissional de quem perguntou.

Diretrizes para responder a perguntas