Skip to main content

Auto Update n8n to Latest Version with Coolify

Workflow preview

Workflow preview
100%
Auto Update n8n to Latest Version with Coolify preview
Open on n8n.io

Important notice

This workflow is provided as-is. Please review and test before using in production.

1. Workflow Overview

Automatically detect new n8n releases (stable or beta) from GitHub, update Coolify environment variables, and trigger deployments. Functionality This workflow automates deployment of [n8n](https://...

Best for

  • DevOps automation workflows
  • intermediate n8n builders looking for reusable templates

Tools used

n8n-nodes-base.httprequest, n8n-nodes-base.filter, n8n-nodes-base.limit, n8n-nodes-base.removeduplicates, n8n-nodes-base.scheduletrigger

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Haqi Ramadhani.

Original n8n.io source

1.1 Workflow description

Title
Auto Update n8n to Latest Version with Coolify
Workflow name
Auto Update n8n to Latest Version with Coolify

Automatically detect new n8n releases (stable or beta) from GitHub, update Coolify environment variables, and trigger deployments.


Functionality

This workflow automates deployment of n8n releases to a Coolify instance. It supports two tracks:

  1. Beta Releases: Checks GitHub every minute for prereleases, filters duplicates, updates the N8N_VERSION environment variable, and deploys.
  2. Stable Releases (disabled by default): Checks the latest stable release hourly and deploys.

Key Features:

  • Deduplication: Ensures no repeated deployments for the same release.
  • Version Parsing: Extracts the semantic version (e.g., 1.34.0) from GitHub release names.
  • Coolify Integration: Updates environment variables and triggers deployments via API.

Expected Outcomes
  • New n8n beta/stable releases detected via GitHub API.
  • Coolify environment variable N8N_VERSION updated to the latest version.
  • Automatic deployment triggered in Coolify.

Setup Guide

  1. Replace Placeholders:

    • Update m8ccg8k44coogsk84swk8kgs in the Update ENV and Deploy nodes with your Coolify Application UUID.
  2. Configure Credentials:

    • Add Coolify API credentials (httpHeaderAuth) with a valid API token in the headers.
  3. Enable Triggers:

    • Toggle the Auto Update Latest Release node if stable releases are desired. Adjust schedule intervals as needed.
  4. Test:

    • Run the workflow manually to validate API connections and version parsing.

SEO Keywords

Automated Deployment, n8n CI/CD, Coolify Integration, GitHub Release Monitoring, Environment Variable Management, Beta Release Automation.

1.2 Logical Blocks

This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.

2. Block-by-Block Analysis

Block 1 - Get Release

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 2 - Update ENV

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 3 - Deploy

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 4 - Filter

Type / Role
n8n-nodes-base.filter - filter
Config choices
Version 2.2

Block 5 - Limit

Type / Role
n8n-nodes-base.limit - limit
Config choices
Version 1

Block 6 - Remove Duplicates

Type / Role
n8n-nodes-base.removeDuplicates - removeDuplicates
Config choices
Version 2

Block 7 - Get Releases

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 8 - Auto Update Latest Release

Type / Role
n8n-nodes-base.scheduleTrigger - scheduleTrigger
Config choices
Version 1.2

Block 9 - Auto Update Beta Release

Type / Role
n8n-nodes-base.scheduleTrigger - scheduleTrigger
Config choices
Version 1.2

3. Summary Table

Workflow Auto Update n8n to Latest Version with Coolify
Complexity intermediate
Nodes 9
Categories DevOps
Author Haqi Ramadhani
Published 24 May 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/4360/4360.json as the source template for this automation.

  2. 2. Import the template into n8n

    Open n8n, import the downloaded JSON, and review each node before activating the workflow.

  3. 3. Configure credentials and variables

    Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.

  4. 4. Test with sample data

    Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.

  5. 5. Activate and monitor

    Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.

5. General Notes & Resources

Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.

Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.

Frequently asked questions

What does Auto Update n8n to Latest Version with Coolify do?

Automatically detect new n8n releases (stable or beta) from GitHub, update Coolify environment variables, and trigger deployments. Functionality This workflow automates deployment of [n8n](https://...

What do I need before importing this workflow?

Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.

Can I customize this workflow?

Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your DevOps use case.