Back to Nodes

HaloPSA Complete

Last updated Jun 15, 2026

An n8n node to connect to HaloPSA API

340 Weekly Downloads
605 Monthly Downloads

Included Nodes

HaloPSA Complete
HaloPSA Trigger

Description

n8n-nodes-halopsacomplete

An n8n community node for integrating with HaloPSA API.

Development

This repo uses pnpm with a committed lockfile and supply-chain controls in pnpm-workspace.yaml (see SECURITY.md). Development requires Node.js 22.22.3+ (CI and dependency engines). After clone:

corepack enable && corepack prepare pnpm@10.19.0 --activate
pnpm install --frozen-lockfile
pnpm run audit:supply-chain
pnpm run build

Use pnpm only for installs in this repo. With Corepack enabled, npm install and yarn install are rejected. Do not commit package-lock.json or yarn.lock (see SECURITY.md).

Testing locally

Unit tests (no HaloPSA credentials required):

pnpm test

Live n8n preview — runs n8n at http://localhost:5678 with this node linked for hot reload:

pnpm run dev

Use Node.js 22 LTS (nvm use reads .nvmrc). Node 23+ is not supported by n8n’s native dependencies.

First run takes several minutes. n8n-node dev downloads n8n via npx into ~/.n8n-node-cli. You will see many npm warn lines about peer dependencies — that is normal. Wait until the n8n panel shows:

Editor is now accessible via: http://localhost:5678

Do not stop the process during the install. If you see Shutting down gracefully with exit code 1, you likely interrupted it with Ctrl+C before n8n finished starting.

Prefer pnpm run dev over a globally installed n8n-node so the CLI version matches this repo.

Configure HaloPSA OAuth credentials in the n8n UI, then test Tickets → Get Many with filters and Return All enabled.

Open http://localhost:5678 (not 127.0.0.1 or a LAN IP). pnpm run dev sets N8NSECURECOOKIE=false for local HTTP so Safari and other browsers can sign in. To keep secure cookies enabled, set N8NSECURECOOKIE=true yourself and use HTTPS.

If the node does not appear after changes:

rm -rf ~/.n8n-node-cli/.n8n/custom
pnpm run dev

Already running n8n elsewhere (Docker, etc.):

pnpm run build
pnpm run dev:external

Set N8NDEVRELOAD=true and point your n8n instance’s custom extensions folder at ~/.n8n-node-cli/.n8n/custom (or symlink this repo into your instance’s custom nodes directory).

Use pnpm run watch for TypeScript watch mode only (no n8n).

Smoke test against a live HaloPSA instance (validates the tickets getAll filter + bulk-fetch query shape):

cp .env.example .env   # fill in HALOBASEURL, HALOCLIENTID, HALOCLIENTSECRET
pnpm test:smoke

Optional: HALOREQUESTTYPEID, HALOOPENONLY (see .env.example).

Live preview with n8n-node dev

Same as pnpm run dev above. Requires Node.js 22.22.3+ (22.x LTS recommended).

Installation

Follow the installation guide in the n8n community nodes documentation.

npm install n8n-nodes-halopsacomplete

Prerequisites

License

MIT