Developer & DevOps
Execute server commands via Webhook with conditional routing
33 nodes
195
132
Webhook
Workflow Description
A webhook-triggered workflow that receives requests, processes them based on conditions, executes SSH commands on remote servers, and returns results immediately. Includes error handling and dynamic response management.
How it works
- 1.Receive and parse incoming webhook requests with payload validation
- 2.Evaluate conditions to determine execution path and command parameters
- 3.Execute SSH commands on the target remote server
- 4.Process results and send response back through webhook endpoint
Use cases
- Automate deployment and update processes on production servers from external applications
- Trigger infrastructure maintenance, backups, and configuration tasks remotely
- Integrate server management operations into CI/CD pipelines and third-party tools
Requirements
- Establish secure SSH connection credentials and authentication keys for target servers
- Configure server hostnames, ports, and command definitions in workflow settings
- Set up webhook URL and define authentication tokens for request validation
Service Value
Ready-made workflow template for automation delivery and service execution.
Apps Used
Ssh
Details
Trigger
Webhook
Nodes
33
Apps
1
Views
195
Downloads
132
How to Use
- 1.Click "Download Template"
- 2.Open your n8n dashboard
- 3.Go to Workflows > Import from File
- 4.Select downloaded file and configure credentials
Nodes Used (33)
/
If
If
Parametrs
Set
API
Webhook
422-Invalid server domain
Webhook
Code1
Code
SSH
Ssh
Container Actions
Switch
Service Actions
Switch
API answer
Webhook
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
Sticky Note
Deploy-docker-compose
Set
Version
Set
Users
Set
If1
If
MinIO
Switch
nginx
Set
Container Stat
Switch
GET ACL
Set
SET ACL
Set
GET NET
Set