Templates / Automated weekly security audit reports with Gmail delivery

Automated weekly security audit reports with Gmail delivery

Needs changes

by Matthieu · 550 views · created 2025-10-24 · SecOps

Needs changes. This template uses 1 thing(s) that n8n 3.0 removes: Cron. 1 breaking item(s) found. Static check, last run 2026-12-01.

📬 Weekly n8n 3.0 breakage alerts, free

What this workflow does

This workflow has 9 nodes and runs on a schedule (legacy Cron node). Along the way it connects Gmail.

How it runs

Trigger: On a schedule (legacy Cron node).

  1. Set Config Variables (Edit Fields (Set)): sets 4 fields: email_to, project_name, server_url…
  2. Generate a security audit (n8n): generate (audit)
  3. Filter duplicate WorkflowID (Code): runs custom JavaScript code
  4. Get last executions (n8n): work with execution
  5. If: checks a condition and branches into true / false
  6. Format Audit Report - FR (Code): runs custom JavaScript code
  7. Format Audit Report - EN (Code): runs custom JavaScript code
  8. Send Gmail (HTML) (Gmail): work with message

Services it uses

Gmail

Before you upgrade to n8n 3.0

1 thing in this workflow is removed in n8n 3.0. Fix it before you upgrade:

  • Cron in Schedule Trigger (Weekly): replace with Schedule Trigger.

Rather not rewrite it? Many of these flows can be rebuilt in Make (free plan).

Published 2025 — 19% of 2025 templates need changes for 3.0. See how template age affects 3.0 readiness →

Check at runtime on n8n 3.0
  • Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
Informational: a static scan can't see the data, so test these on your own instance. Status above is unchanged.
Removed in 3.0Replace with
Cron
Schedule Trigger (Weekly)
Schedule Trigger

Nodes used (6)

From the author

🔒 N8N Security Audit Report - Automated Weekly Email 🎯 What does this workflow do? This workflow automatically generates and emails a comprehensive security audit report for your N8N instance every week. It identifies potential security risks related to: -…

Excerpt from Matthieu's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.