Blog

Putting your Hooks to work with the Outbox

June 15, 2014 / Posted By: wotio team

The Outbox is an under utilized feature of BipIO for crafting and sending messages to any of your web hooks at a moments notice. You can find it under Dashboard > Apps. It’s great for invoking or testing web services from one place without having to write a client yourself and it just received a great new Redactor overhaul. Keeping in the spirit of BipIO, messages you send with the Outbox are ephemeral in nature, with no history being tracked on the server side unless you explicitly need it. Otherwise, your messages are bound to your browsers local storage only and when they’re gone, they’re gone.



I’m going to show you how to put it to work for HTML, Plain Text, JSON and Markdown payloads with a short video. And yes, this post was built and published to Tumblr with the Outbox itself!

Incase you don’t know, ‘Web Hook’ Bip’s are a special kind of graph from which you can receive messages from a web browser or app, and perform some workflow based on a payload. Hooks are the workhorse of many of BipIO’s own website logic (so meta!) because they can serve or process data for any application. To come to grips with web hooks, I’m going to fall back to using the ‘my first bip’ hook which you may have already created through the website tour when you first signed up.



Didn’t quite follow? These are the basic rules -


  • HTML mode will send as HTML. ‘HTML Mode’ is when all formatting options are available.

  • Code mode will send un-formatted text. Toggle HTML/Code mode with the <> button

  • To translate to JSON, hit the ‘Parse JSON’ check box while in code mode

  • Unless you’re ‘parsing JSON’, the Outbox exports will be for ‘title’ and ‘body’


You may notice I took a couple of seconds to create a Markdown to HTML Channel to handle Markdown parsing, and dropped it onto ‘My First Bip’. Markdown is just plain text, and needs some special treatment. Otherwise HTML, Text and JSON parsing are already handled by the Outbox itself.



Have fun, with great power comes great responsibility! follow me on Twitter and fork me on GitHub to see whats happening in the here and now.



[edit] Exciting news! JSON, Markdown, HTML and plaintext Outbox modes are compatible with the Poetica Chrome plugin so you can collaborate socially on the full gamut of payload type with joyful, instant abandon!