If you came along to my talk “Create Lightning from Lightning & IoT”, thanks a lot! Here is my follow up post. Unfortunately in the time I couldn’t get through everything, so as promised I’ve included in the presentation slides for the Process builder code and how to expose your Apex code functionality to Process Builder.
Process Builder allows admins or click developers to build quickly processes based on their particular logic. For example, we could hook up the Lamp to flash when a high priority Case comes in. We don’t need to worry about when they need to flash the light, we are just exposing the ability for them to plug it into their process whenever they want it to fire.
This is a Node.js application that subscribes a Salesforce Push Topic. Once it receives an event from Salesforce it consumes that event and calls the cylon.js Philips HUE platform code to either switch on or off the lamp and change the colour of the lamp.