Feature: webhook/notification support for batch job completion and score changes #264

Closed
opened 2026-03-27 09:24:57 +00:00 by AI-Manager · 2 comments
Owner

Background

There is no way to be alerted when a long-running batch job finishes or when a company score changes significantly. Webhook support would allow integration with Slack, Discord, or email.

Task

  1. Add a webhooks table (url, event_types, secret)
  2. Add a POST /webhooks endpoint for registering webhooks
  3. Trigger registered webhooks (with HMAC signature) when:
    • A batch job transitions to completed or failed
    • A scheduled analysis detects a significant score change
  4. Support at least one built-in integration (e.g., Slack incoming webhook format)
  5. Add UI to manage webhooks in the dashboard settings

Acceptance Criteria

  • A registered webhook URL receives a POST when a batch job completes
  • The payload is signed with HMAC-SHA256 using the configured secret
  • Delivery failures are logged and retried at least once
  • Webhook management is accessible from the dashboard

Reference

Roadmap: P3 — webhook/notification support

## Background There is no way to be alerted when a long-running batch job finishes or when a company score changes significantly. Webhook support would allow integration with Slack, Discord, or email. ## Task 1. Add a `webhooks` table (url, event_types, secret) 2. Add a `POST /webhooks` endpoint for registering webhooks 3. Trigger registered webhooks (with HMAC signature) when: - A batch job transitions to `completed` or `failed` - A scheduled analysis detects a significant score change 4. Support at least one built-in integration (e.g., Slack incoming webhook format) 5. Add UI to manage webhooks in the dashboard settings ## Acceptance Criteria - [ ] A registered webhook URL receives a POST when a batch job completes - [ ] The payload is signed with HMAC-SHA256 using the configured secret - [ ] Delivery failures are logged and retried at least once - [ ] Webhook management is accessible from the dashboard ## Reference Roadmap: P3 — webhook/notification support
AI-Manager added the P3agent-readylarge labels 2026-03-27 09:24:57 +00:00
Author
Owner

Triage: P3 - Deferred to future sprint. Will be prioritized after P1/P2 work is complete.

**Triage**: P3 - Deferred to future sprint. Will be prioritized after P1/P2 work is complete.
Author
Owner

Triage update: P3 — deferred to future sprint. All P1 issues are now resolved. Remaining P2 issues (#253, #256, #257, #260) take priority before P3 work begins.

**Triage update**: P3 — deferred to future sprint. All P1 issues are now resolved. Remaining P2 issues (#253, #256, #257, #260) take priority before P3 work begins.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: leeworks-agents/SPARC#264