Library / Code, Git & Developer Tools
Code, Git & Developer Tools
Audit n8n workflows for 3.0-breaking nodes and OpenAI model shutdowns
Scans all n8n workflows weekly through the API for nodes removed in 3.0 and retiring OpenAI models, then emails a read-only HTML report with severity and fix steps.
What it does
## Find what breaks before n8n 3.0 and the OpenAI model shutdowns Scans every workflow on your instance each week and emails an HTML report of nodes removed in n8n 3.0 and OpenAI models with a shutdown date. Each finding has a severity, the replacement node or model, and fix steps. Read only: it changes nothing. ### How it works 1. Runs weekly (Monday 07:00) or on demand. 2. Reads all workflows through the n8n API. Archived workflows are skipped unless you turn them on. 3. Scan checks 36 removed node types (including the legacy HTTP Request Tool), AI Agent v1, Execute Sub-workflow URL/file sources, $getPairedItem, model names set by expressions, and 39 OpenAI model ids. 4. Severity: critical when an active workflow uses a model shutting down within 30 days. Inactive workflows drop one level, archived ones go to low. 5. Compare with last run marks new and resolved issues. Set onlyNewIssues to get only new ones. 6. An HTML email is sent, grouped by workflow, worst first, with editor links. No email when clean unless sendWhenClean is on. 7. If the API read or the scan fails, an error email goes out instead. ### Setup 1. Create an n8n API key (Settings > n8n API) and select it on Get all workflows. 2. Add an SMTP credential to both email nodes. 3. Fill in Settings: addresses, instanceUrl, minSeverity and the switches. 4. Run once manually, then activate. Run history is saved on scheduled runs only. 5. Optional: enable the Google Sheets and Slack nodes and add credentials. ### Limits Fixed lists, not a guarantee: also run Settings > Migration Report. Model dates from OpenAI's deprecations page, read 2026-10-10.
The steps
- Every Monday 07:00
- Run now
- Settings
- Get all workflows
- Build error alert
- Email error alert
- Scan
- Compare with last run
- Build HTML report
- Anything to report?
- Email report
- Post Slack summary
- One row per finding
- Append to Google Sheet
Similar automations
Code, Git & Developer ToolsCheck n8n Workflows for Outdated Nodes by Email9 stepsCode, Git & Developer ToolsCheck and Update Workflow Nodes with Email Summary8 stepsMonitoring, Ops & IncidentsAudit client websites weekly with Apify, Google Sheets and SMTP email7 stepsWeb Scraping & ResearchAudit Google Maps local leads with Apify Local Lead Audit and Google Sheets8 steps