{
  "name": "Healthcare policy monitoring with ScrapeGraphAI, Pipedrive and email alerts",
  "nodes": [
    {
      "id": "24379ab1-0826-44f4-b87e-fe68606d7303",
      "name": "Run Workflow",
      "type": "n8n-nodes-base.manualTrigger",
      "position": [
        -3312,
        96
      ]
    },
    {
      "id": "3a835a7e-3e2e-4550-af04-9ac916fde8ee",
      "name": "Define Target URLs",
      "type": "n8n-nodes-base.code",
      "position": [
        -3104,
        96
      ]
    },
    {
      "id": "e4a80646-1d8c-46db-b136-434d4e576be6",
      "name": "Loop URLs",
      "type": "n8n-nodes-base.splitInBatches",
      "position": [
        -2912,
        96
      ]
    },
    {
      "id": "a8b45b6b-c0c0-433d-924d-8535748d283c",
      "name": "Scrape Policy Page",
      "type": "n8n-nodes-scrapegraphai.scrapegraphAi",
      "position": [
        -2704,
        96
      ]
    },
    {
      "id": "84aba8ee-430e-47d8-8ce7-ab0ac61c6363",
      "name": "Enrich with Metadata",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        -2512,
        96
      ]
    },
    {
      "id": "d8eb175a-d58e-4703-8d56-c124ec59bfb1",
      "name": "Transform & Clean Data",
      "type": "n8n-nodes-base.code",
      "position": [
        -2304,
        96
      ]
    },
    {
      "id": "ba49fb0d-f96b-4267-9d6f-02a042231184",
      "name": "Generate Unique ID",
      "type": "n8n-nodes-base.code",
      "position": [
        -2304,
        288
      ]
    },
    {
      "id": "3d415747-a9fa-43f7-b6e3-804bd6ce0fd1",
      "name": "Is Recent Policy?",
      "type": "n8n-nodes-base.if",
      "position": [
        -2112,
        288
      ]
    },
    {
      "id": "e5be5576-1c7d-4d23-96f6-323b4b9a5715",
      "name": "Prepare Email Content",
      "type": "n8n-nodes-base.set",
      "position": [
        -1696,
        112
      ]
    },
    {
      "id": "2aceb7d5-af40-4671-9c50-a280d4d0c323",
      "name": "Send Policy Alert",
      "type": "n8n-nodes-base.emailSend",
      "position": [
        -1568,
        288
      ]
    },
    {
      "id": "93b76459-5dd8-450d-ae84-8c0cc3bc5d68",
      "name": "Workflow Overview",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -3904,
        -320
      ],
      "parameters": {
        "width": 550,
        "height": 450,
        "content": "## How it works\n\nThis workflow lets healthcare administrators spot new policy proposals the moment they appear. Start the manual trigger whenever you want to run a sweep. A Code node lists the URLs yo"
      }
    },
    {
      "id": "d209e190-01b6-47f9-9be7-cb2244d6c871",
      "name": "Section – Data Collection",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -3344,
        -256
      ],
      "parameters": {
        "width": 450,
        "height": 670,
        "content": "## Data Collection\n\nThis group covers everything from the Manual Trigger through to the AI-powered scraping of the policy webpages. Kicking off with the **Run Workflow** node lets you decide when to p"
      }
    },
    {
      "id": "cfa7fca3-bdda-4cc1-a7af-43788f32acc8",
      "name": "Section – Enrichment & Transformation",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -2864,
        -240
      ],
      "parameters": {
        "width": 450,
        "height": 638,
        "content": "## Enrichment & Transformation\n\nOnce a raw policy record arrives, the HTTP Request node calls an external analysis API that tags the document with policy areas and provides a quick sentiment snapshot."
      }
    },
    {
      "id": "76a66f82-feca-491f-9991-4d6ed4412a97",
      "name": "Section – Storage",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -2384,
        -240
      ],
      "parameters": {
        "width": 450,
        "height": 670,
        "content": "## Storage & Deduplication\n\nThe **Is Recent Policy?** IF node acts as the workflow’s first gatekeeper, ensuring only fresh items progress to Pipedrive. Policies older than thirty days quietly exit her"
      }
    },
    {
      "id": "c7f0cf3b-cf1f-4cdb-a153-4067acf209f2",
      "name": "Section – Notifications",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1872,
        -240
      ],
      "parameters": {
        "width": 450,
        "height": 686,
        "content": "## Notifications & Alerts\n\nEvery time a new record lands in Pipedrive the workflow builds an immediate email so nobody has to watch dashboards 24/7. The **Prepare Email Content** Set node crafts a hum"
      }
    },
    {
      "id": "55c7e4f9-eb01-40c0-8c8f-04429c4a8320",
      "name": "Create an activity",
      "type": "n8n-nodes-base.pipedrive",
      "position": [
        -1856,
        288
      ]
    }
  ],
  "connections": {
    "Loop URLs": {
      "main": [
        [
          {
            "node": "Scrape Policy Page",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Run Workflow": {
      "main": [
        [
          {
            "node": "Define Target URLs",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Is Recent Policy?": {
      "main": [
        [
          {
            "node": "Create an activity",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Create an activity": {
      "main": [
        [
          {
            "node": "Prepare Email Content",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Define Target URLs": {
      "main": [
        [
          {
            "node": "Loop URLs",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Generate Unique ID": {
      "main": [
        [
          {
            "node": "Is Recent Policy?",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Scrape Policy Page": {
      "main": [
        [
          {
            "node": "Enrich with Metadata",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Enrich with Metadata": {
      "main": [
        [
          {
            "node": "Transform & Clean Data",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Prepare Email Content": {
      "main": [
        [
          {
            "node": "Send Policy Alert",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Transform & Clean Data": {
      "main": [
        [
          {
            "node": "Generate Unique ID",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}