# Automate CVE detection with Google Drive: n8n workflow template

> Started by a clock, and works across Google Drive. It hands the judgement calls to OpenAI.

Source: https://millionrounds.com/workflow/automate-cve-detection-with-google-drive (Millionrounds; every figure on the page links to its filing or article)

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

# Automate CVE detection with Google Drive

Started by a clock, and works across Google Drive. It hands the judgement calls to OpenAI. 16 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%2Fautomate-cve-detection-with-google-drive)

**16 steps** Medium: a working afternoon

**2** Branches: places the flow splits

**2** Loops or waits

**1** Service it connects to

## The flow

Starts it 1 Model 2 Logic 8 Service 5

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

- 1 **Schedule Trigger** Schedule trigger *Starts it*
- 2 **URL PoC Info** Http Request Tool *Service*
- 3 **OpenAI Chat Model** Lm Chat Open Ai *Model*
- 4 **Get CVEs PoC** Ssh *Service*
- 5 **Summarize PoC** Agent *Model*
- 6 **Split CVEs** Code *Logic*
- 7 **AI Generate Nuclei Template** Http Request *Service*
- 8 **Loop Over CVEs** Split In Batches *Logic*
- 9 **Validate Response** If *Logic*
- 10 **Loop Over URLs** Split In Batches *Logic*
- 11 **Split CVEs Content** Code *Logic*
- 12 **Upload Nuclei Template** Google Drive *Service*
- 13 **Validate URL** Http Request *Service*
- 14 **Split PoC** Split Out *Logic*
- 15 **URL Filter** If *Logic*
- 16 **URL Regex** Code *Logic*

## How it's built

- **Starts on:** A clock
- **Steps:** 16, with 2 branches, 2 loops or waits
- **Size:** Medium: a working afternoon
- **Connects to:** Google Drive
- **Model:** OpenAI

## Questions

What does it need to run?

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

What starts it?

It starts on a clock.

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. 16 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 16 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%2Fautomate-cve-detection-with-google-drive)
- **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.

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

## Workflows like it

Also ai assistants, with the same services where possible, closest in size first.

- [**Build a Placetel RAG voice assistant with Google Drive** 16 steps · calls a model · Google Drive, Supabase vectors](https://millionrounds.com/workflow/build-a-placetel-rag-voice-assistant-with-google-drive)
- [**Build a RAG knowledge assistant with Google Drive and OpenAI** 16 steps · calls a model · Google Drive, Pinecone](https://millionrounds.com/workflow/build-a-rag-knowledge-assistant-with-google-drive-and-openai)
- [**Bulletproof RAG starter – Google Drive to chatbot with OpenAI** 16 steps · calls a model · Google Drive, Qdrant](https://millionrounds.com/workflow/bulletproof-rag-starter-google-drive-to-chatbot-with-openai)
- [**Handle guest inquiries for multiple rentals** 16 steps · calls a model · Google Drive](https://millionrounds.com/workflow/handle-guest-inquiries-for-multiple-rentals)
- [**WhatsApp group chat with OpenAI and Google Drive** 16 steps · calls a model · Google Drive, Pinecone](https://millionrounds.com/workflow/whatsapp-group-chat-with-openai-and-google-drive)
- [**Answer voice queries from a webhook over Google Drive docs** 15 steps · calls a model · Google Drive, Supabase vectors](https://millionrounds.com/workflow/answer-voice-queries-from-a-webhook-over-google-drive-docs)
