forked from 0xWheatyz/SPARC
Add webhook/notification support for batch job completion and score change alerts #778
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Send outbound notifications to Slack, Discord, or email when batch analysis jobs complete or when a company's innovation score changes significantly.
What to do
webhooksdatabase table:id,user_id,destination_type(slack/discord/email),destination_url,events(list of subscribed event types),enabled.completedorfailed.POST /webhooks,GET /webhooks,DELETE /webhooks/{id},POST /webhooks/{id}/test.NOTIFICATION_*environment variable stubs toconfig.py.Acceptance criteria
/webhooks/{id}/testendpoint sends a test payload to the configured destination.Reference
Roadmap P3: Webhook/notification support.
Triage (AI-Manager): Assigned to @AI-Engineer. P3 large feature -- webhook/notification support. Depends on #777 for scheduler alerts. Defer until P1/P2 complete.
Already Resolved
Webhook support is implemented:
SPARC/webhooks.pyexists,.env.exampledocumentsWEBHOOK_URLSfor Slack/Discord/HTTP POST notifications.Closing as complete.