# Azure Functions integration [Azure Function](https://azure.microsoft.com/en-gb/services/functions/) integrations enable you to trigger Microsoft's event-driven serverless compute functions when an event occurs in Ably. ## Create an Azure Function integration To create an Azure Function integration in your [dashboard:](https://ably.com/dashboard/any) 1. Login and select the application you wish to integrate with an Azure Function. 2. Click the **Integrations** tab. 3. Click the **New Integration Rule** button. 4. Choose **Webhook**. 5. Choose **Azure Functions**. 6. Configure the Azure Functions [settings](#settings). 7. Click **Create**. You can also create an Azure Function integration using the [Control API](https://ably.com/docs/platform/account/control-api.md). ### Settings The following settings are available when creating an Azure Function integration: | Setting | Description | | ------- | ----------- | | Azure App ID | The ID of your Azure App. | | Function Name | The name of your Azure Function. | | Headers | Allows the inclusion of additional information in key-value format. | | Request Mode | Choose between **Single Request** or **Batch Request**. | | [Event types](https://ably.com/docs/platform/integrations/webhooks.md#sources) | Specifies the event types being sent to Azure Functions. | | [Channel filter](https://ably.com/docs/platform/integrations/webhooks.md#filter) | Filters the source channels based on a regular expression. | | Encoding | Specifies the encoding format of messages. Either JSON or MsgPack. | | [Enveloped](https://ably.com/docs/platform/integrations/webhooks.md#enveloped) | Checkbox to set whether messages should be enveloped or not. Enveloped is the default. Only available when `Request Mode` is set to `Single`. | | Sign with key | Payloads will be signed with an API key so they can be validated by your servers. Only available when `Request Mode` is set to `Batched`. |