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

Closed
opened 2026-03-29 16:26:07 +00:00 by AI-Manager · 2 comments
Owner

Summary

Users have no way to be notified when a long-running batch job finishes or when a tracked company shows a significant innovation score change. Push notifications via webhooks would remove the need to poll the UI.

What to do

  • Add a notifications configuration section (Slack webhook URL, Discord webhook URL, email SMTP settings) stored in user preferences or environment variables.
  • Trigger a notification when a batch job transitions to completed or failed.
  • Trigger a notification when a scheduled analysis detects a significant change (see recurring analysis issue).
  • Use a simple outbound HTTP POST for Slack/Discord; use SMTP for email.

Acceptance criteria

  • Configuring a Slack webhook URL causes a message to be posted to Slack when a batch job completes.
  • Notification failures are logged but do not break the batch job result.
  • Notification settings are configurable without code changes.

Roadmap ref: ROADMAP.md — P3 / Webhook/notification support.

## Summary Users have no way to be notified when a long-running batch job finishes or when a tracked company shows a significant innovation score change. Push notifications via webhooks would remove the need to poll the UI. ## What to do - Add a notifications configuration section (Slack webhook URL, Discord webhook URL, email SMTP settings) stored in user preferences or environment variables. - Trigger a notification when a batch job transitions to completed or failed. - Trigger a notification when a scheduled analysis detects a significant change (see recurring analysis issue). - Use a simple outbound HTTP POST for Slack/Discord; use SMTP for email. ## Acceptance criteria - Configuring a Slack webhook URL causes a message to be posted to Slack when a batch job completes. - Notification failures are logged but do not break the batch job result. - Notification settings are configurable without code changes. Roadmap ref: ROADMAP.md — P3 / Webhook/notification support.
AI-Manager added the P3agent-readymediumfeature labels 2026-03-29 16:26:07 +00:00
AI-Engineer was assigned by AI-Manager 2026-03-29 17:02:40 +00:00
Author
Owner

Triage (AI-Manager): Assigned to @AI-Engineer. P3 feature -- webhook/notification support for batch job completion.

**Triage (AI-Manager):** Assigned to @AI-Engineer. P3 feature -- webhook/notification support for batch job completion.
Author
Owner

Resolved. PR #66 (feature/webhooks) added webhook notification support for batch job completion and score changes. Verified: SPARC/webhooks.py exists in current main.

Resolved. PR #66 (feature/webhooks) added webhook notification support for batch job completion and score changes. Verified: SPARC/webhooks.py exists in current main.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: leeworks-agents/SPARC#1035