How to Build a Whatsapp Bot: Build Whatsapp as a channel for Amazon Connect using Lex

Recently I have been playing around with whatsapp API to learn some aspects of it. So I thought what better way to learn more about the API than using that in an actual project. So I planned to build a Whatsapp bot which uses Whatsapp API and Amazon Lex, Amazon Connect. This bot enables communication to Amazon connect via a new custom communication channel namely Whatsapp. Basically this will enable someone to communicate to Amazon connect agent simply from whatsapp. I think this will also provide a good learning for someone to use Amazon Lex and Amazon connect APIs. Here I will explain the overall workings of the bot and the deployment approach for various components of the whole bot architecture. This bot involves the below components using which the whole architecture is built:

  • Whatsapp API (via Twilio API)
  • Amazon Lex
  • Amazon Connect

A demo of the bot can be found at below links:

https://www.youtube.com/watch?v=xZoO-9nlnF0&feature=youtu.be

https://www.youtube.com/watch?v=0MHHr4lnzGo&feature=youtu.be

More details about this can be found here: https://amlanscloud.com/whatsappbot/

--

--

--

Cloud architect and DevOps engineer. Love to code and develop new stuff. A nerd by nature.

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

CI/CD: CodePipeline vs Jenkins Pipeline vs Bitbucket Pipelines

How to Share a Theme between Flutter and the Web

Dependency Injection — General

Python Decorators - Intro

Playcent launches $100k developer reward program

Generating PDF in Rails — Handling special characters

Hottest jobs in IT

A Comparison Between ClickUp And Monday.Com Software Demo

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Amlan Chakladar

Amlan Chakladar

Cloud architect and DevOps engineer. Love to code and develop new stuff. A nerd by nature.

More from Medium

AWS Elastic Beanstalk

Implementation of a Scalable Web Application using the services of AWS Elastic Beanstalk, DynamoDB…

Integrating Rails Applications with JS Frameworks

Setup cron error notifications with SNS