Developer & DevOps

Automated workflow

33 nodes 204 125 Webhook
Download

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. 1.Receive incoming webhook request and parse the payload data
  2. 2.Set variables and prepare SSH command parameters based on input
  3. 3.Evaluate conditional logic branches to route workflow execution
  4. 4.Execute SSH commands on target servers with proper authentication
  5. 5.Process custom code for advanced operations and transformations
  6. 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

Ssh

Details

Trigger Webhook
Nodes 33
Apps 1
Views 204
Downloads 125

How to Use

  1. 1.Click "Download Template"
  2. 2.Open your n8n dashboard
  3. 3.Go to Workflows > Import from File
  4. 4.Select downloaded file and configure credentials

Nodes Used (33)

/

If

If

#1

Parametrs

Set

#2

API

Webhook

#3

422-Invalid server domain

Webhook

#4

Code1

Code

#5

SSH

Ssh

#6

Container Actions

Switch

#7

Service Actions

Switch

#8

API answer

Webhook

#9

Inspect

Set

#10

Stat

Set

#11

Start

Set

#12

Stop

Set

#13

Test Connection1

Set

#14

Deploy

Set

#15

Suspend

Set

#16

Terminated

Set

#17

Unsuspend

Set

#18

Mount Disk

Set

#19

Unmount Disk

Set

#20

Log

Set

#21

ChangePackage

Set

#22

Sticky Note

Sticky Note

#23

Deploy-docker-compose

Set

#24

Version

Set

#25

If1

If

#26

nginx

Set

#27

Container Stat

Switch

#28

GET ACL

Set

#29

SET ACL

Set

#30

GET NET

Set

#31

InfluxDB

Switch

#32

Change Password

Set

#33