Automate docker container updates with Telegram approval system
Ready for 3.0What this workflow does
This workflow has 14 nodes and runs on a schedule (every 3 days at 13:00) (plus 1 other trigger). Along the way it connects Telegram. It also calls api.github.com over HTTP.
How it runs
Trigger: On a schedule (every 3 days at 13:00) (plus 1 other trigger).
- Set Default variable (Edit Fields (Set)): sets 3 fields: working-directory, n8n-container-name, telegram-id
- check n8n installed version (SSH): uses SSH
- Github HTTP Request (HTTP Request): calls api.github.com
- Merge: merges the data from its input branches
- Edit Version String (Edit Fields (Set)): sets 1 field: tag_name
- Comapre Two Input (If): checks a condition and branches into true / false
- Telegram: uses Telegram
- Telegram: send and wait for a reply
- Pull n8n Image (SSH): uses SSH
- docker compose pull (SSH): uses SSH
…plus 2 more steps. See the full node list below.
Services it uses
Other GitHub + Telegram templates (22)
HTTP calls to: api.github.com
Before you upgrade to n8n 3.0
Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.
Nodes used (8)
- SSH
n8n-nodes-base.ssh - Manual Trigger
n8n-nodes-base.manualTrigger - Schedule Trigger
n8n-nodes-base.scheduleTrigger - Edit Fields (Set)
n8n-nodes-base.set - HTTP Request
n8n-nodes-base.httpRequest - Merge
n8n-nodes-base.merge - If
n8n-nodes-base.if - Telegram
n8n-nodes-base.telegram
From the author
Who is this for? This workflow is for DevOps engineers, system administrators, and Docker users who want to automate the process of checking for updates, verifying them, and applying updates to their Docker-based deployment in a controlled manner. For…