Get Sentimental About SMS with Twilio, Bluemix and AlchemyAPI

This project shows how you can use IBM Watson to analyse the sentiment of text messages sent to a Twilio number using one of the AlchemyAPI services hosted on Bluemix.

IBM Bluemix provides a Ruby Sinatra starter application as a template. This project started with that template so the main code can be found in helloWorld.rb.

Build this project yourself.

Read the blog post "Getting Sentimental About SMS with Twilio, Bluemix and AlchemyAPI" to learn how to build this project yourself. Alternatively, you can watch the webinar in which the application was built live.

Update! Getting Sentimental About SMS Just Got Easier

This project is now updated to use Twilio Add-ons to get the sentiment analysis on the text in messages. This saves making the API call to AlchemyAPI, meaning we can remove the alchemy-api dependency as well as simplify our code.

--

An example of a simple response based on the sentiment of the incoming SMS message