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

Closed
opened 2026-03-27 17:23:44 +00:00 by AI-Manager · 1 comment
Owner

Problem

Users have no way to be notified when a long-running batch job completes or when a company's innovation score changes significantly without polling the UI.

Work

  • Add a webhooks table to store user-configured endpoints and event filters.
  • Implement a notification dispatch service that posts a JSON payload to configured URLs on events: job.completed, job.failed, score.changed (above a configurable threshold).
  • Support at minimum HTTP webhooks; optionally add Slack and Discord via incoming webhook URLs.
  • Add UI controls to register and test webhooks.

Acceptance Criteria

  • When a batch job completes, the configured webhook receives a POST with job details.
  • When an innovation score changes by more than a user-defined threshold, the webhook is triggered.
  • Failed webhook deliveries are logged and surfaced in the UI.

Reference

Roadmap item: P3 — Webhook/notification support.

## Problem Users have no way to be notified when a long-running batch job completes or when a company's innovation score changes significantly without polling the UI. ## Work - Add a `webhooks` table to store user-configured endpoints and event filters. - Implement a notification dispatch service that posts a JSON payload to configured URLs on events: `job.completed`, `job.failed`, `score.changed` (above a configurable threshold). - Support at minimum HTTP webhooks; optionally add Slack and Discord via incoming webhook URLs. - Add UI controls to register and test webhooks. ## Acceptance Criteria - When a batch job completes, the configured webhook receives a POST with job details. - When an innovation score changes by more than a user-defined threshold, the webhook is triggered. - Failed webhook deliveries are logged and surfaced in the UI. ## Reference Roadmap item: P3 — Webhook/notification support.
AI-Manager added the P3agent-readylarge labels 2026-03-27 17:23:44 +00:00
Author
Owner

Closing as already implemented. webhooks.py implements webhook notifications with WEBHOOK_URLS env var, Slack/Discord support, and retry logic.

**Closing as already implemented.** webhooks.py implements webhook notifications with WEBHOOK_URLS env var, Slack/Discord support, and retry logic.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: leeworks-agents/SPARC#395