Auto-update n8n instance(self hosted) with Coolify (and similar service)

Hi everyone,

I’m sharing a workflow template that helps self-hosted n8n admins keep their instance always updated to the latest stable release — fully automated through Coolify.


:bullseye: What it does

  • Fetches your current n8n version from your instance
  • Fetches the latest release version from GitHub
  • Compares the two values
  • If different → triggers a Coolify deploy to update
  • If identical → stops with no operation

:busts_in_silhouette: Who’s it for

Anyone running self-hosted n8n with Coolify (or a similar service) who wants to avoid manual checks and keep deployments consistent.


:gear: How it works

  1. Trigger manually or via schedule
  2. HTTP Request (n8n settings) → gets versionCli
  3. HTTP Request (GitHub) → gets name (e.g., [email protected])
  4. Merge (SQL) → keeps only the fields needed
  5. Set → normalizes variable names
  6. IF → compares current vs latest version
    • If different → Deploy update
    • If same → No-Op

:hammer_and_wrench: How to set up

  • Replace https://yourn8ndomain/rest/settings with your own n8n domain
  • Replace the Coolify API URL with your Coolify domain + app UUID
  • Add an HTTP Bearer credential with a valid Coolify API token
  • Adjust the schedule trigger interval (e.g., every 6h)

:white_check_mark: Requirements

  • A self-hosted n8n instance with /rest/settings endpoint accessible
  • Coolify (or alternative deploy service) managing the n8n app
  • Valid API token stored in n8n credentials

Would love your feedback — do you think this could be useful in your self-hosted setups?