# Analyze pentest reports and create remediation tickets: n8n workflow

> Started by another system calling it, and works across Slack. It hands the judgement calls to OpenAI.

Source: https://millionrounds.com/workflow/analyze-pentest-reports-and-create-remediation-tickets (Millionrounds; every figure on the page links to its filing or article)

[Automation library](https://millionrounds.com/workflows) · [Customer support](https://millionrounds.com/workflows?category=Customer+support#library)

# Analyze pentest reports and create remediation tickets

Started by another system calling it, and works across Slack. It hands the judgement calls to OpenAI. 17 steps, 2 branches, 2 loops or waits: a working afternoon to understand properly.

Medium Calls a model: OpenAI

[Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Fanalyze-pentest-reports-and-create-remediation-tickets)

**17 steps** Medium: a working afternoon

**2** Branches: places the flow splits

**2** Loops or waits

**1** Service it connects to

## The flow

Starts it 2 Model 2 Logic 11 Service 2

The steps in the order they run, from what starts it.

- 1 **Webhook - Pentest Report Submitted** Webhook *Starts it*
- 2 **OpenAI Chat Model** Lm Chat Open Ai *Model*
- 3 **Set - Config** Set *Logic*
- 4 **AI Agent - Vulnerability Extractor** Agent *Model*
- 5 **JS - Parse, Validate & Compute Severity Summary** Code *Logic*
- 6 **IF - Critical Vulnerabilities Present** If *Logic*
- 7 **Slack - Alert Security Team of Critical Findings** Slack *Service*
- 8 **JS - Build Remediation Ticket Payloads** Code *Logic*
- 9 **Wait - For Security Lead Triage** Wait *Logic*
- 10 **Switch - Route Ticket By Severity Tier** Switch *Logic*
- 11 **Set - Tag Critical Route** Set *Logic*
- 12 **Set - Tag High Route** Set *Logic*
- 13 **Set - Tag Medium Route** Set *Logic*
- 14 **Set - Tag Low Route** Set *Logic*
- 15 **HTTP Request - Create Remediation Ticket** Http Request *Service*
- 16 **Wait - For Ticket Sync Confirmation** Wait *Logic*
- 17 **Respond to Webhook - Success** Respond To Webhook *Starts it*

## How it's built

- **Starts on:** Another system calling it
- **Steps:** 17, with 2 branches, 2 loops or waits
- **Size:** Medium: a working afternoon
- **Connects to:** Slack
- **Model:** OpenAI

## Questions

What does it need to run?

An n8n account, plus your own Slack account, and a key for OpenAI. You connect your own accounts after importing it; none are included.

What starts it?

It starts on another system calling it.

Does it use AI?

Yes. It calls OpenAI. Model calls are billed by the provider, not by n8n.

How long does it take to set up?

Plan an afternoon. 17 steps is enough that you should read each one before running it.

How do I import it?

Copy the workflow, open a new workflow in n8n and paste. The steps appear on the canvas, ready for your own accounts.

**Before you run it**

Nothing here has been tested by us. It is somebody's working automation, read and described from its own steps. Treat the connections it wants as a list of accounts it will touch, and read the 17 steps before you point it at anything that matters.

## Run it in n8n

- **Create your n8n account** Free to start. n8n is where the workflow runs. [Create an n8n account ↗](https://millionrounds.com/n8n)
- **Download the workflow** Free with a Millionrounds account. [Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Fanalyze-pentest-reports-and-create-remediation-tickets)
- **Paste it into n8n** Open a new workflow in n8n and paste. Then connect your own accounts.

Stored with the author's traces removed: canvas notes, instance identifiers, saved credential names and any live document they had left behind.

## Connects to

Each opens the other workflows that use it.

[Slack](https://millionrounds.com/workflows?service=Slack#library)

## Workflows like it

Also customer support, with the same services where possible, closest in size first.

- [**Analyze support screenshots with UploadToURL and OpenAI** 17 steps · calls a model · Jira, Slack](https://millionrounds.com/workflow/analyze-support-screenshots-with-uploadtourl-and-openai)
- [**Triage and route support tickets with Gemini and Jira** 17 steps · calls a model · Gmail, Jira](https://millionrounds.com/workflow/triage-and-route-support-tickets-with-gemini-and-jira)
- [**Automate Instagram complaint handling with Claude and SLA** 17 steps · Google Sheets, Slack](https://millionrounds.com/workflow/automate-instagram-complaint-handling-with-claude-and-sla)
- [**Route grounded RAG support tickets with Claude and Pinecone** 17 steps · Google Sheets, Slack](https://millionrounds.com/workflow/route-grounded-rag-support-tickets-with-claude-and-pinecone)
- [**Triage and escalate tenant complaints from Gmail or forms** 17 steps · Airtable, Gmail](https://millionrounds.com/workflow/triage-and-escalate-tenant-complaints-from-gmail-or-forms)
- [**AI sentiment-driven priority classification** 18 steps · calls a model · Google Sheets, Slack](https://millionrounds.com/workflow/ai-sentiment-driven-priority-classification)
