Node 8: Significant Change Filter

IF Node Configuration:

Condition: significance_score >= 5 True Branch: Send alerts + save to database False Branch: Save quietly without alerts

Alert Thresholds:


Node 9: Send Slack Alert

HTTP Request - Slack Webhook:

{
  "text": "🚨 Competitor Intelligence Alert",
  "attachments": [
    {
      "color": "{{ $json.significance_score >= 8 ? 'danger' : ($json.significance_score >= 7 ? 'warning' : 'good') }}",
      "fields": [
        {
          "title": "Competitor",
          "value": "{{ $json.competitor }}",
          "short": true
        },
        {
          "title": "Significance", 
          "value": "{{ $json.significance_score }}/10",
          "short": true
        },
        {
          "title": "Summary",
          "value": "{{ $json.summary }}"
        },
        {
          "title": "Recommended Action",
          "value": "{{ $json.action }}"
        }
      ],
      "actions": [
        {
          "type": "button",
          "text": "View Page",
          "url": "{{ $json.url }}"
        }
      ]
    }
  ]
}

Slack Setup:

  1. Go to your Slack workspace
  2. Create new app at api.slack.com
  3. Enable Incoming Webhooks
  4. Create webhook for desired channel
  5. Copy webhook URL to n8n node
  6. Test with sample message