Templates / Auto remediate endpoint infections with Wazuh, ClamAV, and GPT-4

Auto remediate endpoint infections with Wazuh, ClamAV, and GPT-4

Ready for 3.0

by mariskarthick ✓ · 1,121 views · created 2025-08-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 9 nodes and runs when an HTTP POST request hits its webhook URL. Along the way it connects OpenAI Chat Model and Telegram.

How it runs

Trigger: When an HTTP POST request hits its webhook URL.

  1. Check High Severity (If): checks a condition and branches into true / false
  2. Summarize Alert (Summarization Chain): summarizes text with AI, with model: OpenAI Chat Model
  3. Extract Path (AI Agent): runs an AI agent, with model: OpenAI Chat Model
  4. Run AV Scan (SSH): uses SSH
  5. Notify Stateholders via Telegram (Telegram): uses Telegram

Services it uses

OpenAI Chat ModelTelegram

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

From the author

Reduce human delays between malware detection and remediation in MSSP/SOC environments. This workflow automates full endpoint antivirus scanning immediately after high-severity endpoint infection wazuh alerts, closing the gap between alerting and action. Why…

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