Templates / Self update Docker-based n8n with email approval and SSH

Self update Docker-based n8n with email approval and SSH

Ready for 3.0

by Muhammad Anas Farooq ✓ · 605 views · created 2025-11-03 · DevOps

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-12-01.

📬 Weekly n8n 3.0 breakage alerts, free

What this workflow does

This workflow has 14 nodes and runs on a schedule (every 3 days at 16:00). It uses only n8n's built-in nodes. It also calls hub.docker.com over HTTP.

How it runs

Trigger: On a schedule (every 3 days at 16:00).

  1. Get Current n8n Version (SSH): uses SSH
  2. Get Local Image Digest (SSH): uses SSH
  3. Get Remote Image Digest (HTTP Request): calls hub.docker.com
  4. Prepare Update Data (Edit Fields (Set)): sets 4 fields: current_version, local_digest, remote_digest…
  5. If: checks a condition and branches into true / false
  6. Ask For Approval to Update (Send Email): sends an email over SMTP
  7. If: checks a condition and branches into true / false
  8. Check Existence of Update Script (SSH): uses SSH
  9. If: checks a condition and branches into true / false
  10. Execute Update Script (SSH): uses SSH

…plus 1 more step. See the full node list below.

HTTP calls to: hub.docker.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 (7)

From the author

n8n Self-Updater Workflow > An automated n8n workflow originally built for DigitalOcean-based n8n deployments, but fully compatible with any VPS or cloud hosting (e.g., AWS, Google Cloud, Hetzner, Linode, etc.) where n8n runs via Docker. This workflow…

Excerpt from Muhammad Anas Farooq's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.