{"product_id":"n8n-workflow-triage-docker-image-upgrades-with-llm-risk","title":"n8n Workflow: Triage Docker Image Upgrades with LLM Risk","description":"\u003ch3\u003eUpgrade triage for Docker images—powered by an LLM risk verdict\u003c\/h3\u003e\n\u003cp\u003eThis n8n workflow runs daily to detect pending Docker image tag upgrades in your \u003cstrong\u003eWhat's Up Docker (WUD)\u003c\/strong\u003e, pulls the relevant \u003cstrong\u003eGitHub release notes and migration diffs\u003c\/strong\u003e, then uses an \u003cstrong\u003eLLM (Ollama or OpenAI-compatible)\u003c\/strong\u003e to triage whether database\/SQL changes look \u003cem\u003eSAFE\u003c\/em\u003e, \u003cem\u003eCAUTION\u003c\/em\u003e, \u003cem\u003eDANGER\u003c\/em\u003e, or \u003cem\u003eUNKNOWN\u003c\/em\u003e. Finally, it sends a clear verdict to \u003cstrong\u003entfy\u003c\/strong\u003e, \u003cstrong\u003eSlack\u003c\/strong\u003e, \u003cstrong\u003eDiscord\u003c\/strong\u003e, or your \u003cstrong\u003ewebhook\u003c\/strong\u003e.\u003c\/p\u003e\n\n\u003ch3\u003eWhat this workflow does\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003eRuns on a schedule:\u003c\/strong\u003e executes daily at \u003cstrong\u003e06:30\u003c\/strong\u003e.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eDetects pending upgrades:\u003c\/strong\u003e requests the container list from your WUD instance and filters to images with \u003cstrong\u003etag-based updates\u003c\/strong\u003e available.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eMaps to GitHub releases:\u003c\/strong\u003e resolves the associated GitHub repository from the WUD link template and determines the \u003cstrong\u003ecurrent\u003c\/strong\u003e vs \u003cstrong\u003etarget\u003c\/strong\u003e release tags.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eCollects migration evidence:\u003c\/strong\u003e fetches GitHub \u003cstrong\u003erelease notes\u003c\/strong\u003e for the target tag and compares tags to gather changed \u003cstrong\u003emigration files\u003c\/strong\u003e and \u003cstrong\u003eSQL patches\u003c\/strong\u003e.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eLLM risk triage:\u003c\/strong\u003e classifies upgrades using simple SQL patterns, then prompts the LLM to summarize why and provide \u003cstrong\u003epre-check SQL\u003c\/strong\u003e.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eNotifies where you want:\u003c\/strong\u003e posts the verdict, LLM summary, and a GitHub compare link to \u003cstrong\u003entfy\u003c\/strong\u003e, \u003cstrong\u003eSlack\u003c\/strong\u003e, \u003cstrong\u003eDiscord\u003c\/strong\u003e, or a \u003cstrong\u003ecustom webhook\u003c\/strong\u003e.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eUse cases\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003eSaaS operators who want an early warning before applying container image updates that may include risky migrations.\u003c\/li\u003e\n  \u003cli\u003eAutomation engineers managing fleets of Docker services and needing standardized upgrade risk reporting.\u003c\/li\u003e\n  \u003cli\u003eTeams that want LLM-assisted SQL pre-check guidance before production upgrade windows.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eTechnical details\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003eScheduler:\u003c\/strong\u003e daily run at 06:30.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eIntegrations:\u003c\/strong\u003e What's Up Docker (WUD), \u003cstrong\u003eGitHub\u003c\/strong\u003e, \u003cstrong\u003entfy\u003c\/strong\u003e, \u003cstrong\u003eSlack\u003c\/strong\u003e, \u003cstrong\u003eDiscord\u003c\/strong\u003e, and \u003cstrong\u003ewebhook\u003c\/strong\u003e.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eLLM options:\u003c\/strong\u003e OpenAI-compatible Chat Completions endpoint or \u003cstrong\u003eOllama\u003c\/strong\u003e endpoint.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003en8n nodes\/logic noted:\u003c\/strong\u003e \u003cem\u003eif\u003c\/em\u003e, \u003cem\u003eset\u003c\/em\u003e, \u003cem\u003ecode\u003c\/em\u003e, \u003cem\u003esticky note\u003c\/em\u003e, \u003cem\u003ehttp request\u003c\/em\u003e, and \u003cem\u003esplit in batches\u003c\/em\u003e.\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003cp\u003eSet up your WUD base URL, configure your LLM provider\/model and endpoint, and optionally add a GitHub token in the Template Config to help avoid low unauthenticated rate limits.\u003c\/p\u003e","brand":"N8N Commerce","offers":[{"title":"Default Title","offer_id":46008733073587,"sku":"N8N-19504","price":4.99,"currency_code":"GBP","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0749\/6279\/6723\/files\/iu19jpTHbxrLmhPpfJFtn_4EHqZUX2.png?v=1789204024","url":"https:\/\/buyflowscripts.com\/products\/n8n-workflow-triage-docker-image-upgrades-with-llm-risk","provider":"N8N Commerce","version":"1.0","type":"link"}