5 Replies Latest reply on Mar 9, 2016 7:48 AM by Ryan Rutan

    Web hook within a cloud add-on

    roguen

      Does anyone have an example of an add-on which can itself consume a web hook and execute an API call?  That is to say that the logic is self contained in the add-on and does not require a 3rd party server.

        • Re: Web hook within a cloud add-on
          Ryan Rutan

          This unfortunately is not possible.  By definition, a webhook requires a serviceable UI to ping ... that can then process the result.  One suggestion might be to try out one of our JiveWorld16 hackathon sponsor's solution.  Built.io Flow.  It is a way to quickly stand-up an end-point that can be pinged by anything.  It currently has some basic Jive connectors (with more on the way), but it also has lots of means to doing things yourself with custom Node.js code blocks. 

           

          Hope that helps, and long time no talk dude! =)

          • Re: Web hook within a cloud add-on
            jrlarson

            Roguen Keller, by definition, an Add-On that can process Jive Webhooks requires a server external to Jive.  Serverless Add-Ons have no capability in that regard - they have no 'service layer'. They can only provide the HTML/CSS/javascript for Apps or Custom View Tiles. Those Apps or Tiles may make API calls to the local Jive instance.

             

            We routinely create Add-Ons that process webhooks and perform some business related function that does not rely on any information outside the connected community. Adding workflow around the automated processing of Ideas is an example. The Add-On backend receives the webhook calls, then only makes API calls to the connected Jive community. So, in a sense it is a closed system between Jive and the Add-On. A server is still required for the Add-On code to execute on.

            • Re: Web hook within a cloud add-on
              roguen

              For those who are interested.  Here is an example of an add-on that does not have a need for middleware: Creating a Twitter Widget Custom View Tile with Configuration

               

              It doesn't change the answers above regarding web hooks and api calls, but shows that with some help from outside services there is a way to create a tile that doesn't require your own middleware server.