Data & Databases

Execute server scripts automatically via webhooks

35 nodes 343 90 Webhook
Download

Workflow Description

Automation that receives webhook requests and executes SSH commands on remote servers with advanced conditional logic and instant response delivery to clients.

How it works

  1. 1.Receive incoming webhook request with payload
  2. 2.Parse data and validate required conditions using conditional logic
  3. 3.Execute SSH commands on designated remote server
  4. 4.Log execution results and capture errors
  5. 5.Send immediate response back to the requestor

Use cases

  • Deploy applications automatically to production servers
  • Run periodic server maintenance and cleanup tasks
  • Trigger backups and data recovery operations
  • Monitor server health and restart services on demand

Requirements

  • Valid and secure SSH credentials stored safely
  • Network connectivity open to remote servers
  • Clear documentation of expected webhook payload format
  • Knowledge of server commands to be executed

Service Value

Ready-made workflow template for automation delivery and service execution.

Apps Used

Ssh

Details

Trigger Webhook
Nodes 35
Apps 1
Views 343
Downloads 90

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

/

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

Users

Set

#26

If1

If

#27

nginx

Set

#28

Container Stat

Switch

#29

GET ACL

Set

#30

SET ACL

Set

#31

GET NET

Set

#32

Dependent containers Stat

Set

#33

Change Password

Set

#34

Immich

Switch

#35