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年前318ビュー
1回答
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
回答済み 1年前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ