WhatsApp Chatbot
Back

WhatsApp Chatbot

A chatbot to manage medical appointments using the Twilio API for WhatsApp. This chatbot was designed to help patients schedule appointments, receive reminders, and answer frequently asked questions. It also includes a dashboard to monitor conversations and NPS scores.

Integration with WhatsApp

Using Twilio API for WhatsApp I contributed by creating a chatbot using NodeJS in the backend and Microsoft Bot Framework to create conversational AI experiences. I also used Microsoft’s LUIS a language understanding service to interpret user goals (intents) and distill valuable information from sentences (entities), such as names, times, dates, identifications, etc. With that data, we created a REST API to handle the booking system and check the availability to finally respond to the user with this information.

mardown

Monitoring conversations

To monitor the conversations, I used Couchbase a NoSQL database that allows me to store a lot of data to eventually run queries to analyze the conversations to get insights. Then, by creating an API with NodeJS and GraphQL we enabled this service to be consumed from an Angular app. Finally, using ngx-charts we created a dashboard to visualize the data.

mardown

Monitoring NPS scores

In this project was important to measure the satisfaction of the users, so when the user goal is achieved, the chatbot sends a last message asking for a score to rate the attention, and this score is monitored on a dashboard.

mardown

PWA and responsive design

Another interesting feature was enabled the app as a PWA where admin users could watch the metrics from mobile devices. Thinking in this goal the app was built with Ionic and Angular.

mardown