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?

1 Risposta
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
con risposta un anno fa

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande