IF Node Configuration:
Condition: significance_score >= 5 True Branch: Send alerts + save to database False Branch: Save quietly without alerts
Alert Thresholds:
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: