Route Events to a Logic App
  • Updated on 28 Jun 2019
  • 1 minute to read
  • Contributors
  • Print
  • Comments
  • Share
  • Dark
    Light

Route Events to a Logic App

  • Print
  • Comments
  • Share
  • Dark
    Light

#ServerlessTips - Azure Event Grid
Author: Steef-Jan Wiggers Azure MVP

With Event Grid as a kind of Event Broker, any application can push events to an Event Topic, and any or multiple subscribers can have events pushed to them. One of the event subscribers can be a Logic App, a service in Azure that automates workflows with a low-code approach.

A classic example with Event Grid is when a blob is created in a container resulting in a blobCreated event.

Through the events in the storage account blade, you can create a Logic App handling this event.

Route events to a Logic Ap

For example, when you click create on “When a new blob is uploaded” you will see a Logic App designer appear with a predefined template. You can use this template to handle the blobCreated event.

Route events to a Logic App2

Next, you can further enhance the template and Save the Logic App.

You’ll need to specify a name and then Azure provisions the Logic App for you. When you return the events blade in the storage account, you will find that the Logic App subscribes to the blobCreated event.

Blob created

Note that both event schemas are checked and you could uncheck the Blob Deleted.
Was this article helpful?