πŸ”’ Track software security patents with ScrapeGraphAI, Notion, and Pushover alerts

⚑ 91 views Β· πŸ”’ SecOps & Security Automation

πŸ’‘ Pro Tip β€” HTTP Request scraping tends to break when sites update their markup. If you’re scraping a major platform, check if ScraperNode covers it β€” it has maintained scrapers for LinkedIn, Instagram, TikTok, YouTube, and 20+ other platforms that return structured data.

View All Scrapers

Description

Software Vulnerability Tracker with Pushover and Notion

Workflow Preview Image

⚠️ COMMUNITY TEMPLATE DISCLAIMER: This is a community-contributed template that uses ScrapeGraphAI (a community node). Please ensure you have the ScrapeGraphAI community node installed in your n8n instance before using this template.

This workflow automatically scans multiple patent databases on a weekly schedule, filters new filings relevant to selected technology domains, saves the findings to Notion, and pushes instant alerts to your mobile device via Pushover. It is ideal for R&D teams and patent attorneys who need up-to-date insights on emerging technology trends and competitor activity.

Pre-conditions/Requirements

Prerequisites

Required Credentials

Additional Setup Requirements

ServiceNeeded ItemWhere to obtain
USPTO, EPO, WIPO, etc.Public URLs for search endpointsFree/public
NotionDatabase with properties: Title, Abstract, URL, DateCreate in Notion
Keyword ListText file or environment variable PATENT_KEYWORDSDefine yourself

How it works

This workflow automatically scans multiple patent databases on a weekly schedule, filters new filings relevant to selected technology domains, saves the findings to Notion, and pushes instant alerts to your mobile device via Pushover. It is ideal for R&D teams and patent attorneys who need up-to-date insights on emerging technology trends and competitor activity.

Key Steps:

Set up steps

Setup Time: 10-15 minutes

  1. Install ScrapeGraphAI:
    In n8n, go to β€œSettings β†’ Community Nodes” and install @n8n-nodes/scrapegraphai.
  2. Add Credentials:
    • ScrapeGraphAI: paste your API key.
    • Notion: add the internal integration token and select your database.
    • Pushover: provide your App Token and User Key.
  3. Configure Keywords:
    Open the first Code node and edit the keywords array (e.g., ["quantum computing", "Li-ion battery", "5G antenna"]).
  4. Point to Data Sources:
    In the same Code node, adjust the sources array if you want to add/remove patent portals.
  5. Set Notion Database Mapping:
    In the Notion node, map properties (Name, Abstract, Link, Date) to incoming JSON fields.
  6. Adjust Schedule (optional):
    Double-click the Schedule Trigger and change the CRON expression to your preferred interval.
  7. Test Run:
    Execute the workflow manually. Confirm that the Notion page is populated and a Pushover notification arrives.
  8. Activate:
    Switch the workflow to β€œActive” to enable automatic weekly execution.

Node Descriptions

Core Workflow Nodes:

Data Flow:

  1. Schedule Trigger β†’ Code (Build Search URLs) β†’ SplitInBatches β†’ ScrapeGraphAI β†’ Code (Normalize Data) β†’ IF β†’ Notion & Pushover

Customization Examples

Change Notification Message

// Inside the Pushover node "Message" field
return {
  message: `πŸ“œ ${items[0].json.count} new patent(s) detected in ${new Date().toDateString()}`,
  title: 'πŸ†• Patent Alert',
  url: items[0].json.firstPatentUrl,
  url_title: 'Open first patent'
};

Add Slack Notification Instead of Pushover

// Replace the Pushover node with a Slack node
{
  text: `*${$json.count}* new patents published:\n${$json.list.join('\n')}`,
  channel: '#patent-updates'
}

Data Output Format

The workflow outputs structured JSON data:

{
  "title": "Quantum Computing Device",
  "abstract": "A novel qubit architecture that ...",
  "url": "https://patents.example.com/US20240012345A1",
  "publicationDate": "2024-06-01",
  "source": "USPTO",
  "keywordsMatched": ["quantum computing"]
}

Troubleshooting

Common Issues

  1. No data returned – Verify that search URLs are still valid and the ScrapeGraphAI selector matches the current page structure.
  2. Duplicate entries in Notion – Ensure the β€œNormalize Data” code correctly checks for existing URLs or IDs before insert.

Performance Tips

Pro Tips:

πŸ”— Nodes Used

HTTP Request, Pushover, Notion, Schedule Trigger

πŸ“₯ Import

Download workflow.json and import into n8n: Workflow menu β†’ Import from File

πŸ“– Importing guide Β· πŸ”‘ Credential setup