Trigger an Azure Event Grid workflow from an IoT device

Intermediate
Developer
IoT
IoT Hub
Event Grid
Logic Apps

Learn the basics of integrating Azure IoT Hub with Azure Event Grid to trigger a workflow when a new IoT device is added to a solution.

Learning objectives

Azure IoT Hub integrates with Azure Event Grid so that you can send event notifications to other services and trigger downstream processes and workflows. Configure your business applications to listen for IoT Hub events so that you can react to critical events in a reliable, scalable, and secure manner. For example, build an application that updates a database, creates a work ticket, and delivers an email notification every time a new IoT device is registered to your IoT hub.

In this module, you'll learn about integrating Azure IoT Hub with Azure Event Grid to trigger a workflow in a business scenario when a new IoT device is added to a solution. Here are the steps you'll go through:

  • Create an IoT hub
  • Create a logic app that sends an email
  • Configure an Azure IoT Hub event subscription
  • Create new devices that trigger a logic app, which sends an email to an operator

Prerequisites

  • Introductory knowledge of the purpose of Azure IoT
  • Ability to navigate the Azure IoT portal
  • Outlook.com email address (you can create one for this module)