Audit n8n workflows weekly with OpenAI, GitHub, Google Sheets and Slack
Ready for 3.0What this workflow does
This AI workflow has 35 nodes and runs on a schedule (every week at 08:00) (plus 1 other trigger). Along the way it connects OpenAI Chat Model, HTTP Request, Google Sheets and GitHub and 2 more.
How it runs
Trigger: On a schedule (every week at 08:00) (plus 1 other trigger).
- Set Audit Settings (Edit Fields (Set)): sets 7 fields: n8nUrl, failedRunsToScan, failingRunsAlert…
- Alert Slack That Audit Failed (Slack): post (message)
- Get Recent Failed Runs (n8n): get many (execution)
- Read Open Findings (Google Sheets): read (sheet)
- Bundle Failed Run IDs (Aggregate): combines items into one
- Compare With Last Week (Compare Datasets): uses Compare Datasets
- Get All Workflows (n8n): get many (workflow)
- Mark as New (Edit Fields (Set)): sets 1 field: change
- Mark as Still Open (Edit Fields (Set)): sets 1 field: change
- Skip Empty Sheet Rows (Filter): keeps only the items that match a condition
…plus 17 more steps. See the full node list below.
Services it uses
Other Google Sheets + Gmail templates (2,102) · Other OpenAI + Google Sheets templates (2,011) · Other OpenAI + Gmail templates (1,623)
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.
Nodes used (20)
- Schedule Trigger
n8n-nodes-base.scheduleTrigger - Edit Fields (Set)
n8n-nodes-base.set - n8n
n8n-nodes-base.n8n - Aggregate
n8n-nodes-base.aggregate - Filter
n8n-nodes-base.filter - AI Agent
@n8n/n8n-nodes-langchain.agent - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - Http Request Tool
n8n-nodes-base.httpRequestTool - Think Tool
@n8n/n8n-nodes-langchain.toolThink - Structured Output Parser
@n8n/n8n-nodes-langchain.outputParserStructured - Split Out
n8n-nodes-base.splitOut - Compare Datasets
n8n-nodes-base.compareDatasets - Google Sheets
n8n-nodes-base.googleSheets - If
n8n-nodes-base.if - GitHub
n8n-nodes-base.github - Merge
n8n-nodes-base.merge - Basic LLM Chain
@n8n/n8n-nodes-langchain.chainLlm - Slack
n8n-nodes-base.slack - Gmail
n8n-nodes-base.gmail - Error Trigger
n8n-nodes-base.errorTrigger
From the author
Quick overview This workflow runs every Monday to audit your n8n instance for risky or unhealthy workflows, using OpenAI to review flagged items, tracking findings in Google Sheets, opening GitHub issues for serious items, and posting a weekly summary to…