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 service URL that you get after publishing the process, and the authentication method, and click Save.
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 Register New Step page, enter the value as Create in the Message field, account in the Primary Entity field, select Asynchronous in the Execution Mode field, and then click Register New Step.
The following image shows the Register New Step page:
7Similarly, follow steps 3 through 5 to register a new step for the update account.
8In the Register New Step page, enter the value as Update in the Message field, account in the Primary Entity field, select Asynchronous in the Execution Mode field, and then click Register New Step.
The webhook request is triggered automatically account is created or updated in Dynamics 365.