DEV Community

Tolulope Gbenga
Tolulope Gbenga

Posted on • Updated on

AI assistant/chatbot for use/support

This is a submission for the Twilio Challenge

What I Built

I built an SMS/whatsapp/call Assistant that you can chat with and it will still retain context, a conversational AI.
it keeps an history of the conversation so in as much as you use it for AI chatting purposes, it can also be used as a support system as it has a chat channel for the admin to make use of and the admin can check message History between the bot and the user then the admin can take over, the prompt to allow an admin take over is
on the frontend too, it contains a page for the admin to send forth personalized bulk SMS to all their contacts, it has a way of managing contacts and a preview of all the contacts

Demo

Github url
A demo link for this demo, there is a page to set your env and details then you can set the webhook to https://twilio.spartapp.ng/webhook/sms-whatsapp for both whatsapp and SMS
https://twilio.spartapp.ng/webhook/sms-whatsapp
https://twilio.spartapp.ng/webhook/voice/incoming for the voice call
to set environment variables go to https://twilio.spartapp.ng/environment
please set ENV variables before testing because i ran into problem with the whatsapp sender.i couldn't set it up

Twilio and AI

i added the functionality of AI powered auto-responder based on previous message so it still retains context, it also includes twilios API for direct messaging and bulk messaging, also for the voice autoresponder which automatically responds to calls from users

Additional Prize Categories

  1. Twilio times two i used both voice, whatsapp and sms API
  2. Impactful Innovators: with this when advanced, company and organizations can take control of their customer service while giving the users opportunity to interact with AI which can drive sales

Generate Messaage
(https://dev-to-uploads.s3.amazonaws.com/uploads/articles/b8a5m5ykmsu62wmex92u.png)

the generated message
(https://dev-to-uploads.s3.amazonaws.com/uploads/articles/x86mbgua4q0r99y2puu7.png)

the sent message
(https://dev-to-uploads.s3.amazonaws.com/uploads/articles/gazkx3wgx234v5x3c8uv.jpg)

the contacts management section
(https://dev-to-uploads.s3.amazonaws.com/uploads/articles/352cnrl2f7e79cri982s.png)

<!-- Thanks for participating! →

Top comments (0)