Automated workflow
Workflow Description
Automated workflow triggered by webhooks that executes SSH commands with conditional logic and custom code processing, enabling infrastructure tasks without manual intervention. Handles complex scenarios with error management and flexible response handling.
How it works
- 1.Receive incoming webhook request and parse the payload data
- 2.Set variables and prepare SSH command parameters based on input
- 3.Evaluate conditional logic branches to route workflow execution
- 4.Execute SSH commands on target servers with proper authentication
- 5.Process custom code for advanced operations and transformations
- 6.Respond to webhook with operation results and final status
Use cases
- Deploy applications and manage remote servers programmatically without manual steps
- Execute scheduled maintenance scripts and backups across multiple servers
- Automate complex DevOps tasks with error handling and exception management
Requirements
- Valid SSH credentials and access permissions to target servers
- Active webhook endpoint or API trigger mechanism to initiate workflow
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 (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