AutomationFlowsWeb Scraping › Analyze Event Impact via Webhook

Analyze Event Impact via Webhook

Original n8n title: Wf-3: Event Impact Analysis

WF-3: Event Impact Analysis. Uses httpRequest. Webhook trigger; 7 nodes.

Webhook trigger★★★★☆ complexity7 nodesHTTP Request
Web Scraping Trigger: Webhook Nodes: 7 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-3: Event Impact Analysis",
  "nodes": [
    {
      "id": "trigger",
      "name": "Event Webhook",
      "type": "n8n-nodes-base.webhook",
      "position": [
        250,
        300
      ],
      "parameters": {
        "httpMethod": "POST",
        "path": "event-impact",
        "responseMode": "responseNode"
      }
    },
    {
      "id": "validate_event",
      "name": "Validate Event",
      "type": "n8n-nodes-base.if",
      "position": [
        450,
        300
      ],
      "parameters": {
        "conditions": {
          "string": [
            {
              "value1": "={{ $json.body.event }}",
              "operation": "isNotEmpty"
            }
          ]
        }
      }
    },
    {
      "id": "analyze_impact",
      "name": "Analyze Supply Chain Impact",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        650,
        200
      ],
      "parameters": {
        "method": "POST",
        "url": "http://data-api:8000/mcp/call/analyze_supply_chain_impact",
        "body": {
          "event": "={{ $json.body.event }}",
          "start_symbol": "={{ $json.body.start_symbol || 'NVDA' }}",
          "max_depth": "={{ $json.body.max_depth || 2 }}"
        },
        "options": {
          "timeout": 180000
        }
      }
    },
    {
      "id": "generate_summary",
      "name": "Generate Impact Summary",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        850,
        200
      ],
      "parameters": {
        "method": "POST",
        "url": "http://data-api:8000/mcp/call/generate_impact_summary",
        "body": {
          "analysis_results": "={{ $json.analysis_results }}",
          "event": "={{ $json.event }}"
        }
      }
    },
    {
      "id": "log_impact",
      "name": "Log Impact Analysis",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        1050,
        200
      ],
      "parameters": {
        "method": "POST",
        "url": "http://data-api:8000/mcp/call/log_impact_analysis",
        "body": {
          "event": "={{ $json.event }}",
          "affected_companies": "={{ JSON.stringify($json.analysis_results.map(r => r.ticker)) }}",
          "impact_score": "={{ $json.analysis_results[0]?.impact_score || 0 }}",
          "confidence": "={{ $json.analysis_results[0]?.confidence || 0 }}"
        }
      }
    },
    {
      "id": "error_response",
      "name": "Error Response",
      "type": "n8n-nodes-base.respondToWebhook",
      "position": [
        650,
        400
      ],
      "parameters": {
        "statusCode": 400,
        "body": {
          "error": "Event description is required"
        }
      }
    },
    {
      "id": "success_response",
      "name": "Success Response",
      "type": "n8n-nodes-base.respondToWebhook",
      "position": [
        1250,
        300
      ],
      "parameters": {
        "statusCode": 200,
        "body": {
          "status": "success",
          "event": "={{ $json.event }}",
          "summary": "={{ $json.summary }}",
          "affected_count": "={{ $json.analysis_results.length }}"
        }
      }
    }
  ],
  "connections": {
    "Event Webhook": {
      "main": [
        [
          {
            "node": "Validate Event",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Validate Event": {
      "main": [
        [
          {
            "node": "Analyze Supply Chain Impact",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Error Response",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Analyze Supply Chain Impact": {
      "main": [
        [
          {
            "node": "Generate Impact Summary",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Generate Impact Summary": {
      "main": [
        [
          {
            "node": "Log Impact Analysis",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Log Impact Analysis": {
      "main": [
        [
          {
            "node": "Success Response",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  },
  "settings": {
    "executionOrder": "v1"
  },
  "staticData": null,
  "tags": [
    "impact",
    "analysis",
    "webhook"
  ]
}
Pro

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

About this workflow

WF-3: Event Impact Analysis. Uses httpRequest. Webhook trigger; 7 nodes.

Source: https://github.com/123qsa/supply-chain-kg/blob/main/n8n-workflows/wf-3-event-impact.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

This n8n template provides enterprise-level version control for your workflows using GitHub integration. Stop losing hours to broken workflows and manual exports – get proper commit history, visual di

n8n, Execute Workflow Trigger, HTTP Request +1
Web Scraping

This flow creates dummy files for every item added in your *Arrs (Radarr/Sonarr) with the tag .

HTTP Request, Ssh
Web Scraping

This workflow acts as a central API gateway for all technical indicator agents in the Binance Spot Market Quant AI system. It listens for incoming webhook requests and dynamically routes them to the c

HTTP Request
Web Scraping

Sign PDF documents with legally-compliant digital signatures using X.509 certificates. Supports multiple PAdES signature levels (B, T, LT, LTA) with optional visible stamps.

Execute Command, HTTP Request, Read Write File +1
Web Scraping

📡 This workflow serves as the central Alpha Vantage API fetcher for Tesla trading indicators, delivering cleaned 20-point JSON outputs for three timeframes: , , and . It is required by the following a

HTTP Request