← All N8N workflows
Automation & utilitiesCodeHTTP RequestIfRespond To WebhookEdit Fields

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.

Workflow preview
RoutingIfIfTransformParametrsEdit FieldsTriggerAPIWebhookWeb / API422-Invalid serverdomainRespond To WebhookRoutingContainer ActionsSwitchRoutingContainer StatsSwitchTransformInspectEdit FieldsTransformStatEdit FieldsTransformStartEdit FieldsTransformStopEdit FieldsTransformMount DiskEdit FieldsTransformUnmount DiskEdit FieldsTransformLogEdit FieldsTransformDeploy-docker-composeEdit FieldsTransformVersionEdit FieldsTransformUsersEdit FieldsTransformChange PasswordEdit FieldsRoutingNextCloudSwitchTransformnginxEdit FieldsTransformTest ConnectionEdit FieldsTransformChangePackageEdit FieldsTransformTerminatedEdit FieldsTransformUnsuspendEdit FieldsTransformSuspendEdit FieldsTransformDeployEdit FieldsRoutingService ActionsSwitchRoutingIf1IfTransformDependent containersStatEdit FieldsTransformGET ACLEdit FieldsTransformSET ACLEdit FieldsTransformGET NETEdit FieldsRoutingIf2IfCodeSplit domainCodeRoutingDNS Service ActionsSwitchTransformDNS ParametrsEdit FieldsWeb / APIAdd recordHTTP RequestWeb / APIDelete recordHTTP RequestWeb / APIAPI answer1Respond To WebhookCodeREPLACE_WITH_CREDENTIALSshCodeREPLACE_WITH_CREDENTIALSshRoutingServers SwitchSwitchCodeCodeCodeWeb / APIAPI answer2Respond To Webhook

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.

Workflow node names, types, and operations
NodeCategoryTypeOperation
IfRoutingIfSee node parameters
ParametrsTransformEdit FieldsSee node parameters
APITriggerWebhookSee node parameters
422-Invalid server domainWeb / APIRespond To WebhookSee node parameters
Container ActionsRoutingSwitchSee node parameters
Container StatsRoutingSwitchSee node parameters
InspectTransformEdit FieldsSee node parameters
StatTransformEdit FieldsSee node parameters
StartTransformEdit FieldsSee node parameters
StopTransformEdit FieldsSee node parameters
Mount DiskTransformEdit FieldsSee node parameters
Unmount DiskTransformEdit FieldsSee node parameters
LogTransformEdit FieldsSee node parameters
Deploy-docker-composeTransformEdit FieldsSee node parameters
VersionTransformEdit FieldsSee node parameters
UsersTransformEdit FieldsSee node parameters
Change PasswordTransformEdit FieldsSee node parameters
NextCloudRoutingSwitchSee node parameters
nginxTransformEdit FieldsSee node parameters
Test ConnectionTransformEdit FieldsSee node parameters
ChangePackageTransformEdit FieldsSee node parameters
TerminatedTransformEdit FieldsSee node parameters
UnsuspendTransformEdit FieldsSee node parameters
SuspendTransformEdit FieldsSee node parameters
DeployTransformEdit FieldsSee node parameters
Service ActionsRoutingSwitchSee node parameters
If1RoutingIfSee node parameters
Dependent containers StatTransformEdit FieldsSee node parameters
GET ACLTransformEdit FieldsSee node parameters
SET ACLTransformEdit FieldsSee node parameters
GET NETTransformEdit FieldsSee node parameters
If2RoutingIfSee node parameters
Split domainCodeCodeSee node parameters
DNS Service ActionsRoutingSwitchSee node parameters
DNS ParametrsTransformEdit FieldsSee node parameters
Add recordWeb / APIHTTP RequestPATCH
Delete recordWeb / APIHTTP RequestPATCH
API answer1Web / APIRespond To WebhookSee node parameters
REPLACE_WITH_CREDENTIALCodeSshSee node parameters
REPLACE_WITH_CREDENTIALCodeSshSee node parameters
Servers SwitchRoutingSwitchSee node parameters
CodeCodeCodeSee node parameters
API answer2Web / APIRespond To WebhookSee node parameters

Setup

  1. Download the JSON and import it into an isolated n8n instance. Leave the workflow inactive.
  2. Connect your own credentials through n8n’s credential store. Replace REPLACE_WITH_* values with your resource identifiers.
  3. Inspect API destinations, Code nodes, database queries, file paths, and outbound actions.
  4. 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

  • httpBasicAuth
  • sshPassword

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_left
  • screen_right

Additional Resources

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.

More in Automation & utilities