All projects · Automation & Data Pipelines
Internal Security Audit Operator
A scheduled n8n workflow that runs n8n's own built-in security audit every morning, has GPT-4o turn the raw findings into a plain-English risk…
A scheduled n8n workflow that runs n8n's own built-in security audit every morning, has GPT-4o turn the raw findings into a plain-English risk report, and delivers it to a Telegram chat. It filters out non-issues and ends with an overall LOW/MODERATE/HIGH priority verdict.
- Daily cron trigger at 09:00 that self-audits the n8n instance across Database, Credentials, Filesystem, Instance, and Nodes categories
- Prompt-engineered AI analyst with a strict system message that ignores any finding with count=0 and writes for a non-technical reader
- Defensive JS post-processor that extracts the report text across multiple possible AI response shapes (content[0].text, message.content, choices[].message.content, text, output) and fails loud rather than silent
- Automated Telegram delivery of the finished report in Markdown
Built with: n8n Schedule Trigger, n8n audit node (self-audit, resource=audit/operation=generate), OpenAI GPT-4o via @n8n/n8n-nodes-langchain.openAi, Telegram (sendMessage, Markdown), Code (JavaScript) nodes