Automatically update n8n version
Ready for 3.0What this workflow does
This workflow has 5 nodes and runs on a schedule (every day at 05:00). It uses only n8n's built-in nodes. It also calls registry.npmjs.org and 0.0.0.0:5678 over HTTP.
How it runs
Trigger: On a schedule (every day at 05:00).
- Get the latest n8n version (HTTP Request): calls registry.npmjs.org
- Get Local n8n version (HTTP Request): calls 0.0.0.0:5678
- If: checks a condition and branches into true / false
- SSH: uses SSH
HTTP calls to: registry.npmjs.org, 0.0.0.0:5678
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)
- HTTP Request
n8n-nodes-base.httpRequest - Schedule Trigger
n8n-nodes-base.scheduleTrigger - SSH
n8n-nodes-base.ssh - If
n8n-nodes-base.if
From the author
🔄 n8n Workflow: Check and Update n8n Version This workflow automatically checks if the local n8n version is outdated and, if so, creates a file to signal an update is needed. --- 🖥️ Working Environment - Operating System: Ubuntu 24.04 - n8n Installation:…