Execute server commands via webhook and manage data automatically
Workflow Description
A workflow that receives requests through webhooks, executes SSH commands on remote servers based on specific conditions, and processes data automatically while logging results. Ensures seamless infrastructure system integration and consistent operation monitoring.
How it works
- 1.Receive webhook request and parse incoming data
- 2.Validate conditions and transform data using conditional and code nodes
- 3.Execute SSH commands on target servers securely
- 4.Send confirmation response back through webhook response
Use cases
- Automate server administration tasks including backups and system updates remotely
- Trigger application deployment scripts automatically upon repository changes or events
- Manage access controls and perform scheduled maintenance on distributed systems
Requirements
- Pre-configured SSH connection to target servers with proper authentication credentials
- Basic understanding of shell commands and remote server operations
Service Value
Ready-made workflow template for automation delivery and service execution.
Apps Used
Details
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 (44)
If
If
Parametrs
Set
API
Webhook
422-Invalid server domain
Webhook
Container Actions
Switch
Container Stats
Switch
Inspect
Set
Stat
Set
Start
Set
Stop
Set
Mount Disk
Set
Unmount Disk
Set
Log
Set
Sticky Note
Sticky Note
Deploy-docker-compose
Set
Version
Set
Users
Set
Change Password
Set
NextCloud
Switch
nginx
Set
Test Connection
Set
ChangePackage
Set
Terminated
Set
Unsuspend
Set
Suspend
Set
Deploy
Set
Service Actions
Switch
If1
If
Dependent containers Stat
Set
GET ACL
Set
SET ACL
Set
GET NET
Set
If2
If
Split domain
Code
DNS Service Actions
Switch
DNS Parametrs
Set
Add record
HTTP Request
Delete record
HTTP Request
API answer1
Webhook
d01-test.uuq.pl
Ssh
d02-test.uuq.pl
Ssh
Servers Switch
Switch
Code
Code
API answer2
Webhook