question

henry tang avatar image
henry tang asked ·

Can a Lex bot initiate a conversation with the user?

Currently, I want to implement a Lex bot where instead of the user giving an utterance and then the Lex bot responds. I want the Lex bot to use prior known information when the user opens a chat with the bot while logged in and say "Hi [Username]! Can I have your pin for verification?"


While browsing google I found a Lex bot developer's pdf, there was a function called PutSession that allows a "Lex bot to initiate a conversation with the user" however no example code/or instructions were stated. I feel like this is possible but wanted to double-check that I wasn't going down a rabbit hole.


Thank you

lex
10 |2000 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

0 Answers