WebHooks With Google
WebHooks With Google
Check out this post, and learn from Gervais' experience with exposing Google App Script to use it as a WebHook pipe.
Join the DZone community and get the full member experience.Join For Free
A true open source, API-first CMS — giving you the power to think outside the webpage. Try it for free.
Edit (July 13 2016), this Codeship-Bitbukcet integration is native since July 12 2016, https://community.codeship.com/t/now-available-bitbucket-build-status-api/1135
I'm sure that you haven't missed the "Google App Script".
I have to admit that I didn't see the awesomeness of this system until a couple of days ago. At least, it is really helpful because it can of course do "cool things with Google Apps" but it can also be exposed as webapp and send HTTP requests. So, yes, it can be used as a WebHook pipe.
A WebHook is an HTTP callback: an HTTP POST that occurs when something happens; a simple event-notification via HTTP POST...A Pipe happens when your WebHook not oinly receives real-time data, but goes on to do something new and meaningful with it, triggering actions unrelated to the original events. 
These are the kinds of recipes I was expecting from IFTTT without success.
Hacking Google Apps Script
Some of my projects (you know, the ones that will make me rich!) are hosted on Bitbucket and built by Codeship. Both work great, but there is no native build status integration between Codeship and Bitbucket. There are some tentatives, but they are not natively integrated into the Bitbucket UI.
So, I decided to use Google Apps Script to create a script who will receive the Codeship POST when a build status changes and call the Bitbucket API to update the build status.
The idea is quite simple and the documentation is clear on both sides  and, fortunately, Bitbucket API is usable with Basic auth (thank god!). But debugging a Google Apps Script is not so easy, and it took me a while to guess why this "#$!&§" script was not working  . But, at the end it was simple and, as a bonus, I have a Google Sheet with the activity log.
The only alternative that I find is https://www.webscript.io/ but you have to learn "Lua" (that would be cool) and there is only a free trial limited in time. So, once again, Google offer a new, powerful, and free code hosting solution.
The script can be found under this gist: https://gist.github.com/gervaisb/206a3441b2ed454e81d5.js
 Google Apps Script :
 WebHooks.org :
 Bitbbucket REST API Version 2 :
 Codeship WebHooks :
 Effective way to debug a Google Apps Script Web App on Stackoverflow :
Opinions expressed by DZone contributors are their own.