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".
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".
- Here is the dashboard. Click "Logic App Designer".
Step 3. Now, click "Blank Logic App".
Step 4
- Sign in to Nexmo Account from https://www.nexmo.com/.
- Create an account.
- Get into the Dashboard.
- Choose the SMS and note down the API key and Secret key.
Step 5. Configure the MSN Weather and Nexmo.
- Search for MSN Weather in the search bar.
- Choose the 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.
Step 6
- Next, search for Nexmo.
- Then, choose the action for the workflow.
- Next, paste the connection name, API key, and API Secret from Nexmo.
- Then, choose the fields you want. Enter the location, phone number, and SMS format text.
- The final workflow will be like this.
Step 7. Now, let us save and run the workflow.
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.