Safely Update n8n with Version Checks and Telegram Notifications
Who’s it for This workflow is for system administrators or self-hosted n8n users who want to automatically check and update their n8n instance to the latest version — with Telegram notifications for every step.
How it works The workflow runs daily at 9 AM or every time n8n starts. It retrieves your current version using the Execute Command node. It checks the latest release from the official n8n GitHub API. It compares both versions and decides whether an update is needed. If an update is available: Sends a Telegram alert. Verifies that there are no running executions. Runs the update command safely. Sends a confirmation message when done. If your instance is already up to date, it sends a “latest version” message instead.
Requirements Self-hosted n8n** instance with access to run terminal commands. A valid Telegram Bot API credential (configured in n8n Credentials; not hardcoded). System permissions** to execute global npm commands (sudo privileges).
How to set up Import this workflow into your n8n instance. Connect your Telegram Bot credential to the Telegram nodes. Adjust the chat ID and message thread ID if needed. (Optional) Change the schedule time in the Schedule Trigger node. Save and activate the workflow.
How to customize Change the update command if you’re running n8n via Docker: docker pull n8nio/n8n:latest
Related Templates
Instagram Full Profile Scraper with Apify and Google Sheets
📸 Instagram Full Profile Scraper with Apify and Google Sheets This n8n workflow automates the process of scraping ful...
Technology News Workflow Explanation with Key Services
This workflow contains community nodes that are only compatible with the self-hosted version of n8n. Auto-Publish Techn...
Auto-classify Gmail emails with AI and apply labels for inbox organization
Who is this for? Professionals and individuals who receive high volumes of emails, those who want to automatically organ...
🔒 Please log in to import templates to n8n and favorite templates
Workflow Visualization
Loading...
Preparing workflow renderer
Comments (0)
Login to post comments