We have already seen how to trigger an Azure Function with as Webhook. We can also trigger a Webhook with our Azure Function. We can bind the Webhook as an input to our Azure Function.
To bind a Webhook as an input to our Azure Function, create an HTTP trigger in the Azure Function:
- Click on + sign to add the Azure Function and select HttpTrigger - JavaScript, as shown in the following screenshot:
![](https://static.packt-cdn.com/products/9781787122932/graphics/assets/d56c3666-1f10-4da9-8bdb-75724be77566.png)
- Provide a name for the function and click on the Create button.
- Once the HttpTrigger is created, click on the Integrate button, as shown in the following screenshot:
![](https://static.packt-cdn.com/products/9781787122932/graphics/assets/f3c05ea4-355e-4661-ada0-edcb527ca76f.png)
- Now, check the options and change the Mode to Webhook. There will be only two options available: the first is Standard and the second is Webhook. By default, the Standard mode is selected.
- Once we change the Mode to Webhook, we will see another option, Webhook type. ...