Creating An Azure Logic App For SharePoint Online List

Azure Logic Apps is a cloud service that helps you automate the business processes,tasks and workflows when you need to integrate apps, data and services across organizations.

Azure Logic Apps

Azure Logic Apps is a cloud service that helps you automate business processes, tasks, and workflows when you need to integrate apps, data, and services across organizations.

Create a list in your SharePoint site. 

Create a logic app for SharePoint 

Inside the Azure portal, click on "Create a resource" >> "Integration" and then, click "Logic App".

Azure Logic App for Sharepoint Online List
 
Next, give a name to your logic app, create or select a resource group, and confirm the location.
 
Azure Logic App for Sharepoint Online List
Then, "Create" the app.

Azure Logic App for Sharepoint Online List

After Azure deploys your app, the Logic Apps Designer opens and shows a page with an introduction video and commonly used triggers. Under Templates, choose Blank Logic App Templates.

Azure Logic App for Sharepoint Online List

I chose ‘SharePoint'.

Azure Logic App for Sharepoint Online List

Next, sign in to Sharepoint. For the trigger, I chose ‘When an item is created or modified'.

Azure Logic App for Sharepoint Online List

Next, add a new step and select an action. I selected the action ‘Office 365 Outlook – Send an email’.

Azure Logic App for Sharepoint Online List

Next, I signed in to the Outlook connection; then I filled out the send email card with "To", "Subject", and "Body".

In this example, I just put in the email of the new item in the To section of the email. (Instead of giving direct email addresses, I am using the email column of SharePoint list as the To recipients.) 

Azure Logic App for Sharepoint Online List

Save the Logic App. One thing to note with logic apps is that the "Save" action basically makes the app ‘go-live’, so as soon as I save, it will start to run once every 2 minutes to pull my SharePoint list.

Azure Logic App for Sharepoint Online List

Let's test the logic app by adding a new SharePoint list item to my test list (a blank custom list).

Azure Logic App for Sharepoint Online List

And, if I check my inbox, I can see that my test email was generated and I can see the test title that I entered for my new item. 

Azure Logic App for Sharepoint Online List