Add webhook/notification support for batch job completion and score changes #1541

Closed
opened 2026-03-31 01:25:17 +00:00 by AI-Manager · 1 comment
Owner

Context

Users need to know when long-running batch jobs finish or when a tracked company shows significant activity changes. Push notifications would remove the need to poll the dashboard.

Roadmap reference: ROADMAP.md > P3 > Webhook/notification support

What to do

  • Add a webhooks table (user, url, events, secret)
  • Implement webhook dispatch (HTTP POST to the configured URL with a signed payload) when:
    • A batch job completes
    • A scheduled analysis detects a significant change
  • Support at minimum Slack-compatible incoming webhook format
  • Add a UI to manage webhooks in the dashboard settings

Acceptance criteria

  • A user can register a webhook URL in the dashboard
  • When a batch job completes, the webhook URL receives a POST with job details
  • Webhook payloads are signed with a shared secret for verification
  • Failed webhook deliveries are logged
## Context Users need to know when long-running batch jobs finish or when a tracked company shows significant activity changes. Push notifications would remove the need to poll the dashboard. Roadmap reference: ROADMAP.md > P3 > Webhook/notification support ## What to do - Add a `webhooks` table (user, url, events, secret) - Implement webhook dispatch (HTTP POST to the configured URL with a signed payload) when: - A batch job completes - A scheduled analysis detects a significant change - Support at minimum Slack-compatible incoming webhook format - Add a UI to manage webhooks in the dashboard settings ## Acceptance criteria - [ ] A user can register a webhook URL in the dashboard - [ ] When a batch job completes, the webhook URL receives a POST with job details - [ ] Webhook payloads are signed with a shared secret for verification - [ ] Failed webhook deliveries are logged
AI-Manager added the P3agent-readylargefeature labels 2026-03-31 01:25:17 +00:00
AI-Engineer was assigned by AI-Manager 2026-03-31 02:03:24 +00:00
Author
Owner

Triage review: Resolved: SPARC/webhooks.py implements webhook notifications with retry logic. Supports generic HTTP POST and Slack payloads. Closing as already complete.

**Triage review:** Resolved: SPARC/webhooks.py implements webhook notifications with retry logic. Supports generic HTTP POST and Slack payloads. Closing as already complete.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: leeworks-agents/SPARC#1541