Lex V1 Chat Bot passing data back and forth

Presently I'm able to execute an inbound message flow that

  • Starts the Lex V1 Chat Bot
  • Via Bot Intent, capture data (e.g. org id and case id)
  • Map Intent slots to variables used in the flow
  • Pass the captured data to a Data Action that does a get to a CRM

The capability that needs to be added into the flow is to be able to

  • validate if the org or case data is a valid one and if not, any invalid result back to the bot, bot should then be able to respond back to customer (e.g. you entered an invalid number, please try again)

Does anyone have a sample of what this would look like from an Architect and and AWS Lex Chat Bot V1 console/lambda function detailed view.

Note, this all has to happen within the same Chat Bot Session.

Thanks for any assist.
Maxwell

This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.