This Guidance demonstrates how to build a seamless conversational interface between guests and customer service agents. Through voice, chat, and text channels, customer interactions can be retrieved by customer service agents, securely saved, and tracked for errors or exceptions, all through a secure, SSL connection.
Agent credentials are managed by Amazon Cognito with API tokens used for secure API data exchange.
DynamoDB holds all customers data, reservations, and engagements (such as emails, chatbots, and contact center interactions).
Amazon Lex for chatbot communication is one of the channels that saves customer engagement data into DynamoDB.
The AWS Well-Architected Framework helps you understand the pros and cons of the decisions you make when building systems in the cloud. The six pillars of the Framework allow you to learn architectural best practices for designing and operating reliable, secure, efficient, cost-effective, and sustainable systems. Using the AWS Well-Architected Tool, available at no charge in the AWS Management Console, you can review your workloads against these best practices by answering a set of questions for each pillar.
The architecture diagram above is an example of a Solution created with Well-Architected best practices in mind. To be fully Well-Architected, you should follow as many Well-Architected best practices as possible.
Amazon Cognito user pools use an identity provider (IdP) for built-in user management.
Lambda only allows users access to the services they need with the least-privilege roles.
The customer's data in DynamoDB is encrypted at rest.
The serverless elements such as Lambda functions, DynamoDB, Amazon Cognito, and Fargate have high availability and automatically scale based on demand. DynamoDB deploys with cross-Region failover for higher availability.
The serverless elements allow you to provision the exact resources that the workload needs. CloudWatch Alarms and Lambda metrics allow monitoring for expected performance. For more unexpected traffic, configure DynamoDB as on-demand, as this service is originally provisioned for consistent traffic.
Serverless elements use a pay-per-value pricing model and scale based on demand.
If you want to further optimize cost, you should share the same key-value tag for assets that belong to the project programmatically and create custom reports in AWS Cost Explorer based on the tags that you have created.
Using only the resources that the workload needs, you minimize the environmental impact of the backend and storage services.
A detailed guide is provided to experiment and use within your AWS account. Each stage of building the Guidance, including deployment, usage, and cleanup, is examined to prepare it for deployment.
The sample code is a starting point. It is industry validated, prescriptive but not definitive, and a peek under the hood to help you begin.
The sample code; software libraries; command line tools; proofs of concept; templates; or other related technology (including any of the foregoing that are provided by our personnel) is provided to you as AWS Content under the AWS Customer Agreement, or the relevant written agreement between you and AWS (whichever applies). You should not use this AWS Content in your production accounts, or on production or other critical data. You are responsible for testing, securing, and optimizing the AWS Content, such as sample code, as appropriate for production grade use based on your specific quality control practices and standards. Deploying AWS Content may incur AWS charges for creating or using AWS chargeable resources, such as running Amazon EC2 instances or using Amazon S3 storage.