AWS LEX : Bots integration with Lambda function

LEX is a new Service to develop conversational AI enabled ChatBots.

How does a Bot user interface (voice or text) talks to Lambda function?

Input Event from LEX : Bot invoking→ Lambda function


User ID

Session Attributes

Bot Name

Bot Version and Alias

Intent Name

Slots [Key:Value]


Our Lambda Function will use the Slot values to make connection to DynamoDB or S3 or any DataSource to fetch data.

Our Lambda function will return the results data to LEX — Bot.