Automate Your n8n Updates with This Powerful Workflow
detail.loadingPreview
Effortlessly keep your n8n instance up-to-date with this comprehensive automation workflow. This solution intelligently checks for new versions, notifies you, and can even automate the update process.
About This Workflow
This n8n workflow is designed to streamline the process of updating your n8n Docker installation. It begins by checking the currently installed n8n version via Docker. Simultaneously, it queries the n8n GitHub repository for the latest release tag. The workflow then intelligently compares these versions to detect if an update is available. If a new version is found, it can optionally notify you via Telegram, prompting for approval before proceeding to pull the latest Docker image, update via docker compose pull, and restart the container with docker compose up. This ensures your n8n instance remains current with minimal manual intervention.
Key Features
- Automated Version Checking: Automatically detects the installed n8n version and compares it with the latest GitHub release.
- Conditional Updates: Only proceeds with updates if a newer version is available, preventing unnecessary actions.
- Telegram Notifications: Optionally sends alerts to your Telegram account for version status and update approval.
- Docker & Docker Compose Integration: Leverages Docker commands for seamless image pulling and container management.
- Configurable: Easily set working directories and container names through default variables.
How To Use
- Prerequisites: Ensure you have Docker and Docker Compose installed and accessible on your server.
- Install Workflow: Import the provided n8n workflow JSON into your n8n instance.
- Set Default Variables: Navigate to the 'Set Default variable' node and configure:
working-directory: The path to yourdocker-compose.ymlfile.n8n-container-name: The exact name of your n8n Docker container.telegram-id(Optional): Your Telegram chat ID for notifications. Message@get_id_boton Telegram to find this.
- Configure SSH Credentials: Set up your SSH credentials in n8n to allow the workflow to execute commands on your server.
- Optional: Telegram Integration: If you wish to receive Telegram notifications, ensure your Telegram credentials are set up and the
telegram-idis correctly configured. - Schedule or Test: Either trigger the workflow manually using the 'Test workflow' button or set up the 'Schedule Trigger' to run it at your desired interval (e.g., daily or weekly).
Apps Used
Workflow JSON
{
"id": "7b7d15a5-be19-44ab-adb9-e53e1020d887",
"name": "Automate Your n8n Updates with This Powerful Workflow",
"nodes": 19,
"category": "DevOps",
"status": "active",
"version": "1.0.0"
}Note: This is a sample preview. The full workflow JSON contains node configurations, credentials placeholders, and execution logic.
Get This Workflow
ID: 7b7d15a5-be19...
About the Author
Free n8n Workflows Official
System Admin
The official repository for verified enterprise-grade workflows.
Statistics
Related Workflows
Discover more workflows you might like
Automate Qualys Report Generation and Retrieval
Streamline your Qualys security reporting by automating the generation and retrieval of reports. This workflow ensures timely access to crucial security data without manual intervention.
Automated PR Merged QA Notifications
Streamline your QA process with this automated workflow that notifies your team upon successful Pull Request merges. Leverage AI and vector stores to enrich notifications and ensure seamless integration into your development pipeline.
Visualize Your n8n Workflows: Interactive Dashboard with Mermaid.js
Gain unparalleled visibility into your n8n automation landscape. This workflow transforms your n8n instance into a dynamic, interactive dashboard, leveraging Mermaid.js to visualize all your workflows in one accessible place.