Data & Databases

Execute server commands via webhook and manage data automatically

44 nodes 332 115 Webhook
Download

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. 1.Receive webhook request and parse incoming data
  2. 2.Validate conditions and transform data using conditional and code nodes
  3. 3.Execute SSH commands on target servers securely
  4. 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

Ssh

Details

Trigger Webhook
Nodes 44
Apps 1
Views 332
Downloads 115

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 (44)

/

If

If

#1

Parametrs

Set

#2

API

Webhook

#3

422-Invalid server domain

Webhook

#4

Container Actions

Switch

#5

Container Stats

Switch

#6

Inspect

Set

#7

Stat

Set

#8

Start

Set

#9

Stop

Set

#10

Mount Disk

Set

#11

Unmount Disk

Set

#12

Log

Set

#13

Sticky Note

Sticky Note

#14

Deploy-docker-compose

Set

#15

Version

Set

#16

Users

Set

#17

Change Password

Set

#18

NextCloud

Switch

#19

nginx

Set

#20

Test Connection

Set

#21

ChangePackage

Set

#22

Terminated

Set

#23

Unsuspend

Set

#24

Suspend

Set

#25

Deploy

Set

#26

Service Actions

Switch

#27

If1

If

#28

Dependent containers Stat

Set

#29

GET ACL

Set

#30

SET ACL

Set

#31

GET NET

Set

#32

If2

If

#33

Split domain

Code

#34

DNS Service Actions

Switch

#35

DNS Parametrs

Set

#36

Add record

HTTP Request

#37

Delete record

HTTP Request

#38

API answer1

Webhook

#39

d01-test.uuq.pl

Ssh

#40

d02-test.uuq.pl

Ssh

#41

Servers Switch

Switch

#42

Code

Code

#43

API answer2

Webhook

#44