One of the most common use cases for Webhooks is to use them to create a policy in a policy administration system after a sale takes place.
In this case, you'll want to keep the custom code and mappings to your policy system confined to a Webhook. The overall flow will look something like this:
You will typically use Webhooks as the way to connect to other systems such as policy systems. For an overview of ways to connect, click here. For a step-by-step guide for using Webhooks, click here