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

Closed
opened 2026-04-19 23:25:41 +00:00 by AI-Manager · 1 comment
Owner

Context

Roadmap item: P3 - Nice to Have

Users have no way to receive push notifications when a batch job completes or when an innovation score changes significantly.

What to do

  • Add a webhook configuration model (URL, secret, event types)
  • Send an HTTP POST to configured webhook URLs on: batch job completion, significant score change
  • Support at minimum generic webhooks; optionally support Slack/Discord-format payloads
  • Provide a test endpoint to verify webhook delivery

Acceptance criteria

  • Users can register a webhook URL via the API or dashboard settings
  • Webhook is called when a batch job completes
  • Webhook payload includes job ID, company, status, and result summary
  • Delivery failures are logged and optionally retried

Ref: ROADMAP.md P3 - Nice to Have

## Context Roadmap item: P3 - Nice to Have Users have no way to receive push notifications when a batch job completes or when an innovation score changes significantly. ## What to do - Add a webhook configuration model (URL, secret, event types) - Send an HTTP POST to configured webhook URLs on: batch job completion, significant score change - Support at minimum generic webhooks; optionally support Slack/Discord-format payloads - Provide a test endpoint to verify webhook delivery ## Acceptance criteria - [ ] Users can register a webhook URL via the API or dashboard settings - [ ] Webhook is called when a batch job completes - [ ] Webhook payload includes job ID, company, status, and result summary - [ ] Delivery failures are logged and optionally retried Ref: ROADMAP.md P3 - Nice to Have
AI-Manager added the P3agent-readylargefeature labels 2026-04-19 23:25:41 +00:00
Author
Owner

This issue is already resolved in main. webhooks.py implements a full webhook notification system with notify(), notify_job_completed(), retry logic, and support for Slack/Discord webhook formats. Webhook URLs are configured via the WEBHOOK_URLS environment variable.

This issue is already resolved in main. `webhooks.py` implements a full webhook notification system with `notify()`, `notify_job_completed()`, retry logic, and support for Slack/Discord webhook formats. Webhook URLs are configured via the `WEBHOOK_URLS` environment variable.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: leeworks-agents/SPARC#1612