cgulliver / amazon-lex-customerservice-workshop

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Build a customer service chatbot with Amazon Lex

Amazon Lex allows you to quickly and easily build sophisticated, natural language, customer service chatbots.

In this workshop, you will build a customer service chatbot for a fictitious telco company. They want to make it really easy for their customers to add an international plan to their existing phone account when their customers travel abroad for business and vacation.

The application architecture uses Amazon Lex, AWS Lambda and Amazon DynamoDB. You will build an Amazon Lex chatbot that understands customers' speech or text inputs. Data about available plans and user's chosen plans are persisted in DynamoDB. AWS lambda functions get triggered by Amazon Lex to execute business logic and interact with the DB layer. You can then connect the Lex chatbot with twilio SMS, which allows users to access your bot over SMS text messages; or Amazon Connect, which allows users to call your customer service number and interact with AI through voice.

See the diagram below for a depiction of the complete architecture.

Prerequisites

AWS Account

In order to complete this workshop you'll need an AWS Account with sufficient permission to create AWS IAM, Amazon Lex, Amazon Connect, Lambda, DynamoDB and CloudFormation resources.

Modules

This workshop is broken up into multiple modules. For building out your Lex chatbot, you must complete the following module in order before proceeding to the next:

  1. Build a Lex chatbot and handle informational queries
  2. Handle customer requests to subscribe to services

Once you have a working Lex chatbot, you can choose to complete one or more of the following modules to integrate your Lex chatbot to different channels to interface with your customer:

Extra credit ideas:

Resource cleanup:

About

License:Apache License 2.0


Languages

Language:JavaScript 100.0%