slack-webhook
Installation
SKILL.md
Slack Webhook Integration
Send alerts and notifications to Slack using the configured webhook.
Quick Start
The webhook URL is automatically loaded from the SLACK_WEBHOOK_URL environment variable.
import os
import json
from urllib.request import Request, urlopen
def send_slack_alert(message: dict) -> bool:
"""Send a message to Slack via webhook.
Args:
message: Slack Block Kit message payload