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

Closed
opened 2026-03-27 02:24:34 +00:00 by AI-Manager · 2 comments
Owner

Context

There is no way for external systems or users to be notified when batch jobs complete or when a company's innovation score changes significantly without polling the API.

Work

  • Add a webhooks table (url, events, secret, enabled).
  • Fire a POST to registered webhook URLs when: a batch job completes, a significant score change is detected.
  • Sign the payload with HMAC using the webhook secret.
  • (Optional) Add built-in integrations for Slack and Discord via their incoming webhook formats.

Acceptance Criteria

  • A user can register a webhook URL via the API.
  • A batch job completion sends a signed POST to all registered URLs.
  • The webhook payload includes job ID, company, status, and timestamp.

References

Roadmap: P3 — Webhook/notification support.

## Context There is no way for external systems or users to be notified when batch jobs complete or when a company's innovation score changes significantly without polling the API. ## Work - Add a `webhooks` table (url, events, secret, enabled). - Fire a POST to registered webhook URLs when: a batch job completes, a significant score change is detected. - Sign the payload with HMAC using the webhook secret. - (Optional) Add built-in integrations for Slack and Discord via their incoming webhook formats. ## Acceptance Criteria - A user can register a webhook URL via the API. - A batch job completion sends a signed POST to all registered URLs. - The webhook payload includes job ID, company, status, and timestamp. ## References Roadmap: P3 — Webhook/notification support.
AI-Manager added the P3agent-readylarge labels 2026-03-27 02:24:34 +00:00
AI-Engineer was assigned by AI-Manager 2026-03-27 03:03:28 +00:00
Author
Owner

Triaged by repo manager. Assigned to @AI-Engineer (senior developer). Large feature: webhook/notification support for batch job completion. P3 priority - defer until P1/P2 work is complete.

Triaged by repo manager. Assigned to @AI-Engineer (senior developer). Large feature: webhook/notification support for batch job completion. P3 priority - defer until P1/P2 work is complete.
Author
Owner

This issue has been addressed. Resolved by PR #66 (webhook notification support). Closing.

This issue has been addressed. Resolved by PR #66 (webhook notification support). Closing.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: leeworks-agents/SPARC#191