Serverless Bot Framework

Serverless Bot Framework helps you implement sophisticated conversational chatbots and develop engaging and lifelike experiences for your customers. It deploys, configures, and interacts with managed AWS services that apply machine learning algorithms to interact with end-users and turn chatbot text into lifelike speech.


Multiple languages

Set up chatbots in English, French, German, Italian, Spanish, and Japanese.

Two conversation types

Choose simple chatbot conversations that do not require access to external resources or specialized functions, or complex chatbot conversations designed for more complicated interactions.

Sample web application

Launch a pre-built sample web application that you can use as a reference framework to create your own application.

Customizable chatbot functions

Engage with chatbots that can use an external API to get weather data, order a pizza, and schedule appointments.


The diagram below presents the architecture can build using the example code on GitHub.

Serverless Bot Framework architecture

The code deploys the following workflows and services:

  1. Amazon Simple Storage Service (Amazon S3) buckets store configuration files
  2. A customer sends a request through an Amazon API Gateway endpoint
  3. AWS Lambda functions run code without provisioning servers
  4. Amazon Lex V2 processes user requests and responds according to bot configurations
  5. Amazon DynamoDB tables store conversation logs, interaction context, user feedback, and other tables required by sample microservices
  6. AWS Systems Manager securely stores API keys
  7. Amazon Polly turns text into lifelike speech

Serverless Bot Framework

Version 1.6.1
Last updated: 12/2021
Author: AWS

Additional resources

Did this Guidance help you?
Provide feedback 
Solving with Solutions: Serverless Bot Framework
AWS Architecture Blog
Build Chatbots using Serverless Bot Framework with Salesforce Integration

This post teaches readers about generic possibility of adding chatbots to their business applications. It showcases the use case of a public sector agency website serving its customers and how chatbots can address common customer issues and overall enhance customer experience. By adding chatbots to business applications, organizations can start to realize the inherent benefits of 24/7 operational excellence, increased customer accessibility with no agent wait-times and efficient deployment of customer service representatives.

Read the full blog post 
Build icon
Deploy an AWS Solution yourself

Browse our library of AWS Solutions to get answers to common architectural problems.

Learn more 
Find an APN partner
Find an AWS Partner Solution

Find AWS Partners to help you get started.

Explore icon
Explore Guidance

Find prescriptive architectural diagrams, sample code, and technical content for common use cases.

Learn more