Templates / Automate n8n updates with version checking and Portainer webhook

Automate n8n updates with version checking and Portainer webhook

Ready for 3.0

by Dominic Spatz · 474 views · created 2025-08-06 · 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 6 nodes and runs on a schedule (every 16 hours). It uses only n8n's built-in nodes. It also calls registry.npmjs.org and portainer.tld.com over HTTP.

How it runs

Trigger: On a schedule (every 16 hours).

  1. Get the latest n8n version (HTTP Request): calls registry.npmjs.org
  2. Get local n8n metrics (HTTP Request): calls an HTTP API
  3. local n8n version (Code): runs custom JavaScript code
  4. If: checks a condition and branches into true / false
  5. Portainer Webhook (HTTP Request): calls portainer.tld.com (POST)

HTTP calls to: registry.npmjs.org, portainer.tld.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 (4)

From the author

🔄 Purpose of the Workflow: The Update-N8N workflow is designed to automatically trigger a (Portainer) webhook to update an N8N container, but only if a new version of N8N is available. ⚙️ Detailed Workflow Steps: 🕒 Scheduled Trigger The workflow runs every…

Excerpt from Dominic Spatz'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.