Inspiration

Making decisions is hard. It's even harder when trying to agree on one thing with a group of friends. I wanted to create a unique application of Twilio services and came up with this idea!

What it does

Decision Bot takes the difficulty out of making a decision. Text Decision Bot alone or add him to your group chat. Each member of the group chat can add potential options. Decision Bot will choose one and text it to each of the group chat members! Making plans with friends has never been easier!

  • Decide between restaurants
  • Decide on which time to meet
  • Decide what to name your fish
  • .... and more!

How I built it

I signed up for a free Twilio trial account and was given a phone number for Decision Bot. I created a Flask application with Python and Twilio's Python SDK that responds to an incoming SMS. I used ngrok to create a webhook url to use with my Twilio account. Twilio credentials and phone number are stored in environment variables to keep them separate from the repository.

Challenges I ran into

I have never used Flask before! Originally I forgot that I had to include a webhook url. I wanted to deploy my web application with Heroku but couldn't quite get it to work. Luckily eventually I was able to find ngrok and use that to reroute to my local server!

Accomplishments that I'm proud of

I am proud of creating my first Flask application start to finish!

What I learned

I learned how to use Twilio's API in a creative way!

What's next for Group Chat Decision Bot

Next I would like to use the Decision Bot in a real life scenario! It would also be cool to add some additional keywords that Decision Bot can respond to or integrate a cool API.

Built With

Share this project:

Updates