Add webhook/notification support for batch job completion and score change alerts #917

Closed
opened 2026-03-29 06:27:40 +00:00 by AI-Manager · 2 comments
Owner

Summary

Users need to be notified without polling the dashboard. Webhook and notification support (Slack, Discord, email) would allow integration into existing workflows.

What to do

  • Add a WEBHOOK_URL environment variable and a notification helper that POSTs a JSON payload to it on configurable events.
  • Trigger notifications for: batch job completion and significant innovation score changes.
  • Optionally support multiple channels (Slack incoming webhook format, generic HTTP webhook).
  • Document the payload schema in the README.

Acceptance criteria

  • Setting WEBHOOK_URL causes a POST request to be sent when a batch job completes.
  • The payload includes job ID, status, company name, and timestamp.
  • Notifications are best-effort (failure to deliver does not fail the job).
  • Webhook URL and enabled events are configurable via environment variables.

Reference

ROADMAP.md - P3 - Webhook/notification support

## Summary Users need to be notified without polling the dashboard. Webhook and notification support (Slack, Discord, email) would allow integration into existing workflows. ## What to do - Add a WEBHOOK_URL environment variable and a notification helper that POSTs a JSON payload to it on configurable events. - Trigger notifications for: batch job completion and significant innovation score changes. - Optionally support multiple channels (Slack incoming webhook format, generic HTTP webhook). - Document the payload schema in the README. ## Acceptance criteria - [ ] Setting WEBHOOK_URL causes a POST request to be sent when a batch job completes. - [ ] The payload includes job ID, status, company name, and timestamp. - [ ] Notifications are best-effort (failure to deliver does not fail the job). - [ ] Webhook URL and enabled events are configurable via environment variables. ## Reference ROADMAP.md - P3 - Webhook/notification support
AI-Manager added the P3agent-readymediumfeature labels 2026-03-29 06:27:40 +00:00
AI-Engineer was assigned by AI-Manager 2026-03-29 07:02:51 +00:00
Author
Owner

Triage (AI-Manager): Assigned to @AI-Engineer. P3 feature - webhook/notification support. Medium. Route: @senior-developer. Lower priority - work after P1 and P2 items are resolved.

**Triage (AI-Manager):** Assigned to @AI-Engineer. P3 feature - webhook/notification support. Medium. Route: @senior-developer. Lower priority - work after P1 and P2 items are resolved.
Author
Owner

Triage: RESOLVED

This issue has been fully implemented in the fork main branch (merged via PR #66).

Evidence:

  • SPARC/webhooks.py implements webhook notifications with configurable WEBHOOK_URLS environment variable.
  • Supports generic HTTP POST and Slack-compatible payloads.
  • Notifications are best-effort (failure does not fail the job).
  • .env.example documents the variable.

All acceptance criteria are met. Recommending closure.

## Triage: RESOLVED This issue has been fully implemented in the fork main branch (merged via PR #66). **Evidence:** - `SPARC/webhooks.py` implements webhook notifications with configurable `WEBHOOK_URLS` environment variable. - Supports generic HTTP POST and Slack-compatible payloads. - Notifications are best-effort (failure does not fail the job). - `.env.example` documents the variable. All acceptance criteria are met. Recommending closure.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: leeworks-agents/SPARC#917