Need help regarding webhook creation in remix Shopify app

what i want is to create a webhook .. which automatically gets subscribed when a user installs my app… and what does this webhook do → whenever the store admin deletes an product from its store’s admin panel, then a webhook will trigger at send an event to the address url.

what should i do to achieve this ?