AutomationFlowsWeb Scraping › Weekly Graph Analytics Report

Weekly Graph Analytics Report

Original n8n title: Wf-5: Graph Analytics

WF-5: Graph Analytics. Uses httpRequest. Scheduled trigger; 4 nodes.

Cron / scheduled trigger★★★★☆ complexity4 nodesHTTP Request
Web Scraping Trigger: Cron / scheduled Nodes: 4 Complexity: ★★★★☆ Added:

The workflow JSON

Copy or download the full n8n JSON below. Paste it into a new n8n workflow, add your credentials, activate. Full import guide →

Download .json
{
  "name": "WF-5: Graph Analytics",
  "nodes": [
    {
      "id": "trigger",
      "name": "Weekly Schedule",
      "type": "n8n-nodes-base.scheduleTrigger",
      "position": [
        250,
        300
      ],
      "parameters": {
        "rule": {
          "interval": [
            {
              "field": "cronExpression",
              "expression": "0 9 * * 1"
            }
          ]
        }
      }
    },
    {
      "id": "get_stats",
      "name": "Get Graph Statistics",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        450,
        300
      ],
      "parameters": {
        "method": "POST",
        "url": "http://data-api:8000/mcp/call/get_graph_stats",
        "body": {}
      }
    },
    {
      "id": "analyze_metrics",
      "name": "Calculate Metrics",
      "type": "n8n-nodes-base.function",
      "position": [
        650,
        300
      ],
      "parameters": {
        "functionCode": "const stats = $input.all()[0].json;\n\n// Calculate derived metrics\nconst density = stats.node_count > 1 \n  ? (stats.edge_count / (stats.node_count * (stats.node_count - 1))) * 100\n  : 0;\n\nconst avgDegree = stats.node_count > 0\n  ? (stats.edge_count * 2) / stats.node_count\n  : 0;\n\nreturn [{\n  json: {\n    ...stats,\n    density: density.toFixed(4),\n    avg_degree: avgDegree.toFixed(2),\n    report_date: new Date().toISOString()\n  }\n}];"
      }
    },
    {
      "id": "save_report",
      "name": "Save Analytics Report",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        850,
        300
      ],
      "parameters": {
        "method": "POST",
        "url": "http://data-api:8000/mcp/call/log_discovery_event",
        "body": {
          "source": "analytics",
          "found": "={{ JSON.stringify({\n            node_count: $json.node_count,\n            edge_count: $json.edge_count,\n            density: $json.density,\n            avg_degree: $json.avg_degree\n          }) }}",
          "method": "graph_analytics",
          "market": "us"
        }
      }
    }
  ],
  "connections": {
    "Weekly Schedule": {
      "main": [
        [
          {
            "node": "Get Graph Statistics",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get Graph Statistics": {
      "main": [
        [
          {
            "node": "Calculate Metrics",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Calculate Metrics": {
      "main": [
        [
          {
            "node": "Save Analytics Report",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  },
  "settings": {
    "executionOrder": "v1"
  },
  "staticData": null,
  "tags": [
    "analytics",
    "graph",
    "weekly"
  ]
}
Pro

For the full experience including quality scoring and batch install features for each workflow upgrade to Pro

About this workflow

WF-5: Graph Analytics. Uses httpRequest. Scheduled trigger; 4 nodes.

Source: https://github.com/123qsa/supply-chain-kg/blob/main/n8n-workflows/wf-5-graph-analytics.json — original creator credit. Request a take-down →

More Web Scraping workflows → · Browse all categories →

Related workflows

Workflows that share integrations, category, or trigger type with this one. All free to copy and import.

Web Scraping

Birthday Automation - Production (Fixed). Uses stopAndError, httpRequest, emailSend, bannerbear. Scheduled trigger; 86 nodes.

Stop And Error, HTTP Request, Email Send +1
Web Scraping

This template runs two scheduled workflows to govern Microsoft Entra ID (Azure AD) guest accounts by detecting stale users via Microsoft Graph, staging deletions in SharePoint with a 72-hour window, n

Microsoft SharePoint, Microsoft Teams, Microsoft Entra +1
Web Scraping

Jira-Allure-Auto-Qa. Uses httpRequest, jira. Scheduled trigger; 68 nodes.

HTTP Request, Jira
Web Scraping

Spotify-Sync-Surrealdb-V1. Uses httpRequest, n8n-nodes-surrealdb, spotify. Scheduled trigger; 62 nodes.

HTTP Request, N8N Nodes Surrealdb, Spotify
Web Scraping

As n8n instances scale, teams often lose track of sub-workflows—who uses them, where they are referenced, and whether they can be safely updated. This leads to inefficiencies like unnecessary copies o

HTTP Request, n8n, N8N Trigger +1