Detect security drift in workflows and email new findings via SMTP
Ready for 3.0Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-10-19.
What this workflow does
This workflow has 9 nodes and runs on a schedule (cron 0 30 7 * * 1) (plus 1 other trigger). It uses only n8n's built-in nodes.
How it runs
Trigger: On a schedule (cron 0 30 7 * * 1) (plus 1 other trigger).
- Set Configuration Values (Edit Fields (Set)): sets 4 fields: notifyTo, notifyFrom, testNamePattern…
- Fetch All Workflows (n8n): get many (workflow)
- Execute Baseline Security Checks (Code): runs custom JavaScript code
- Identify New Findings (Code): runs custom JavaScript code
- Check for New Findings (If): checks a condition and branches into true / false
- Dispatch Alert Email (Send Email): sends an email over SMTP
- Store Baseline Data (Code): runs custom JavaScript code
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 (7)
- Schedule Trigger
n8n-nodes-base.scheduleTrigger - Edit Fields (Set)
n8n-nodes-base.set - Manual Trigger
n8n-nodes-base.manualTrigger - n8n
n8n-nodes-base.n8n - Code
n8n-nodes-base.code - If
n8n-nodes-base.if - Send Email
n8n-nodes-base.emailSend
From the author
Quick overview Weekly read-only security audit of all workflows on your n8n instance. It checks for hardcoded secrets, unauthenticated webhooks, broken error handling and setting drift, and emails you only the findings that are new since the last run. How it…