Analyze pentest reports and create remediation tickets with OpenAI and Slack
Needs changesWhat this workflow does
This AI workflow has 17 nodes and runs when an HTTP POST request hits its webhook URL. Along the way it connects OpenAI Chat Model and Slack.
How it runs
Trigger: When an HTTP POST request hits its webhook URL.
- Set - Config (Edit Fields (Set)): sets 9 fields: scanId, targetSystem, reportFormat…
- AI Agent: runs an AI agent, with model: OpenAI Chat Model
- JS - Parse, Validate & Compute Severity Summary (Code): runs custom JavaScript code
- If: checks a condition and branches into true / false
- Slack: uses Slack
- JS - Build Remediation Ticket Payloads (Code): runs custom JavaScript code
- Wait: pauses before continuing
- Switch: routes items into 4 branches
- Set - Tag Critical Route (Edit Fields (Set)): sets 2 fields: assigneeTeam, notifyImmediately
- Set - Tag High Route (Edit Fields (Set)): sets 2 fields: assigneeTeam, notifyImmediately
…plus 5 more steps. See the full node list below.
Services it uses
Other OpenAI + Slack templates (979)
Before you upgrade to n8n 3.0
1 thing in this workflow is removed in n8n 3.0. Fix it before you upgrade:
- AI Agent v1 (old agent modes) in AI Agent - Vulnerability Extractor (v1.6): replace with Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent.
Rather not rewrite it? Many of these flows can be rebuilt in Make (free plan).
Published 2026 — 6% of 2026 templates need changes for 3.0. See how template age affects 3.0 readiness →
| Removed in 3.0 | Replace with |
|---|---|
| AI Agent v1 (old agent modes) AI Agent - Vulnerability Extractor (v1.6) | Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent. |
Nodes used (11)
- Webhook
n8n-nodes-base.webhook - Edit Fields (Set)
n8n-nodes-base.set - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - AI Agent
@n8n/n8n-nodes-langchain.agent - Code
n8n-nodes-base.code - If
n8n-nodes-base.if - Slack
n8n-nodes-base.slack - Wait
n8n-nodes-base.wait - Switch
n8n-nodes-base.switch - HTTP Request
n8n-nodes-base.httpRequest - Respond to Webhook
n8n-nodes-base.respondToWebhook
From the author
Quick overview This workflow receives a penetration test report via webhook, uses OpenAI to extract and normalize vulnerability findings, alerts Slack when critical issues are present, and creates severity-routed remediation tickets in an external ticketing…