Automate Security Incident Triage with GPT-4o-mini & Gmail

Automatically triages security findings from AWS Security Hub via webhook, classifies severity with GPT-4o-mini, generates remediation plans, and sends HTML email notifications.

n8n
Automate Security Incident Triage with GPT-4o-mini & Gmail

This n8n workflow automates the triage of inbound security incidents, such as those from AWS Security Hub via EventBridge and SNS to a webhook. It normalizes incoming JSON data (title, description, account, resource details), uses GPT-4o-mini to classify incidents by type, severity (P0-P3), urgency, and rationale, then generates a concise 3-step remediation plan with owner hints and success criteria.

The workflow streamlines incident response for security teams by reducing manual analysis time from hours to seconds. It produces a professional HTML email with a dynamic subject line and structured body including type, urgency, why it matters, next actions, owner, and criteria—perfect for alerting on-call engineers or managers.

Ideal use cases include cloud security monitoring in AWS environments, SIEM integrations, or any JSON-based alert source. Swap Gmail for Slack/Teams, or OpenAI for other LLMs. Setup takes 10-15 minutes with n8n CE, OpenAI creds, and Gmail OAuth—mostly free, low-cost on API usage. Enhances MTTR (mean time to respond) in SecOps pipelines.

$14.99
Last updated October 17, 2026
30-day money-back guarantee
Instant download
Lifetime updates included

New buyers can create an account from the cart to unlock a controlled $10 first-purchase credit on eligible orders of $25+.

Secure checkout powered by Stripe

Support

How to import this workflow into n8n

  1. 1Purchase or download the workflow to get the n8n workflow JSON file.
  2. 2In your n8n instance, open Workflows and choose "Import from File" (or paste the JSON with Ctrl+V on the canvas).
  3. 3Open each node marked with a credential warning and connect your own accounts and API keys.
  4. 4Run the workflow once manually to verify the data flow, then toggle it to Active.

Related Crypto & Blockchain workflows

More from Timo Salim

Need this deployed? We'll set it up for you.

Our automation experts deploy this workflow in your stack, connect your accounts, and verify it works — or build a custom solution from scratch.