{
  "name": "Track software vulnerability patents with ScrapeGraphAI, Matrix, and Intercom",
  "nodes": [
    {
      "id": "48f6bb57-f8c8-4d43-b518-b1d67bc28499",
      "name": "Workflow Overview",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1120,
        -192
      ],
      "parameters": {
        "width": 550,
        "height": 690,
        "content": "## How it works\n\nEvery Monday the Schedule Trigger fires and builds a dynamic search URL that targets the latest software-security patent publications on USPTO / Google Patents websites. ScrapeGraphAI"
      }
    },
    {
      "id": "0c27bd04-5881-4980-b3a9-2c4d6f5e1ece",
      "name": "Section – Collection",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -496,
        -32
      ],
      "parameters": {
        "width": 364,
        "height": 432,
        "content": "## Data Collection\n\nSchedule Trigger fires weekly (Mondays). Code node constructs Google Patents search URL with query \"software vulnerability\" filtered to last 7 days. ScrapeGraphAI extracts structur"
      }
    },
    {
      "id": "61761a4c-aa64-4ff1-9dcd-e74d65329722",
      "name": "Section – Filter",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -96,
        -32
      ],
      "parameters": {
        "width": 396,
        "height": 432,
        "content": "## Relevance Filter\n\nCode node searches patent title and abstract text for keywords: 'vulnerability', 'exploit', 'buffer overflow', 'cve', 'cybersecurity'. Each patent receives a boolean 'relevant' fl"
      }
    },
    {
      "id": "2a1561b2-9717-410b-bff2-08bb78038c0b",
      "name": "Section – Output",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        336,
        -64
      ],
      "parameters": {
        "width": 540,
        "height": 544,
        "content": "## Alert & Archive\n\nRelevant patents (IF true path): Matrix node sends formatted alert message to configured room with patent title, publication number, filing date, assignee, and link. Non-relevant p"
      }
    },
    {
      "id": "98bed3dc-ecd6-430a-a497-6343d6baa497",
      "name": "Weekly Patent Check",
      "type": "n8n-nodes-base.scheduleTrigger",
      "position": [
        -480,
        224
      ]
    },
    {
      "id": "366a8f0d-8440-4e47-af7e-e381a159aed3",
      "name": "Construct Patent Query",
      "type": "n8n-nodes-base.code",
      "position": [
        -288,
        224
      ]
    },
    {
      "id": "5aa5dd0f-d617-4c13-b1b8-981f49d7f131",
      "name": "Scrape Patent Data",
      "type": "n8n-nodes-scrapegraphai.scrapegraphAi",
      "position": [
        -80,
        224
      ]
    },
    {
      "id": "5b736a1a-b9b9-4d14-85f3-4d6f82c0e1be",
      "name": "Analyze Relevance",
      "type": "n8n-nodes-base.code",
      "position": [
        128,
        224
      ]
    },
    {
      "id": "27ca12a3-3db8-4f4f-ba01-14bf9fbfc93b",
      "name": "Relevant?",
      "type": "n8n-nodes-base.if",
      "position": [
        352,
        224
      ]
    },
    {
      "id": "b5d2cfb9-0cdb-4422-851f-f74bfc3796e4",
      "name": "Matrix Alert",
      "type": "n8n-nodes-base.matrix",
      "position": [
        528,
        128
      ]
    },
    {
      "id": "feba41f3-5e21-4f98-a276-0624bf680ce7",
      "name": "Map Fields for Storage",
      "type": "n8n-nodes-base.set",
      "position": [
        528,
        320
      ]
    },
    {
      "id": "f956bfda-d4ec-4dd7-ab54-6cc636059e54",
      "name": "Save to Intercom",
      "type": "n8n-nodes-base.intercom",
      "position": [
        720,
        320
      ]
    }
  ],
  "connections": {
    "Relevant?": {
      "main": [
        [
          {
            "node": "Matrix Alert",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Map Fields for Storage",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Analyze Relevance": {
      "main": [
        [
          {
            "node": "Relevant?",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Scrape Patent Data": {
      "main": [
        [
          {
            "node": "Analyze Relevance",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Weekly Patent Check": {
      "main": [
        [
          {
            "node": "Construct Patent Query",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Construct Patent Query": {
      "main": [
        [
          {
            "node": "Scrape Patent Data",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Map Fields for Storage": {
      "main": [
        [
          {
            "node": "Save to Intercom",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}