AutomationMart
Home/Browse/Self update Docker-based n8n with email approval and SSH
n8n

Self update Docker-based n8n with email approval and SSH

n8nn8n14 modulesv1.0

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 checks for the latest Docker image of n8n, notifies you via email for approval, and securely updates your n8n instance via SSH once approved. --- How It Works 1. Trigger: The workflow runs automatically every 3 days at 4 PM UTC (or manually if t

At a glance

Self update Docker-based n8n with email approval and SSH is a ready-made n8n workflow you import as a workflow JSON file — no build required. It's free to download. Follow the 5-step import below to go live in minutes.

Platform
n8n
Modules
14
Price
Free
Version
v1.0
Self update Docker-based n8n with email approval and SSH workflow diagram

About this workflow

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 checks for the latest Docker image of n8n, notifies you via email for approval, and securely updates your n8n instance via SSH once approved. --- How It Works 1. Trigger: The workflow runs automatically every 3 days at 4 PM UTC (or manually if triggered). 2. Check Version: It retrieves your current n8n Docker version and image digest via SSH. 3. Compare: Fetches the remote digest from Docker Hub and compares it with the local one. 4. Notify via Email: If a new update is available, an approval email is sent with details: Current version Local digest Remote digest What will happen after approval 5. Approval Logic: Approve → Workflow connects via SSH and updates the n8n container automatically. Decline → Workflow ends; next check occurs in the next cycle. 6. Auto Update Execution: Creates (if missing) a updatedocker.sh script on the server. Runs it in the background (nohup) to: The delay ensures n8n restarts only after workflow completion. --- Requirements SSH Access to your server (where n8n runs). Add your credentials in n8n under Credentials → SSH Password. SMTP Connection for email notifications. Configure in Credentials → SMTP. Fill in: From Email → e.g., info@yourdomain.com To Email → your email for receiving approvals Docker-based n8n Deployment, e.g., n8n-docker-caddy setup. Docker and docker-compose installed on the server. --- How to Use 1. Import the Workflow: Copy the provided JSON file. In your n8n instance → click Import Workflow → paste the JSON. 2. Set Up Credentials: Create two credentials in n8n: SSH Password → Your server's SSH credentials. SMTP → Your email provider's SMTP credentials. 3. Edit the Email Node: Replace: fromEmail: info@yourdomain.com → with your email. toEmail: youremail@yourdomain.com → with your desired recipient. 4. Enable Auto Trigger (optional): Go to the Schedule Trigger node and set your desired interval/time. 5. Run the Workflow: Test manually first. Once verified, activate it for automatic checks. --- Notes Originally designed for DigitalOcean VPS setups, but can run on any Docker-based n8n server. The workflow avoids duplicate updates by comparing digests instead of version tags. If the updatedocker.sh file already exists, it reuses it safely. Approval emails include full details for transparency. Background execution ensures no interruptions during restart. --- Example Behavior Day 1: Workflow checks → detects update → sends email → user approves. 30 seconds later: Workflow runs update script → n8n restarts with latest Docker image. Day 4: Workflow checks again → digests match → silently completes (no email sent). --- Author: Muhammad Anas Farooq

n8n

How to import this n8n workflow

  1. 1

    Download the workflow JSON file after purchase.

  2. 2

    Open n8n → click the menu → Import from File.

  3. 3

    Select the downloaded JSON and import.

  4. 4

    Set up credentials for each node that requires them.

  5. 5

    Click Execute Workflow to test, then activate.

Setup guide

Setup guide included

Purchase to unlock the full step-by-step guide

Related N8n workflows

Conversational Razorpay Analytics with Google Gemini & Telegram Bot

Description Access your Razorpay insights instantly from Telegram—no dashboard, filters, or manual queries needed. Simply send messages like “show my payments”, “list recent orders”, or “check refunds”, and the bot retrieves the latest information from your Razorpay merchant account in seconds. Powered by AI, the workflow understands your message, fetches the relevant Razorpay data, and transforms it into a clear, easy-to-read summary. Everything is delivered back to you within the same T

Free

Bulk delete all YouTube playlists from your channel

Who is this for? This workflow is for any YouTube user who wants to bulk delete all playlists from their own channel — whether to start fresh, clean up old content, or prepare the account for a new purpose. It’s useful for: Creators reorganizing their channel People transferring content to another account Anyone who wants to avoid deleting playlists manually one by one 🧠 What problem is this workflow solving? YouTube does not offer a built-in way to delete multiple playlists at once. If you h

Free

Background removal API MCP server

Complete MCP server exposing 3 Background Removal API operations to AI agents. ⚡ Quick Setup Need help? Want access to more workflows and even live Q&A sessions with a top verified n8n creator.. All 100% free? Join the community 1. Import this workflow into your n8n instance 2. Credentials Add Background Removal API credentials 3. Activate the workflow to start your MCP server 4. Copy the webhook URL from the MCP trigger node 5. Connect AI agents using the MCP URL 🔧 How it Works This workflow co

Free

Invoice data extraction with LlamaParse and OpenAI

This n8n workflow automates the process of parsing and extracting data from PDF invoices. With this workflow, accounts and finance people can realise huge time and cost savings in their busy schedules. Read the Blog: How it works This workflow will watch an email inbox for incoming invoices from suppliers It will download the attached PDFs and processing them through a third party service called LlamaParse. LlamaParse is specifically designed to handle and convert complex PDF data structures

Free

Automate Google Business Profile posts with GPT-4 & Google Sheets

This powerful n8n workflow automatically generates and publishes Google Business Profile (GMB) posts using topics listed in a Google Sheet. It uses OpenAI to write SEO-optimized post descriptions and generate AI images based on the topic — then posts them directly to your GMB profile and marks them as published in the sheet. --- 🎯 Use Case Perfect for: - Digital marketers managing local SEO - Agencies automating content for clients - Businesses regularly posting to GMB - Teams managing edit

Free

Automated tweet generator & publisher with GPT-4, Discord, and Google Sheets

AI Twitter Content Machine – Write, Refine & Publish Tweets on Autopilot This workflow is perfect for creators, solopreneurs, and personal brands who want to consistently publish bold, high-performing content on X (Twitter) — without writing a single line themselves. After a one-time setup, it automatically generates tweet ideas, writes in your voice, evaluates post quality, avoids duplicates, and publishes directly to Twitter. All approvals and rewrites are handled in a conversational loop powe

Free

Reviews

No reviews yet

Be the first to buy and share your experience.

Leave a review

Sign in to share your experience with this workflow.

Log in to review
Free
No ratings yet

Create a free account to purchase workflows.

  • JSON blueprint — instant download
  • Setup guide PDF included
  • 5 downloads · valid 30 days
  • Works with n8n

Need help setting this up?

Book a 3-hour live setup session with an Agility consultant.

₹2,499/ session
3 hrs · video call
  • Configure live on Google Meet / Zoom
  • Free follow-up if workflow has defects
  • Platform expert assigned to you
Book installation session
Free