Asset Vulnerability Matching and Daily Alert Engine - n8n Workflow

Automate matching CVE threats to internal IT assets using an n8n workflow. Get daily email summaries, manage asset databases, and archive results efficiently.

Workflow Preview

Ready to automate?

Download this n8n workflow template and start using it instantly.

Who is this best for?

Security Analysts/Teams: Who need to quickly identify vulnerable assets based on new CVE data.
IT Operations Managers: Responsible for asset inventory and patch management.
DevOps Engineers: Looking for robust, custom logic orchestration using n8n templates.
Compliance Officers: Needing an audit trail of threat assessment and asset exposure.

Overview

This powerful n8n workflow addresses the critical need for timely threat identification in organizational assets. Manually cross-referencing emerging security vulnerabilities (like newly published CVEs) with a large internal asset inventory is time-consuming and error-prone. This n8n automation template solves this by running a scheduled, daily correlation engine. It uses Google Sheets as a data source for both the list of active threats and the organization's asset database. The custom logic within an n8n node identifies potential matches, generates actionable summaries, and ensures data hygiene by archiving processed threats and deleting rows from the active queue. Utilizing this n8n workflow ensures your security posture is proactively managed, dramatically reducing response time to critical threats.

How it Works

The n8n workflow begins with the 🔁 Daily Trigger n8n node, ensuring the operation runs reliably every 24 hours.


  1. Data Ingestion: The flow simultaneously retrieves data from two key sources: the 📊Threats Sheets (active threat list) and the 📊Load Asset DB (the organization's asset inventory), both leveraging Google Sheets ops.

  2. Data Preparation: Both datasets are then routed into the Merge n8n node to consolidate the information needed for correlation.

  3. Core Matching: The merged data is passed to the 🧠Match Threats to Assets Function n8n node. This custom script contains the logic to cross-reference threat signatures (e.g., software version, vendor) against asset details (e.g., installed software, OS version) to determine exposure.

  4. Alerting: Following the analysis, the flow immediately executes the 📬Send Summary Email n8n node, delivering a summary of asset-threat matches to relevant personnel.

  5. Data Management & Cleanup: The flow branches to three Google Sheets n8n nodes for administrative actions:

📊 Apend New Threat writes the details of matched vulnerabilities/assets to a reporting sheet.
This output is then routed to 🗃️ Archived_Threats for permanent logging and audit trailing.
* The 📊 Delete Row n8n node cleans up the original active threat sheet, removing processed items to maintain a manageable, current list for the next iteration of the n8n trigger.

Installation Guide


  1. Import: Copy the provided n8n workflow JSON into your n8n instance using the "New" -> "Import from JSON" option.

  2. Credentials: You must configure credentials for the following services:

Google Sheets: Provide access for the four Google Sheets n8n nodes (📊Threats Sheets, 📊Load Asset DB, 📊 Apend New Threat, 📊 Delete Row, and 🗃️ Archived_Threats). Ensure the credentials have read and write access to the specific spreadsheets containing your asset list and threat inventory.
Email Send: Configure the 📬Send Summary Email n8n node with SMTP or a dedicated Email Service credential to ensure alert delivery.

  1. Configuration: Update all Google Sheets n8n node parameters (Spreadsheet ID, Sheet Name, Range) to point to your specific data sources. The n8n workflow requires these specific database connections.

  2. Custom Logic: Review and potentially modify the JavaScript within the 🧠Match Threats to Assets n8n node to accurately reflect your specific asset nomenclature and matching criteria.

  3. Activation: Set the n8n workflow to 'Active' and save the changes. The n8n trigger is scheduled to run daily.

Node Details

🔁 Daily Trigger (Cron n8n node): Serves as the primary n8n trigger, initiating the entire n8n workflow automatically on a daily schedule.
📊Threats Sheets & 📊Load Asset DB (Google Sheets n8n nodes): These two nodes are crucial for data input, fetching the list of active threats and the comprehensive asset inventory database, respectively. They rely on accurate Google Sheets credentials.
Merge (n8n node): Combines the data streams from the Threats Sheet and the Asset DB, preparing the structured input required by the custom function.
🧠Match Threats to Assets (Function n8n node): The core intelligence of this n8n template. This custom code node executes complex cross-referencing logic to identify asset exposure based on threat data.
📬Send Summary Email (Email Send n8n node): Responsible for sending immediate security alerts. This uses the matched data generated by the Function n8n node to construct a detailed summary email.
📊 Apend New Threat, 📊 Delete Row, 🗃️ Archived_Threats (Google Sheets n8n nodes): These nodes manage data lifecycle: appending new match records, deleting processed rows from the input list, and ensuring final data archival, keeping the n8n workflow clean and repeatable.

Related n8n Workflows

Paid

Nodes: 6 Nodes
Updated: December 26 2025
View all
Created by

Founder of CYBERPULSE AI — helping security teams and SMEs eliminate repetitive tasks through modular n8n automations. I build workflows for vulnerability triage, compliance reporting, threat intel, and Red/Blue/GRC ops. Book a session if you'd like custom automation for your use case. https://linkedin.com/in/adnan-tariq-4b2a1a47

Featured*