Skip to main content
Build with NR Connect6 min read

Importable flow examples

Import the complete starter dashboard or focused examples for role checks, notifications, and webhooks.

On this page

Full starter flow

Start with the complete demo bundled with @nr-connect/node-red. This is the same starter flow offered during instance setup, including its dashboard configuration nodes.

Scroll sideways to view all columns.

IncludedWhat you can try
Four Dashboard 2.0 pagesMain Overview, HVAC & Boilers, Admin Diagnostics, and Account, with groups and a theme.
Access and identityInspect the signed-in user and try role-gated dashboard actions.
Profile and pushApp-bar and in-group profiles, page-scoped alerts, Admin-only alerts, email targeting, and dynamic notification overrides.
WebhookPOST /webhook/sensor with payload validation and a JSON response.
  1. Install the required palette packages

    Install @flowfuse/node-red-dashboard and @nr-connect/node-red, then connect your instance to NR Connect.

  2. Import the complete flow

    Use Copy JSON or Export JSON below, then open Node-RED → Menu → Import. The same example is available under Examples → @nr-connect/node-red → starter-demo.

    The demo includes a dashboard at /dashboard and an HTTP route at /webhook/sensor. If your existing flows already use these paths, reconcile the configuration before deploying.

  3. Configure the examples and deploy

    Replace the example email addresses in Notify Emails and the dynamic override Function node with your intended instance members. Deploy, then click Check in now in the NR Connect sidebar to sync the four pages.

    Configure each person’s page access in the portal. To test the webhook remotely, add its path under Settings → Public webhook/API routes and choose the required authentication mode.

  4. Verify the dashboard and alerts

    Open your secure dashboard address and check the four pages. Use a separate Operator account to test the assigned page permissions. Enable push in the profile widget before triggering a test alert, and inspect the Debug sidebar for results.

Complete NR Connect starter demo

41 nodes

Four dashboard pages, access examples, profile widgets, push alerts, and a sensor webhook. Pan the preview to explore all groups.

Rendering Node-RED flow…
In Node-RED: press Ctrl+I (or Menu → Import) and paste the copied JSON.Swipe to pan · Use + / − to zoom

Example flow: Role-gated control action

Import this flow into Node-RED, wire the Restart Pump button and Denied toast to your Dashboard 2.0 group/base, and deploy. Operators clicking the button receive a clear denial toast while Admins execute the command.

Role-gated Dashboard 2.0 button

4 nodes

Checks msg._client.user.role before forwarding a sensitive action.

Rendering Node-RED flow…
In Node-RED: press Ctrl+I (or Menu → Import) and paste the copied JSON.Swipe to pan · Use + / − to zoom

Example flow: Dashboard widgets & alert trigger

This flow combines both nodes: nrc profile in both placements (app bar and in-group card, with built-in push opt-in) and alert triggers wired into nrc notify. After importing, assign the UI widgets to your Dashboard 2.0 base/groups and deploy.

Profile widgets, Push opt-in & Alert triggers

9 nodes

Starter flow for Dashboard 2.0 identity and Web Push alerts.

Rendering Node-RED flow…
In Node-RED: press Ctrl+I (or Menu → Import) and paste the copied JSON.Swipe to pan · Use + / − to zoom

Example flow: Sensor webhook endpoint

Import this flow into Node-RED to expose POST /webhook/sensor with JSON payload validation and structured HTTP status responses. Then add /webhook/sensor under Settings → Public webhook/API routes.

Public sensor webhook route (POST /webhook/sensor)

4 nodes

Validates incoming JSON payloads, returns 200/400 JSON responses, and logs accepted readings.

Rendering Node-RED flow…
In Node-RED: press Ctrl+I (or Menu → Import) and paste the copied JSON.Swipe to pan · Use + / − to zoom