Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[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 join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dev-ex enhancement New feature or request webhook
Projects
None yet
Development

No branches or pull requests

2 participants