Skip to content
This repository has been archived by the owner on Sep 16, 2024. It is now read-only.

[ISSUE-REVERT]: Enhance Webhook Registration Process to Support Event-Based Subscriptions #495

Open
bepsvpt opened this issue Feb 27, 2024 · 0 comments
Labels
dev-ex enhancement New feature or request webhook

Comments

@bepsvpt
Copy link

bepsvpt commented Feb 27, 2024

Currently, the webhook functionality in Revert requires specifying a t_id for each webhook registration, which implies that webhooks must be set up individually for each tenant. This approach necessitates a significant amount of development and maintenance effort, especially for applications that utilize Revert as a central hub for connecting with various integrations and require webhook functionality for common events across multiple tenants.

The suggested enhancement is to shift from a tenant-specific webhook registration model to an event-based subscription model. In this model, developers can register a webhook for specific event types (e.g., deal updates in HubSpot) without specifying tenant IDs during the registration process. The webhook system would then notify the registered endpoint for any event of that type, including the tenant ID (t_id) in the webhook payload, thereby allowing the receiving system to differentiate between tenants.

Benefits:

  • Reduced Development and Maintenance Effort: Developers would no longer need to register and manage webhooks for each tenant individually, simplifying the integration process.
  • Increased Flexibility and Scalability: This approach allows for more flexible and scalable webhook management, accommodating common use cases where the same event type is relevant across multiple tenants.
  • Improved User Experience: By lowering the barrier to implementing and managing webhooks, developers can more easily leverage Revert's capabilities, enhancing the overall utility and user-friendliness of the platform.
@bepsvpt bepsvpt added the enhancement New feature or request label Feb 27, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
dev-ex enhancement New feature or request webhook
Projects
None yet
Development

No branches or pull requests

2 participants