Sell hosted n8n with WHMCS via PUQcloud
This n8n workflow lets a hosting business sell n8n instances by serving as the API backend for PUQcloud's WHMCS and WISECP module. It runs Docker deployments of n8n on your own server whenever the billing system asks for one, for providers who resell automation hosting.
What it does
An API webhook takes the module's call, a set node holds the parameters, and the workflow rejects invalid server domains with a 422 reply. Valid jobs are sent over SSH to the Docker host and sorted by container action or service action, with disk and version handling.
How to use it
Create the webhook Basic Auth credential and an SSH credential to a server with Docker installed, then edit the Parameters node.
Requirements and limits
It depends on the PUQcloud module on the WHMCS or WISECP side.
More in Docker and the n8n workflow library.
Full text
Front matter
name: puq-docker-n8n-deploy
description: Triggered by a webhook. Connects Code, Condition, Respond To Webhook, Ssh, Switch, Webhook. ## 👋 Welcome to PUQ Docker n8n deploy! ## Template for n8n: API Backend for WHMCS/WISECP by PUQcloud v.1 This is an n8n template that creates an API backend for the WHMCS/WISECP module developed by PUQcloud. ## Setup Instructions ### 1. Configure API Webhook and SSH Access - Create a Credential (Basic Auth) for the **Webhook API Block** in n8n. - Create a Credential for **SSH access** to a server with Docker installed (**SSH Block**). ### 2. Modify Template Parameters In the **Parameters**
category: Automation
kind: Workflow
software: Code|Condition|Respond To Webhook|Ssh|Switch|Webhookpuq-docker-n8n-deploy
Triggered by a webhook. Connects Code, Condition, Respond To Webhook, Ssh, Switch, Webhook. ## 👋 Welcome to PUQ Docker n8n deploy!
Template for n8n: API Backend for WHMCS/WISECP by PUQcloud
v.1
This is an n8n template that creates an API backend for the WHMCS/WISECP module developed by PUQcloud.
Setup Instructions
1. Configure API Webhook and SSH Access
- Create a Credential (Basic Auth) for the Webhook API Block in n8n.
- Create a Credential for SSH access to a server with Docker installed (SSH Block).
2. Modify Template Parameters
In the Parameters
Steps
- If Node (if)
- Parametrs (set)
- API (webhook)
- 422-Invalid server domain (respondToWebhook)
- Code1 (code)
- SSH (ssh)
- Container Actions (switch)
- Service Actions (switch)
- Container Stats (switch)
- API answer (respondToWebhook)
- Inspect (set)
- Stat (set)
- Start (set)
- Stop (set)
- Test Connection1 (set)
- Deploy (set)
- Suspend (set)
- Terminated (set)
- Unsuspend (set)
- Mount Disk (set)
- Unmount Disk (set)
- Log (set)
- ChangePackage (set)
- Sticky Note (stickyNote)
- n8n (switch)
- Version (set)
- Users (set)
- Change Password (set)
- If1 (if)
- nginx (set)
- Deploy-docker-compose (set)
- GET ACL (set)
- SET ACL (set)
- GET NET (set)
Import
Download the JSON from the GitHub source and import it in n8n (Workflows, Import from file).
Source and license
Source: https://github.com/Zie619/n8n-workflows/blob/main/Code/1825_Code_Webhook_Automation_Webhook.md
Author: Zie619, n8n workflow collection. License: MIT.
Shown here with formatting for the web. Keep the author and license notice when you reuse it.
Related entries
There are more like this in the members library
The n8n workflow library holds 1,814 entries. Members can search all of them by meaning and read every one in full.