⚙️ Automatic self-hosted application updates with Coolify deployments

358 views · ⚙️ DevOps & CI/CD

Description

Auto-update n8n instance with Coolify

Who’s it for

This workflow is designed for self-hosted n8n administrators who want to keep their instance automatically updated to the latest stable release. It removes the need for manual version checks and ensures deployments are always up to date.

What it does

The workflow checks your current n8n version against the latest GitHub release. If a mismatch is detected, it triggers a Coolify deployment to update your instance. If both versions match, the workflow ends safely without action.

How it works

  1. Trigger: Start manually or on a schedule.
  2. HTTP Request (n8n settings): Fetches your current version (versionCli).
  3. HTTP Request (GitHub): Fetches the latest n8n release (name).
  4. Merge (SQL): Keeps only the two fields needed.
  5. Set (Normalize): Converts values into comparable variables.
  6. IF Check: Compares current vs latest version.
    • If different → Deploy update.
    • If same → Stop with no operation.
  7. HTTP Request (Coolify): Triggers a forced redeploy via API.

How to set up

Requirements

How to customize

🔗 Nodes Used

HTTP Request, Schedule Trigger

📥 Import

Download workflow.json and import into n8n: Workflow menu → Import from File

📖 Importing guide · 🔑 Credential setup