The Microsoft Flow Website describes Flow as something that:
... allows you to create automated workflows between your favorite apps and services to get notifications, synchronize files, collect data, and more.
Think of IFTTT style triggers and workflows, based on the Microsoft Office365 platform. As with IFTTT, it can also plug into third party providers.
Every flow must consist of two key components; a trigger and an action. The trigger is something that must occur to start the workflow, and action(s) are the things that happen once the workflow is has started.
Let's start out with something simple. We'll first create a flow that looks at our email (trigger), and sends us a push notification (action) when an email arrives that matches our criteria, such as our bill.
First login to https://flow.microsoft.com, create a new blank flow and give it a name.
In the trigger box, enter type in email and select Office 365 Outlook - When a new email arrives.
From here, we can use the advanced options and start to modify and build out the trigger for the Flow.
An important thing to note here, is that no matter how hard I tried, I was unable to get the subject filter to work. So I came up with a work around by adding a condition.
Create a new step, and click Add a condition.
In the condition criteria, select the Subject dynamic content field, and build out the filter condition.
Create a new step, and add an action.
Select Push Notification - Send a push notification
Fill out the details of your notification, and save the flow.
That's all there is to it!
To receive the push notifications, simply install the Microsoft Flow mobile app from your app store of choice and next time you receive a bill you'll get a push notification. Easy peasy!
What we learned
- How to create a basic Flow that consists of a trigger, a condition, and an action.
In the next step, we take a look at saving the attachment to Azure Blob Storage.
- Going with the Flow: Part 1 - Introduction
- Going with the Flow: Part 2 - Creating the Flow
- Going with the Flow: Part 3 - Saving attachments to Azure Blob Storage
- Going with the Flow: Part 4 - Parsing attachments with Powershell
- Going with the Flow: Part 5 - Working with Azure Runbooks
- Going with the Flow: Part 6 - Completing the Flow
- Going with the Flow: Part 7 - Visualizing data in PowerBI