Get Daily Weather Reports Delivered To Your Phone Using Azure Logic Apps

Azure Logic Apps

Logic App is a cloud-based service that allows us to react to an event in one service (such as SharePoint online) and do something with the data from that event in another service (such as Twitter). It makes it practical and simple for business processes. The users build workflows that automatically perform some business tasks and processes across applications and services. We can connect our business-critical apps and services with Azure Logic Apps, automating our workflows without writing a single line of code.

Before reading this article, please go through some important article links mentioned below.

Here, we need to connect to MS Weather and Nexmo.

Prerequisites

  • Microsoft Azure Account
  • Nexmo Account

Follow the below steps to build a Workflow using a template.

Step 1

  • Log into https://portal.azure.com/.
  • In the dashboard, choose to create a resource and click on Integration. Now, select "Logic App".
    Logic App

Step 2

  • Enter the name you want to assign to the logic. Select the subscription and resource group where you organize the related resources and the location where your logic app is stored. Then, click on "Create".
     Resources and location
  • Here is the dashboard. Click "Logic App Designer".
    Logic App Designer

Step 3. Now, click "Blank Logic App".

Blank Logic App

Step 4

  • Sign in to Nexmo Account from https://www.nexmo.com/.
     Nexmo Account
  • Create an account.
    Account
  • Get into the Dashboard.
     Dashboard
  • Choose the SMS and note down the API key and Secret key.
     SMS

Step 5. Configure the MSN Weather and Nexmo.

  • Search for MSN Weather in the search bar.
     MSN
  • Choose the Triggers.
    Triggers
  • Next, enter your current Location, Region, Country, Longitude, and latitude. Then, set the time interval and frequency for checking the workflow as one minute.
     Current Location

Step 6

  • Next, search for Nexmo.
    Nexmo
  • Then, choose the action for the workflow.
     Workflow
  • Next, paste the connection name, API key, and API Secret from Nexmo.
     API Secret
  • Then, choose the fields you want. Enter the location, phone number, and SMS format text.
    SMS format text
  • The final workflow will be like this.
     Final workflow

Step 7. Now, let us save and run the workflow.

Save

Output

Once the climate changes in your entered location, you will get an SMS notification.

Summary

I hope you understand how to get a weather report notification to your phone number using the Azure Logic App. Stay tuned for more Logic App articles.