Run weekly security audits via the n8n API, Data Tables, and Telegram
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-12-01.
What this workflow does
This workflow has 15 nodes and runs on a schedule (every week at 08:00). Along the way it connects Telegram.
How it runs
Trigger: On a schedule (every week at 08:00).
- Generate a security audit (n8n): generate (audit)
- Get all workflows (n8n): uses n8n
- Check 1: hardcoded secrets (Code): runs custom JavaScript code
- Check 2: unauthenticated webhooks (Code): runs custom JavaScript code
- Check 3: insecure HTTP URLs (Code): runs custom JavaScript code
- Check 4: missing error workflows (Code): runs custom JavaScript code
- Check 5: pinned data (Code): runs custom JavaScript code
- Score the audit (Code): runs custom JavaScript code
- Get previous snapshot (Data table): get
- Diff vs last snapshot (Code): runs custom JavaScript code
…plus 4 more steps. See the full node list below.
Services it uses
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.
Check at runtime on n8n 3.0
- 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 - n8n
n8n-nodes-base.n8n - Code
n8n-nodes-base.code - Data table
n8n-nodes-base.dataTable - Edit Fields (Set)
n8n-nodes-base.set - Telegram
n8n-nodes-base.telegram
From the author
Quick overview The native n8n security audit misses tokens pasted into node parameters, active workflows without an error handler, plain http:// calls and leftover pinned data. This workflow runs the native audit plus five custom checks weekly, scores the…