Deduplicate security alerts into unified cases with Claude and Slack
Quick overview This workflow ingests SIEM, EDR, and cloud security alerts via webhooks, normalizes and buffers them, then runs a scheduled deduplication pass that uses Anthropic Claude only for ambiguous clusters before bulk upserting unified cases into a ticketing system and notifying a Slack channel.
How it works Receives incoming alerts from three sources via separate HTTP webhooks (SIEM, EDR, and cloud security tools). Normalizes each alert into a shared schema and posts it to an external alert-buffer API for temporary storage. Runs on a schedule and fetches all alerts from the alert-buffer API for the most recent processing window. Fingerprints alerts by host, rule ID, and severity and pre-clusters obvious duplicates based on whether they occur within a tight time window. Sends only the ambiguous clusters to Anthropic Claude to decide whether they should be merged as duplicates or kept as separate cases. Builds unified security cases from the final clusters, then bulk creates or updates those cases in an external ticketing system. Posts a summary message to a Slack channel with the number of unified cases created or updated for that cycle.
Setup Configure each security tool to send alerts to the corresponding n8n webhook URL (POST to /alerts/siem, /alerts/edr, and /alerts/cloud). Add HTTP Header Auth credentials for the alert-buffer API and update the buffer endpoints if your service uses different URLs. Add an Anthropic credential for Claude and select the model you want to use for semantic clustering. Add HTTP Header Auth credentials for your ticketing system and update the bulk upsert endpoint URL to match your case API. Add Slack credentials, ensure the target channel exists (for example, #security-alerts), and update the channel setting if needed.
Related Templates
Verify Linkedin Company Page by Domain with Airtop
Automating LinkedIn Company URL Verification Use Case This automation verifies that a given LinkedIn URL actually belo...
Create a Speech-to-Text API with OpenAI GPT4o-mini Transcribe
Description This template provides a simple and powerful backend for adding speech-to-text capabilities to any applicat...
Build a Restaurant Voice Assistant with VAPI and PostgreSQL for Bookings & Orders
This n8n template demonstrates how to create a comprehensive voice-powered restaurant assistant that handles table reser...
🔒 Please log in to import templates to n8n and favorite templates
Workflow Visualization
Loading...
Preparing workflow renderer
Comments (0)
Login to post comments