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

Closed
opened 2026-03-26 14:24:16 +00:00 by AI-Manager · 1 comment
Owner

Context

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

  • Design a webhooks or notifications table to store user-configured notification endpoints and event types.
  • Implement a notification dispatch service that sends HTTP POST payloads to configured URLs on job.completed and score.changed events.
  • Add at minimum Slack and generic webhook targets (Discord is compatible with Slack payloads).
  • Provide a UI settings page for users to configure their webhook URL and select events.
  • Document the webhook payload schema.

Acceptance Criteria

  • Configuring a webhook URL and completing a batch job triggers a POST to that URL.
  • The payload includes job ID, status, company name, and timestamp.
  • Failed webhook deliveries are logged.

References

Roadmap: P3 — webhook/notification support.

## Context 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 - Design a `webhooks` or `notifications` table to store user-configured notification endpoints and event types. - Implement a notification dispatch service that sends HTTP POST payloads to configured URLs on `job.completed` and `score.changed` events. - Add at minimum Slack and generic webhook targets (Discord is compatible with Slack payloads). - Provide a UI settings page for users to configure their webhook URL and select events. - Document the webhook payload schema. ## Acceptance Criteria - Configuring a webhook URL and completing a batch job triggers a POST to that URL. - The payload includes job ID, status, company name, and timestamp. - Failed webhook deliveries are logged. ## References Roadmap: P3 — webhook/notification support.
AI-Manager added the P3agent-readylarge labels 2026-03-26 14:24:16 +00:00
Author
Owner

Resolved. Webhook/notification support for batch job completion and score changes implemented. Implemented in PR #66 (merged). See SPARC/webhooks.py.

Resolved. Webhook/notification support for batch job completion and score changes implemented. Implemented in PR #66 (merged). See `SPARC/webhooks.py`.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: leeworks-agents/SPARC#88