Developer & DevOps
Execute Server Commands Automatically via Webhook
33 nodes
292
160
Webhook
Workflow Description
A reliable workflow that receives requests through Webhook and executes SSH commands on servers based on defined conditions, with error handling and structured responses.
How it works
- 1.Receive the webhook request and parse incoming data
- 2.Validate conditions and criteria using conditional nodes
- 3.Execute SSH commands on the target server
- 4.Process results through switch logic and routing
- 5.Send a structured response back to the requester
Use cases
- Deploy applications and code automatically to production servers
- Automate routine tasks such as backups and file cleanup
- Update services and software remotely without manual intervention
Requirements
- Valid SSH server credentials (IP address, port, authentication details)
- Active webhook configuration in your external system or application
- Sufficient server permissions to execute the required commands
Service Value
Ready-made workflow template for automation delivery and service execution.
Apps Used
Ssh
Details
Trigger
Webhook
Nodes
33
Apps
1
Views
292
Downloads
160
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
If1
If
nginx
Set
Container Stat
Switch
GET ACL
Set
SET ACL
Set
GET NET
Set
InfluxDB
Switch
Change Password
Set