Automated n8n Version Updates with Coolify
detail.loadingPreview
Streamline your n8n deployments by automatically updating to the latest stable or beta releases. This workflow leverages n8n and Coolify to fetch new versions, update your environment, and trigger deployments seamlessly.
About This Workflow
This n8n workflow orchestrates the automated deployment of n8n itself. It intelligently fetches the latest releases from the official n8n GitHub repository, distinguishing between stable and beta versions. Once a new release is identified, it filters out pre-release versions if desired and removes any duplicate entries. The workflow then updates a specific environment variable (N8N_VERSION) within your Coolify application, ensuring the desired version is configured. Finally, it triggers a deployment on Coolify, pushing the updated n8n instance live. This ensures your n8n environment is always running on the latest, tested versions with minimal manual intervention.
Key Features
- Automatic Release Fetching: Retrieves the latest stable and beta releases directly from the n8n GitHub repository.
- Intelligent Filtering: Allows for the exclusion of pre-release versions to maintain stability.
- Duplicate Release Management: Prevents redundant updates by identifying and removing duplicate releases.
- Environment Variable Updates: Dynamically updates the N8N_VERSION environment variable in Coolify.
- Automated Deployments: Triggers a new deployment on Coolify once the environment is updated.
How To Use
- Configure Schedule Triggers: Set up the 'Auto Update Beta Release' and 'Auto Update Latest Release' trigger nodes to define how frequently you want to check for new versions (e.g., daily, hourly).
- Connect GitHub API: The 'Get Releases' and 'Get Release' nodes are pre-configured to fetch data from
https://api.github.com/repos/n8n-io/n8n/releases. Ensure you have appropriate API access if needed for rate limits. - Set Up Coolify Credentials: In the 'Update ENV' and 'Deploy' nodes, configure your Coolify HTTP authentication credentials. Ensure the
httpHeaderAuthis correctly set up with your API token and base URL forconsole.buatan.id. - Define Application UUID: Replace the placeholder
{{ 'm8ccg8k44coogsk84swk8kgs' }}in the 'Update ENV' and 'Deploy' nodes with your actual Coolify application UUID. - Customize Filtering: Adjust the 'Filter' node to include or exclude pre-release versions based on your deployment strategy.
- Review and Enable: Save the workflow and enable the relevant trigger nodes to start automated updates.
Apps Used
Workflow JSON
{
"id": "a4e8a951-346c-4775-ad51-1aee176b2ce7",
"name": "Automated n8n Version Updates with Coolify",
"nodes": 26,
"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: a4e8a951-346c...
About the Author
SaaS_Connector
Integration Guru
Connecting CRM, Notion, and Slack to automate your life.
Statistics
Related Workflows
Discover more workflows you might like
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.
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.
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.