Telegram automation
Workflow Description
Advanced automation template integrating Telegram with SSH to execute remote server commands and receive results instantly. Supports manual triggering, scheduling, and robust error handling with direct message feedback.
How it works
- 1.Receive commands via Telegram messages, manual trigger, or scheduled intervals
- 2.Execute commands on remote server through SSH connection with full output capture
- 3.Process results and send responses back to Telegram user in real-time
Use cases
- Manage critical server operations and services directly from Telegram without custom interface
- Schedule automated backups, system monitoring, and maintenance with instant notifications
- Deploy updates, restart services, and manage configurations from your messaging app
- Monitor application health and auto-restart failing services with alert notifications
Requirements
- Valid SSH credentials with proper access permissions to the remote server
- Telegram bot API token with message sending permissions configured
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 (27)
Pull n8n Image
Ssh
docker compose pull
Ssh
check n8n installed version
Ssh
When clicking ‘Test workflow’
Manual Trigger
Schedule Trigger
Schedule Trigger
Sticky Note
Sticky Note
Sticky Note1
Sticky Note
Sticky Note2
Sticky Note
Sticky Note3
Sticky Note
Sticky Note4
Sticky Note
Sticky Note5
Sticky Note
Sticky Note6
Sticky Note
Sticky Note7
Sticky Note
Sticky Note8
Sticky Note
Sticky Note9
Sticky Note
Sticky Note10
Sticky Note
Sticky Note11
Sticky Note
docker compose up
Ssh
Sticky Note12
Sticky Note
Set Default variable
Set
Github HTTP Request
HTTP Request
Merge Results
Merge
Edit Version String
Set
Comapre Two Input
If
Telegram Notif
Set
Telegram Approve
Set
Telegram Notif1
Set