Thursday, April 11, 2013

Create Dashboard for your calls using Geckoboard

Geckoboard is a nifty little service which allows you to create dashboards for your data in a jiffy and host them. Basically, it takes care of the view layer for your data.

When I heard of the service, I thought I would take this for a spin and maybe create a dashboard for the KooKoo calls.

I was actually pleasantly surprised at the speed with which I was able to setup a dashboard and start pushing my data and start monitoring the calls.

I created a simple feedback IVR which takes feedback from callers and pushes data to the Geckoboard. In half an hour I was able to a real time feedback monitoring system which looks like the below screen

This just took some 20 lines of code and 4 curl requests(one for each widget) to get started. If you are interested in creating a similar dashboard you can mail us at support@kookoo.in and we will be glad to help you set it up.

If you want to try on your own, the following are the steps:

1. Sign up for a demo account. The trial expires after one month and after that you have to pay a minimum of $19. I thought this was a little steep, would have gone for $9.99 :), but given that he view layer is completely taken care of, it was good with the speed with which I was able to get started.

2. Choose your widgets and drag and drop and create your dashboards.

3. Note down the API endpoints for each widget.

4. Create your curl requests for each widget and keep them ready. For the above board, I used the following requests:

curl -X POST  https://push.geckoboard.com/v1/send/29943-da706dad-a01f-441c-XXXXXXXXXXXXXXXX -d '{"api_key":"bb21fc6c6266XXXXXXXXXXXXXX","data":{"item":[{"value": 132,"text": "Did not like Service"},{"value": 13,"text": "Service was ok"},{"value": 3,"text": "Loved the service"}]}}'

curl -X POST  https://push.geckoboard.com/v1/send/29943-01e143bc-2876-XXXXXXXXXXXX -d '{"api_key":"bb21fc6c6266XXXXXXXXXXXXXXXXX","data":{"item":[{"text":"Votes Today","value":5733},{"text":"Votes Yesterday","value":4118}]}}'


curl -X POST  https://push.geckoboard.com/v1/send/29943-2fc46c80-29d2-XXXXXXXXXXXXX -d '{"api_key":"bb21fc6c6266XXXXXXXXX","data":{"item":"23","max" : { "text" : "Max value","value" : "30"},"min" : { "text" : "Min value","value" : "10"}}}'


5. Start receiving the data, for example, from KooKoo calls. At the end of the call, update the data points and push them to your Geckoboard and it will update in real time.

They also have a host of ready made widgets for a lot of services like Google Analytics, Highraise, Mailchimp, Twitter etc using which you can create multiple dashboards for all your data.

Note: I have used some dummy data for the Geckoboard above.