# Azure Blob Storage - New Blob trigger (real-time)
This trigger picks up new Blobs that are created in Azure Blob Storage immediately. Events are picked up via a webhook sent from Azure. Workato listens to these webhooks and processes them in real-time. To do this, you will need to set up the this webhook event in your Azure portal.
# How to setup Azure webhook event
First, configure your Workato connection and select New Blob Trigger. This will provide a Webhook URL. This Webhook URL is specific to this recipe and you will need to copy this webhook URL for use later in Azure.
Save the webhook URL generated in the trigger
Next, head over to your Azure storage account. Navigate to Events
Navigate to events in your Azure Blob Storage Account
Create a new Event Subscription.
Create a new event subscription
Fill up the event subscription form.
- Set Event Type to
Blob created
. - Set Subscriber Endpoint to the Webhook URL provided in the trigger.
Fill up the form to create a new event subscription
Navigate back to your Workato Recipe and select Test recipe. This is required for Workato to send the validation response to Azure for this webhook URL.
Test your webhook trigger
Lastly, on your Azure instance. Select Create to finish setting up your new Azure event subscription.
Create a new event subscription
# Output
Field | Description |
---|---|
Topic | The topic of the event subscription in Azure. |
Subject | The subject of the event subscription in Azure |
Event type | The event type |
ID | The unique ID of the event |
Container | The container the event occurred in |
Blob Name | The name of the blob which caused the event |
ID | The unique ID of the event |
Data | Contains information about the blob that was created. |
Data version | The data version of the blob. This increases when there are multiple blob snapshots. |
Metadata version | The metadata version of the blob |
Event time | The exact time of the event |
Last updated: 6/14/2021, 8:58:36 PM