Feature: Introduce Organizer-Level Webhooks for Event Lifecycle Management ( #1047 )#1050
Merged
daveearley merged 12 commits intoHiEventsDev:developfrom Mar 2, 2026
Conversation
…, a dedicated management UI, and a new event dispatch job.
…rresponding backend service.
Contributor
Author
…es when searching by `id`.
This reverts commit cfaff36.
Merge from a sub brench that i made by mistake
5858b65 to
5d4489f
Compare
Contributor
|
Thanks for this! Awesome work. I'll test this shortly |
Contributor
|
Looks good! I pushed a few minor changes. Thanks again. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.






Summary
This PR introduces Organizer-level webhook support, allowing external systems to react to organizer-wide lifecycle events (such as event creation, updates, and archival).
Previously, webhooks were strictly per-event. While great for granular control, this made centralized integrations and multi-tenant scaling difficult for organizers managing numerous events. This update enhances flexibility by allowing webhooks to be associated with either specific events or at the top-level Organizer.
Problem / Motivation
In Hi.Events, an Organizer (Organization) is the top-level entity. When webhooks are only configured per-event, integrations become hard to scale and maintain. This PR allows defining webhooks at the Organizer level, enabling:
event.createdto provision resources in external systems (CRM, ticketing, analytics) or start automations.Technical Changes
CreateOrganizerWebhookAction,EditOrganizerWebhookAction,DeleteOrganizerWebhookAction, etc.) and established proper relationships in theOrganizerandWebhookmodels.organizerId. This securely separates event-level and organizer-level contexts.DispatchEventWebhookJobto handle asynchronous webhook dispatching when events are created, updated, or archived (viaCreateEventHandler,UpdateEventHandler,UpdateEventStatusHandler).Checklist
Resolutions
This PR resolves #1047