Files
next-static-site/markdown/docs/client-sdks/node-red.md
Brandon Lee Kitajchuk db94b17829 Latest news + banner, cypress tests, open source copy, general style tweaks (#13)
* Adding latest news and banners

* Adding first draft of cypress specs and github actions workflow

* Adding sticky position for top banner

* Tweak styles for new latest news section

* Tweak styles for text__layout innerHTML

* Fix Cypress homepage test spec

* Fix mobile navi z-index with sticky top banner

* Fix sticky banner z-index bug with mobile navi

* Refactor markdown tools to support pages beyond developer docs

* Adjust TADHACK text max-widths for small mobile

* initial changes for open source copy

* more copy

* more copy

* updated open source structure

* minor

* typo

* more copy

* Adjust styles for Open Source markdown small text

* Update readme and remove floats from docs webhooks markdown

* Add readme notes on Cypress and flesh out navi spec tests

* Fix main navi highlight when on sub-sections of markdown pages

Co-authored-by: Dave Horton <daveh@beachdognet.com>
2021-07-22 12:34:01 -04:00

1.4 KiB

Node-RED plugin for jambonz

To add the jambonz plugins for Node-RED open Node-RED, click the hamburger menu at the top right, and then "Open Palette".

Click the "install" tab and then type "jambonz" into the search input.

Adding jambonz plugin

Click the "Install" button for @jambonz/node-red-contrib-jambonz, and confirm by clicking the Install button on the popup dialog.

This will add the jambonz nodes to your palette. Now you can drag them out onto the canvas to create flows that respond to webhook requests. Every flow should begin with a "webhook in" node and end with a "webhook out" node.

Node-RED flow

Configure the webhook in node by specifying the URL path and HTTP method that should trigger this flow.

Node-RED webhook-in

There is no configuration needed for the webhook out node.

Most of the remaining nodes match up one to one to the jambonz verbs. Drag them out on the canvas, configure them and connect them in the ordered flow you want to achieve.

Node-RED webhook-say

When you are done, click the Deploy button to deploy your changes. In the jambonz portal, create an application webhook with a URL and path that points to your Node-RED server and the flow that you have created.

Enjoy!