npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

n8n-nodes-whmcs

v1.0.1

Published

n8n community node for the WHMCS API. Provides native nodes to manage clients, orders, invoices, products/services, support tickets and domains, plus a trigger for inbound WHMCS events.

Readme

n8n-nodes-whmcs

A community node package that brings the WHMCS billing & automation API into n8n as native nodes.

It ships two nodes:

  • WHMCS — an action node covering Clients, Orders, Invoices, Products/Services, Tickets, Domains and System operations, plus a Custom API Call escape hatch that can invoke any of the 200+ documented WHMCS actions.
  • WHMCS Trigger — a webhook node that starts workflows from WHMCS hook events (new order, invoice paid, ticket opened, …) via a small PHP bridge file.

Full design, endpoint, authentication and workflow documentation lives in WHMCS-n8n-Node-Technical-Documentation.md (in the parent folder).

Installation

Via the n8n UI (recommended)

  1. In n8n go to Settings → Community Nodes → Install.
  2. Enter n8n-nodes-whmcs and confirm.

Manual / self-hosted

cd ~/.n8n/nodes        # or your N8N_CUSTOM_EXTENSIONS path
npm install n8n-nodes-whmcs

Build from source

git clone https://github.com/Falcyn/n8n-nodes-whmcs.git
cd n8n-nodes-whmcs
npm install
npm run build      # tsc + copies icons into dist/
npm run lint       # eslint with eslint-plugin-n8n-nodes-base

The compiled output in dist/ is what n8n loads (see the n8n block in package.json).

Credentials

Create an API credential in WHMCS first:

  1. Configuration → System Settings → Manage API Credentials → Generate New API Credential.
  2. Pick an admin role that has the API Access permission.
  3. Copy the Identifier and Secret (the secret is shown only once).

Then in n8n add a WHMCS API credential:

| Field | Example | Notes | |-------|---------|-------| | WHMCS Base URL | https://billing.example.com | No trailing slash | | API Path | /includes/api.php | Default; change only for sub-dir installs | | API Identifier | D4j1dKYE… | From WHMCS | | API Secret | F1CKGXRI… | From WHMCS | | Access Key | (optional) | Matches $api_access_key in configuration.php; bypasses IP allow-listing | | Ignore SSL Issues | off | Enable only for trusted internal hosts |

The credential Test button calls the harmless WhmcsDetails action to confirm the identifier/secret and IP/access-key configuration.

Trigger setup (optional)

  1. Add a WHMCS Trigger node and copy its Production URL.
  2. Copy bridge/whmcs-hook-bridge.php into your WHMCS includes/hooks/ directory.
  3. Edit the file: set $n8nWebhookUrl to the Production URL, optionally set $sharedSecret, and list the events in $forwardEvents.
  4. Set the same secret in the node's Shared Secret field.

Quick example

Get every unpaid invoice for client 42:

  • Resource Invoice → Operation Get Many
  • Filters → Client ID 42, Status Unpaid

Security

This node talks to your billing system and the trigger receives inbound HTTP, so a few settings are security-relevant:

  • Always set a Shared Secret on the WHMCS Trigger. If you leave it blank the webhook is unauthenticated — anyone who discovers the URL can inject fake events (e.g. a forged InvoicePaid). Set a long random secret in the node and the matching $sharedSecret in whmcs-hook-bridge.php. The node compares secrets in constant time.
  • Use HTTPS end to end. WHMCS hook payloads can contain client and invoice PII. The PHP bridge should point $n8nWebhookUrl at an https:// URL so that data — and the shared secret header — is never sent in clear text.
  • Keep "Ignore SSL Issues" off. Only enable it for trusted internal/staging hosts; disabling certificate validation exposes API traffic to interception.
  • Scope the WHMCS API role. Generate the API credential against an admin role granted only the permissions your workflows actually use, and restrict by IP under Setup → General Settings → Security where possible. Prefer IP allow-listing over the Access Key, which bypasses it.
  • Credentials are stored in n8n's encrypted credential store and injected per request; they are never logged by the node, and credential values are redacted from error output.

Disclaimer

This is an unofficial, community-maintained project. It is not affiliated with, endorsed by, or sponsored by WHMCS Limited. "WHMCS" is a trademark of WHMCS Limited and is used here only to describe API compatibility. This package contains no WHMCS source code — it communicates with WHMCS solely through its public, documented API. The software is provided "as is", without warranty of any kind (see LICENSE).

License

MIT © Anthony Tuberville