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.
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
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.
How it works
- Trigger manually or via schedule
- HTTP Request (n8n settings) → gets
versionCli
- HTTP Request (GitHub) → gets
name
(e.g.,[email protected]
) - Merge (SQL) → keeps only the fields needed
- Set → normalizes variable names
- IF → compares current vs latest version
- If different → Deploy update
- If same → No-Op
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)
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?