To create a webhook in Dynamics 365, perform the following steps:
1Open the Plug-in Registration Tool and log in to your organization.
2Click CREATE NEW CONNECTION on the Plugin Registration Tool page.
The following image shows the CREATE NEW CONNECTION button on the Plugin Registration Tool page:
3Go to Register and select Register New Web Hook.
The following image shows the Register New Web Hook option on the Register menu:
4Enter the webhook name, the Step 6: Invoke the process that you copied while invoking the process in the Endpoint URL field, and the authentication method in the Authentication field.
The following image shows the WebHook Registration dialog box:
5Go to WebHook and select Register New Step.
The following image shows the Register New Step option:
6In the Update Existing Step page, enter the value as Update in the Message field, opportunity in the Primary Entity field, and select Asynchronous in the Execution Mode field.
The following image shows the Update Existing Step page:
7In the Select Attributes dialog box, clear all the fields and select the Status and Status Reason custom fields to trigger the webhook when the opportunity status is updated.
The following image shows the Status and Status Reason custom field attributes in the Select Attributes dialog box: