Version 2.3 of the Java Play Framework has recently been released with a move away from the ‘play’ command to the ‘activator’ command. TypeSafe UI has been bundled in as well as support for Java 8. The full announcement can be read here. It seems like a good time to take a look at using Twilio with Play Framework.
Here’s is what we are going to do:
We will then have a simple Play Framework app that can respond to both SMS and telephone calls using Twilio.
Let’s take a look at getting started with Play 2.3. Download the release, and unzip it to get started. You’ll want to add activator to your PATH and you’re good to go. There are instructions for doing this in UNIX/OS X ...
In our earlier blog post, Twilio for Phone Trees, we showed you how to create a phone tree using Twilio, Ruby, and Sinatra. In this post, we are going to apply one of the web developers most powerful tools, multivariate testing, to many company’s favourite communications tools, the phone tree.
Multivariate testing will allow us to answer a lot of different questions about our phone tree:
- Are the options in the phone tree as clear as possible?
- How many callers complete their call using self service options?
- Are there steps we could improve in the phone tree?
- How many steps does a user need to go through on average?
- Are we improving the experience with each new release?
The idea of multivariate testing is simple: You start with a hypothesis that changing one aspect of your website will improve a metric that determines success. For example, suppose ...
On my way back to London, I recently bought myself a Philips Hue. These are wirelessly controlled light bulbs that allow you to control both brightness and colour. They come with a base station and an app, are very easy to use and most importantly the Philips Hue has an API.
At Twilio, we love APIs!
Ooooohhhhhh!!! SMS to change the colour of my light in the flat!!
— Michael Wawra (@xmjw) August 13, 2013
My thinking is simple. Having control of my own lights is okay, but letting random strangers on the internet change the colour of my lights would be fun! Letting them change the colour with an SMS message would be epic!
So how does the Philips Hue work? Basically, it is a base station with an ethernet connection and 3 bulbs. The base station is connected to your router and can control the bulbs through some other ...
When you phone your bank, what combination of keys do you have to press to talk to a human being? If you don’t know, try it out. I am willing to bet that this is the last option presented to you. Your bank probably has any number of self service options to resolve your call as quickly as possible. The actual human call agent is usually the last option because they can perform more complex tasks. This type of system is called Interactive Voice Response (IVR), and the different steps you go through (press 1, press 2) are collectively known as a ‘phone tree’. They are incredibly common and very powerful for providing self service systems.
However some of these phone trees can be confusing, quite a few web sites have been created that provide cheat sheets, or maps of different companies’ phone tree to help callers navigate them ...
Thomas Thwaites is a designer with an interest in science and technology. He was a student at the Royal Academy of Arts in London when he decided to build his own toaster. He bought a mass produced one for £3.94 and started by reverse-engineering it. To his dismay, Thomas discovered his toaster consisted of about 400 components made of over 100 different materials. Thomas’s TED Talk recounts his experience of obtaining and forming just a few of these materials for his homemade toaster. Time elapsed? Nine months. Distance traveled? Over 1900 miles. Total production cost? Nearly £1200.
Toasters and Text Messages
I can appreciate Thomas’s dismay at the complexity of an everyday convenience. Ten years ago, I was working in a R&D lab where a colleague and I spent 2 weeks trying to manually send an SMS with a laptop. From a data ...