Triage risky Docker image migrations with What’s Up Docker, OpenAI and Ollama
Ready for 3.0What this workflow does
This workflow has 14 nodes and runs on a schedule (every day at 06:00). It uses only n8n's built-in nodes.
How it runs
Trigger: On a schedule (every day at 06:00).
- Set WUD and LLM Configs (Edit Fields (Set)): sets 10 fields: wudUrl, llmProvider, llmEndpoint…
- Fetch Docker Containers (HTTP Request): calls an HTTP API (GET)
- Detect Upgrade Requirements (Code): runs custom JavaScript code
- Iterate Through Upgrades (Loop Over Items (Split in Batches)): loops over the items in batches
- Retrieve Release Notes (HTTP Request): calls an HTTP API (GET)
- Get Migration Differences (HTTP Request): calls an HTTP API (GET)
- Create Triage Prompt (Code): runs custom JavaScript code
- Check API Compatibility (If): checks a condition and branches into true / false
- Invoke OpenAI API (HTTP Request): calls an HTTP API (POST)
- Invoke Ollama API (HTTP Request): calls an HTTP API (POST)
…plus 3 more steps. See the full node list below.
Before you upgrade to n8n 3.0
Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.
- Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
Nodes used (6)
- Schedule Trigger
n8n-nodes-base.scheduleTrigger - Edit Fields (Set)
n8n-nodes-base.set - HTTP Request
n8n-nodes-base.httpRequest - Code
n8n-nodes-base.code - If
n8n-nodes-base.if - Loop Over Items (Split in Batches)
n8n-nodes-base.splitInBatches
From the author
Quick overview This workflow runs daily, checks What's Up Docker for containers with pending image tag upgrades, pulls the related GitHub release notes and migration diffs, uses an LLM (Ollama or OpenAI-compatible) to triage data-risky migrations, and sends a…