WhatsTer Bot - A multifunction bot that I built for the Twilio Hackathon

adityamitra

Aditya Mitra

Posted on May 1, 2020

WhatsTer Bot - A multifunction bot that I built for the Twilio Hackathon

Live at https://whatster.web.app

What does the bot do?

The bot has several interesting functionalities, such as -

  1. Email - It can send emails to any specified email id by the user.
    The emails can have an attachment too.

  2. Image recognition - The bot can recognize the contents of any image sent to it.

  3. Jokes - The bot doesn’t only do work, it also entertains you by sending a random dad joke, because as they say, ‘All work and no play makes Jack a dull boy!”

  4. Login - You can log into your account from here. You can access your recent activity, and also view your saved message and media!

Link to Code

You can join the sandbox by clicking here or sending a WhatsApp message to: +1(415)523-8886, first text join decide-wish and then say hi!

Check out my code on GitHub here.

How I built the bot?

Login - For logging in, I created a web app for the login interface using ReactJS. The data is stored using MongoDB and for secure login, an OTP is generated, also through MongoDB.

Email - It uses 'nodemailer' service by Sengrid.

Image recognition - The bot can recognize the contents of any image sent to it, using the Clarifai API.

Jokes - This uses the icanhazdadjoke service.

Conclusion

This project of mine falls into the Intersting Integrations category for this hackathon. It was a lot of fun creating this project, I hope you would enjoy using my WhatsApp bot, WhatsTer too!

💖 💪 🙅 🚩
adityamitra
Aditya Mitra

Posted on May 1, 2020

Join Our Newsletter. No Spam, Only the good stuff.

Sign up to receive the latest update from our blog.

Related