|
1 | 1 | --- |
2 | | -title: Webhooks as event handlers for Azure Event Grid events |
3 | | -description: Learn how to use webhooks as event handlers for Azure Event Grid events. Azure Automation runbooks and logic apps are supported as event handlers via webhooks. |
| 2 | +title: Webhook Event Handlers for Azure Event Grid |
| 3 | +description: Learn how to use webhooks as event handlers for Azure Event Grid events. Azure Automation runbooks and logic apps are supported as event handlers via webhooks. |
| 4 | +#customer intent: As a developer, I want to configure a webhook as an event handler for Azure Event Grid so that I can process events at my own HTTP endpoint. |
4 | 5 | ms.topic: concept-article |
5 | | -ms.date: 02/12/2025 |
| 6 | +ms.date: 03/27/2026 |
| 7 | +author: spelluru |
| 8 | +ms.author: spelluru |
| 9 | +ms.reviewer: spelluru |
6 | 10 | # Customer intent: As a developer or architect, I want to learn how to use Webhooks, Logic Apps, and Azure Automation runbooks as events handlers for Azure Event Grid events. |
7 | 11 | --- |
8 | 12 |
|
9 | | -# Webhooks, Automation runbooks, Logic Apps as event handlers for Azure Event Grid events |
10 | | -An event handler receives events from an event source via Event Grid, and processes those events. You can use any WebHook as an event handler for events forwarded by Event Grid. The WebHook doesn't need to be hosted in Azure to handle events. Event Grid supports only HTTPS Webhook endpoints. You can also use an Azure Automation workbook or an Azure logic app as an event handler via webhooks. This article provides you links to conceptual, quickstart, and tutorial articles that provide you with more information. |
| 13 | +# Webhooks, Automation runbooks, and Logic Apps as event handlers for Azure Event Grid events |
| 14 | +An event handler receives events from an event source through Event Grid and processes those events. You can use any webhook as an event handler for events that Event Grid forwards. The webhook doesn't need to be hosted in Azure to handle events. Event Grid supports only HTTPS webhook endpoints. You can also use an Azure Automation runbook or an Azure Logic App as an event handler through webhooks. This article provides links to conceptual, quickstart, and tutorial articles that give you more information. |
11 | 15 |
|
12 | 16 | > [!NOTE] |
13 | 17 | > Even though you can use **Webhook** as an **endpoint type** to configure an Azure function as an event handler, use **Azure Function** as an endpoint type. For more information, see [Azure function as an event handler](handler-functions.md). |
14 | 18 |
|
15 | 19 | ## Webhooks |
16 | | -See the following articles for an overview and examples of using webhooks as event handlers. |
| 20 | +For an overview and examples of using webhooks as event handlers, see the following articles. |
17 | 21 |
|
18 | 22 | |Title |Description | |
19 | 23 | |---------|---------| |
20 | | -| Quickstart: create and route custom events with - [Azure CLI](custom-event-quickstart.md), [PowerShell](custom-event-quickstart-powershell.md), and [portal](custom-event-quickstart-portal.md). | Shows how to send custom events to a WebHook. | |
21 | | -| Quickstart: route Blob storage events to a custom web endpoint with - [Azure CLI](../storage/blobs/storage-blob-event-quickstart.md?toc=%2fazure%2fevent-grid%2ftoc.json), [PowerShell](../storage/blobs/storage-blob-event-quickstart-powershell.md?toc=%2fazure%2fevent-grid%2ftoc.json), and [portal](blob-event-quickstart-portal.md). | Shows how to send blob storage events to a WebHook. | |
| 24 | +| Quickstart: create and route custom events with - [Azure CLI](custom-event-quickstart.md), [PowerShell](custom-event-quickstart-powershell.md), and [portal](custom-event-quickstart-portal.md). | Shows how to send custom events to a webhook. | |
| 25 | +| Quickstart: route Blob storage events to a custom web endpoint with - [Azure CLI](../storage/blobs/storage-blob-event-quickstart.md?toc=%2fazure%2fevent-grid%2ftoc.json), [PowerShell](../storage/blobs/storage-blob-event-quickstart-powershell.md?toc=%2fazure%2fevent-grid%2ftoc.json), and [portal](blob-event-quickstart-portal.md). | Shows how to send blob storage events to a webhook. | |
22 | 26 | | [Quickstart: send container registry events](/azure/container-registry/container-registry-event-grid-quickstart?toc=%2fazure%2fevent-grid%2ftoc.json) | Shows how to use Azure CLI to send Container Registry events. | |
23 | 27 | | [Overview: receive events to an HTTP endpoint](receive-events.md) | Describes how to validate an HTTP endpoint to receive events from an event subscription, and receive and deserialize events. | |
24 | 28 |
|
25 | 29 |
|
26 | 30 | ## Azure Automation |
27 | | -You can process events by using Azure Automation runbooks. Processing of events by using automated runbooks is supported via webhooks. You create a webhook for the runbook and then use the webhook handler. See the following tutorial for an example: |
| 31 | +You can process events by using Azure Automation runbooks. Event Grid supports processing of events by using automated runbooks through webhooks. You create a webhook for the runbook and then use the webhook handler. For an example, see the following tutorial: |
28 | 32 |
|
29 | 33 | |Title |Description | |
30 | 34 | |---------|---------| |
31 | 35 | |[Tutorial: Azure Automation with Event Grid and Microsoft Teams](ensure-tags-exists-on-new-virtual-machines.md) |Create a virtual machine, which sends an event. The event triggers an Automation runbook that tags the virtual machine, and triggers a message that is sent to a Microsoft Teams channel. | |
32 | 36 |
|
33 | 37 |
|
34 | 38 | ## Logic Apps |
35 | | -Use **Logic Apps** to implement business processes to process Event Grid events. You don't create a webhook explicitly in this scenario. The webhook is created for you automatically when you configure the logic app to handle events from Event Grid. See the following tutorials for examples: |
| 39 | +Use **Logic Apps** to implement business processes that process Event Grid events. You don't create a webhook explicitly in this scenario. When you configure the logic app to handle events from Event Grid, the webhook is created automatically. For examples, see the following tutorials: |
36 | 40 |
|
37 | 41 | |Title |Description | |
38 | 42 | |---------|---------| |
|
0 commit comments