Detect phone number in Lex/Lambda from a Twilio SMS service

0

Hi all,

I'm building a chatbot using: Twilio -> Lexv2 -> Lambda

I would like to capture the phone number of the user that is currently texting the bot in order to log information about the interaction along with a couple of other things.

Right now the only request attribute that is coming across in the event is:

"x-amz-lex:channels:platform": "Twilio"

Is there anything I need to enable in order to get the phone number that started the interaction passed through in the request attributes?

feita há um ano318 visualizações
1 Resposta
0

Hi,

Unfortunately, at the moment Lex V2 is passing only the attribute you pointed and nothing can be done to get the phone number.

AWS
Satish
respondido há um ano

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