Docs
On this page
concept1 min readApplication: Platform Integration

Node-RED

When Node-RED middleware suits a Servicely integration, and what each node in the Servicely palette does.

Node-RED is an open-source, browser-based tool for wiring together devices, APIs and online services in flows. This page helps administrators and integrators decide whether to use it with Servicely and explains the Servicely nodes.

When to use Node-RED

Node-RED runs inside your network and talks to Servicely over its REST API and asynchronous queue. Servicely then needs no inbound connection to your systems and holds none of their credentials. It suits simple integrations with on-premises or firewalled systems.

Example Why Node-RED
Query account status in an on-premises Active Directory Servicely cannot reach the target system
Load user records from an on-premises LDAP directory Servicely cannot reach the target system
Add users to an Active Directory group The account that can do it stays outside Servicely
Load user records from a file drop The target uses a method Servicely does not support
Load data from an on-premises database The target uses a method Servicely does not support
Exchange messages with an in-house message queue The target uses a method Servicely does not support

How a flow starts

A flow starts in one of two ways.

  • From Servicely. A trigger, a smart action or a scheduled import or job puts an event on the Servicely asynchronous queue (AsyncQueue). A Queue node picks it up, the flow does its work, and a Success or Failure node closes the event.
  • From Node-RED. The flow starts on an event outside Servicely, such as a file arriving. A Connector node tells the later nodes which Servicely instance to use.

Servicely nodes

The node-red-contrib-servicely package adds these nodes to the Node-RED palette.

Node What it does
Queue Receives Servicely asynchronous queue events. It also sets the instance connection for the rest of the flow.
Success Answers a Queue event and marks it completed and successful in Servicely.
Failure Answers a Queue event and marks it completed but failed in Servicely.
Connector Sets the Servicely instance that later nodes use. Not needed in a flow that starts with a Queue node.
REST Queries or updates records through the Servicely REST API.
Import Loads data into a Servicely import table, a staging table for data from other systems. Used with the Transform node.
Transform Runs an import transform on data loaded by the Import node.

Authentication

The Servicely nodes authenticate with Basic authentication or an HMAC header token. Use the HMAC header token. Its shared secret is never sent with the message, unlike a Basic or Bearer credential. HMAC header tokens need version 0.0.17 or later of node-red-contrib-servicely.

Secure the Node-RED installation itself with HTTPS and enforced sign-in, as the Node-RED guide to securing Node-RED describes.

Last updated 3 December 2026commit 6777698daac5Chris Jones
Back to top