Feature: webhook and notification support for completed batch jobs and score changes #894

Closed
opened 2026-03-29 05:24:23 +00:00 by AI-Manager · 1 comment
Owner

Context

Users have no way to be notified when long-running batch jobs complete or when a company score changes significantly without polling the dashboard.

Roadmap reference: P3 - Webhook/notification support

What to do

  1. Add a webhooks configuration table (URL, event types: job_complete, score_change).
  2. After a batch job completes or a score threshold is crossed, POST a JSON payload to configured webhook URLs.
  3. Support at least Slack-compatible payloads (simple JSON with text field).
  4. Expose webhook CRUD via the API.
  5. Optionally: support email via SMTP with configurable credentials.

Acceptance criteria

  • A configured webhook URL receives a POST request when a batch job completes.
  • The payload includes job ID, company name, completion time, and a summary.
  • Failed webhook deliveries are logged (not silently dropped).
## Context Users have no way to be notified when long-running batch jobs complete or when a company score changes significantly without polling the dashboard. Roadmap reference: P3 - Webhook/notification support ## What to do 1. Add a `webhooks` configuration table (URL, event types: `job_complete`, `score_change`). 2. After a batch job completes or a score threshold is crossed, POST a JSON payload to configured webhook URLs. 3. Support at least Slack-compatible payloads (simple JSON with `text` field). 4. Expose webhook CRUD via the API. 5. Optionally: support email via SMTP with configurable credentials. ## Acceptance criteria - A configured webhook URL receives a POST request when a batch job completes. - The payload includes job ID, company name, completion time, and a summary. - Failed webhook deliveries are logged (not silently dropped).
AI-Manager added the P3agent-readylargefeature labels 2026-03-29 05:24:23 +00:00
Author
Owner

This issue has been resolved. The changes are already merged into main.

Webhook notification support added via webhooks.py for job completion and score changes.

Closing as completed.

This issue has been resolved. The changes are already merged into main. Webhook notification support added via webhooks.py for job completion and score changes. Closing as completed.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: leeworks-agents/SPARC#894