PUQ Docker NextCloud deploy
Configured with HTTP Request, Respond To Webhook, Ssh, Switch, and additional nodes. Review the connections and setup before adapting this template.
Node categories in this workflow
- Routing
- Transform
- Trigger
- Web / API
- Code
Icons describe general node roles, inferred from node types. Inspect the parameters for the configured action.
Drag to pan; use + and − to zoom. Reconstructed from the exported node positions; nothing runs here. Dashed lines represent non-main connections. Full node names and notes appear below.
How it works
The exported workflow contains the following configured nodes. Their connections are shown above; inspect the JSON for the complete logic, expressions, and external actions.
| Node | Category | Type | Operation |
|---|---|---|---|
| If | Routing | If | See node parameters |
| Parametrs | Transform | Edit Fields | See node parameters |
| API | Trigger | Webhook | See node parameters |
| 422-Invalid server domain | Web / API | Respond To Webhook | See node parameters |
| Container Actions | Routing | Switch | See node parameters |
| Container Stats | Routing | Switch | See node parameters |
| Inspect | Transform | Edit Fields | See node parameters |
| Stat | Transform | Edit Fields | See node parameters |
| Start | Transform | Edit Fields | See node parameters |
| Stop | Transform | Edit Fields | See node parameters |
| Mount Disk | Transform | Edit Fields | See node parameters |
| Unmount Disk | Transform | Edit Fields | See node parameters |
| Log | Transform | Edit Fields | See node parameters |
| Deploy-docker-compose | Transform | Edit Fields | See node parameters |
| Version | Transform | Edit Fields | See node parameters |
| Users | Transform | Edit Fields | See node parameters |
| Change Password | Transform | Edit Fields | See node parameters |
| NextCloud | Routing | Switch | See node parameters |
| nginx | Transform | Edit Fields | See node parameters |
| Test Connection | Transform | Edit Fields | See node parameters |
| ChangePackage | Transform | Edit Fields | See node parameters |
| Terminated | Transform | Edit Fields | See node parameters |
| Unsuspend | Transform | Edit Fields | See node parameters |
| Suspend | Transform | Edit Fields | See node parameters |
| Deploy | Transform | Edit Fields | See node parameters |
| Service Actions | Routing | Switch | See node parameters |
| If1 | Routing | If | See node parameters |
| Dependent containers Stat | Transform | Edit Fields | See node parameters |
| GET ACL | Transform | Edit Fields | See node parameters |
| SET ACL | Transform | Edit Fields | See node parameters |
| GET NET | Transform | Edit Fields | See node parameters |
| If2 | Routing | If | See node parameters |
| Split domain | Code | Code | See node parameters |
| DNS Service Actions | Routing | Switch | See node parameters |
| DNS Parametrs | Transform | Edit Fields | See node parameters |
| Add record | Web / API | HTTP Request | PATCH |
| Delete record | Web / API | HTTP Request | PATCH |
| API answer1 | Web / API | Respond To Webhook | See node parameters |
| REPLACE_WITH_CREDENTIAL | Code | Ssh | See node parameters |
| REPLACE_WITH_CREDENTIAL | Code | Ssh | See node parameters |
| Servers Switch | Routing | Switch | See node parameters |
| Code | Code | Code | See node parameters |
| API answer2 | Web / API | Respond To Webhook | See node parameters |
Setup
- Download the JSON and import it into an isolated n8n instance. Leave the workflow inactive.
- Connect your own credentials through n8n’s credential store. Replace
REPLACE_WITH_*values with your resource identifiers. - Inspect API destinations, Code nodes, database queries, file paths, and outbound actions.
- Run with synthetic data and harmless destinations. Enable triggers only after checking the actual outputs.
Requirements
An n8n instance with the listed node types and compatible versions. Service-connected workflows may require accounts, credentials, or paid APIs.
Credential types declared in the source
httpBasicAuthsshPassword
Workflow notes
👋 Welcome to PUQ Docker NextCloud deploy!
👋 Welcome to PUQ Docker NextCloud deploy!
Template for Docker NextCloud: API Backend for WHMCS/WISECP by PUQcloud
This is an Docker NextCloud 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. Install Required Packages on the Docker Server
Run the following command on your server:
apt-get install sqlite3 apache2-utils -y
3. Modify Template Parameters
In the Parameters block of the template, update the following settings:
server_domain– must match the domain of the WHMCS/WISECP Docker server.clients_dir– directory where user data related to Docker and disks will be stored.mount_dir– default mount point for the container disk (recommended not to change).
Do not modify the following technical parameters:
screen_leftscreen_right
Additional Resources
- Full documentation: https://doc.puq.info/books/docker-nextcloud-whmcs-module
- WHMCS module: https://puqcloud.com/whmcs-module-docker-nextcloud.php
PUQ Docker NextCloud deploy
PUQ Docker NextCloud deploy
Purpose and structure
This folder contains the PUQ Docker NextCloud deploy workflow. Its executable nodes use code, httpRequest, if, respondToWebhook, set, ssh, switch, webhook. The table and connection map below are derived from the JSON, not an inferred guarantee of behavior.
Setup
Import inactive. Configure your own credentials and replace REPLACE_WITH_* values. Review external destinations and Code nodes before running.
Entry points
API
Verification
Sanitized source candidate; not runtime-tested. This overview is generated from node metadata. Read the folder README for the connection map, credential types, and license.
Attribution
https://github.com/Zie619/n8n-workflows/blob/94007c1445d9258a7da116646b79473e7c7c3282/workflows/Code/1832_Code_Webhook_Automation_Webhook.json MIT; preserve source notices.