Auto-Update n8n on Coolify: Seamless Workflow Automation
Auto-Update n8n on Coolify: Seamless Workflow Automation
Couldn't load pickup availability
Auto-Update n8n on Coolify: Seamless Workflow Automation
Keep your self-hosted n8n instance automatically updated without manual intervention or unexpected downtime. This intelligent workflow monitors your n8n installation on Coolify and seamlessly updates it to the latest stable version when available.
What this workflow does
Running on a weekly schedule, this automation leverages n8n's built-in Security Audit feature to check if your instance is outdated. When a newer version is detected, the workflow automatically fetches the latest stable release tag from the GitHub API and triggers a service restart through the Coolify API. This process pulls the newest n8n image and completes the update cycle. A Mattermost notification confirms successful completion, giving you peace of mind that your automation platform stays current.
Use cases
- Self-hosters who want to maintain n8n security without constant manual monitoring
- Teams running critical automation workflows that need reliable, up-to-date n8n instances
- DevOps engineers managing multiple n8n deployments on Coolify infrastructure
- Organizations requiring automated maintenance routines for their workflow automation stack
Technical details
This workflow utilizes essential n8n nodes including schedule trigger for automated execution, HTTP request nodes for GitHub and Coolify API integration, conditional logic with if nodes, and notification capabilities. The setup requires your n8n API key, Coolify API token, and optionally a Mattermost instance for notifications.
Perfect for automation engineers and SaaS operators who value system reliability, this workflow eliminates the manual overhead of keeping n8n updated while ensuring your automation infrastructure remains secure and feature-rich. Simply configure your API credentials, update the Coolify domain and app UUID, and let the workflow handle the rest.
