WhatsApp Appointment and FAQ Chatbot with Twilio Flex
Created by: Purna Sanyal
- WhatsApp
- Flex
- Python
Use AWS Lex, Kendra and Comprehend to deploy a conversational chatbot with WhatsApp. The bot can answer frequently asked questions, schedule appointments, and indicate the conversation sentiment through WhatsApp. Any escalations can be passed to a human agent to Twilio Flex.
- Use Amazon Lex's Natural Language Understanding (NLU) engine to recognize the intent of the text, automatically respond to frequently asked questions, and schedule appointments
- Connect to Twilio Flex using an AWS Lambda when users request help from a human
- When a user requests to speak to an agent, Amazon Comprehend captures the sentiment of the conversation
Use this for appointment scheduling and with any knowledge base for a better FAQ user experience.
Report this template
Twilio is not responsible for the third party content found at the following link. Please use the software provided by this third party at your own risk.
Currently only available in Python. Request hosting support for other languages
- Get the code for this project
The code for this sample is available on GitHub to view.
- Get Twilio credentials
You will need an Account SID and Auth Token in order to run this code.
Checking for existing account...
- Set up the code sample locally
Follow the setup instructions in the README to get the sample up and running.