Hubot & Robbie, together at last

Hilary CookProvider UpdatesLeave a Comment

This is the first post in a series we are putting together on how to get the most out of the new Webhook feature we recently added to Raygun. This time we are talking about Hubot.

If you haven’t heard of Hubot before, Hubot is an open source chat bot that can help you to automate tasks and provide useful and not so useful information directly to your chat rooms. It came out of GitHub, is written in CoffeeScript on Node.js and is easily deployed to a variety of platforms. Hubot comes with a few built in scripts for things like posting images, maps and youtube links. There are also a large variety of community scripts that you can add to your own Hubot. Hubot can talk to a variety of chat interfaces so it should work with whatever you are currently using.

Here is an excellent guide to setting up your own Hubot, once you have done that come back here and I’ll go through how you can set up Raygun to talk to Hubot using the new Webhooks feature.

Ok thats better you now have Hubot up and running. Lets get Raygun & Hubot talking. You will need to add the hubot-raygun npm package to your package.json file

Once you have done this you need to add the script to Hubot. This is done in the external-scripts.json file at the root of your Hubot directory.

Now you need to go into Raygun and enable Webhooks. Once there you need to enter the URL for the webhook, which will be

The Hubot URL will depend on where Hubot is hosted and the room id will be specific to your chat program of choice. The room id is the id of the room where Hubot will send the error notification it receives. Now Hubot will let you know when an error notification has been received.

The combination of Raygun and Hubot will supercharge your error blasting

Next level software intelligence across your entire stack. Get deeper analysis into how your applications are really performing. Learn more.

Leave a Reply

Your email address will not be published. Required fields are marked *