Templates / Summarize daily security logs with OpenAI and send briefings via WhatsApp and email

Summarize daily security logs with OpenAI and send briefings via WhatsApp and email

Ready for 3.0

by Oneclick AI Squad ✓ · 33 views · created 2026-08-19 · SecOps, AI Summarization

Ready 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 AI workflow has 20 nodes and runs on a schedule (cron 0 7 * * *) (plus 2 other triggers). Along the way it connects OpenAI Chat Model and WhatsApp Business Cloud.

How it runs

Trigger: On a schedule (cron 0 7 * * *) (plus 2 other triggers).

  1. Set - Config (Edit Fields (Set)): sets 14 fields: logAggregatorApiUrl, timeRangeHours, notableEventLimit…
  2. Set - Weekly Digest Config (Edit Fields (Set)): sets 2 fields: weeklyDigestEmailTo, emailFrom
  3. HTTP Request: calls an HTTP API
  4. JS - Build Weekly Trend Report (Code): runs custom JavaScript code
  5. JS - Normalize, Categorize & Score Log Events (Code): runs custom JavaScript code
  6. Email - Send Weekly Trend Digest (Send Email): sends an email over SMTP
  7. JS - Detect Coverage Gaps & Spike Score (Code): runs custom JavaScript code
  8. AI - Summarize Security Events (Basic LLM Chain): sends a prompt to an LLM, with model: OpenAI Chat Model
  9. JS - Parse AI Summary & Build Briefing Payloads (Code): runs custom JavaScript code
  10. If: checks a condition and branches into true / false

…plus 6 more steps. See the full node list below.

Services it uses

OpenAI Chat ModelWhatsApp Business Cloud

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 (11)

From the author

Quick Overview This workflow pulls the last 24 hours of aggregated security logs from a SIEM API, normalizes and deduplicates events, uses OpenAI to generate a daily risk briefing with optional escalation gating, and sends a short summary via WhatsApp and a…

Excerpt from Oneclick AI Squad'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.