Templates / Collect and escalate security patrol reports with gpt-6-luna, Google Sheets, and Gmail

Collect and escalate security patrol reports with gpt-6-luna, Google Sheets, and Gmail

Ready for 3.0

by Khairul Muhtadin ✓ · 2 views · created 2026-10-05 · 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 22 nodes and runs when someone submits an n8n form (“Security patrol report”) (plus 2 other triggers). Along the way it connects Gmail, OpenAI Chat Model and Google Sheets.

How it runs

Trigger: When someone submits an n8n form (“Security patrol report”) (plus 2 other triggers).

  1. Normalize Report (Edit Fields (Set)): sets 11 fields: officer_name, officer_email, site…
  2. Read Yesterday Logs (Google Sheets): uses Google Sheets
  3. Read Month Logs (Google Sheets): uses Google Sheets
  4. Validate Report (If): checks a condition and branches into true / false
  5. Build DAR Digest (Code): runs custom JavaScript code
  6. Collate Month Stats (Code): runs custom JavaScript code
  7. Classify Report (AI Agent): runs an AI agent, with model: Classify Model
  8. Email Officer Rejection (Gmail): uses Gmail
  9. Email Daily DAR (Gmail): uses Gmail
  10. Draft Monthly Review (AI Agent): runs an AI agent, with model: Monthly Review Model

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

Services it uses

GmailOpenAI Chat ModelGoogle Sheets

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

From the author

Patrol reports that reach the right person before the shift ends. This workflow takes guard reports from an n8n Form, has gpt-6-luna grade the severity and write a summary a supervisor can read in ten seconds, logs every report to Google Sheets, and emails…

Excerpt from Khairul Muhtadin'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.