- Microsoft Flow - Discussion
- Microsoft Flow - Useful Resources
- Microsoft Flow - Quick Guide
- Microsoft Flow - Conclusion
- Microsoft Flow - Flow Management
- Microsoft Flow - Mobile
- Microsoft Flow - Creating a Flow from Template
- Microsoft Flow - Creating a Flow from Blank
- Microsoft Flow - Getting Started
- Microsoft Flow - Introduction
- Microsoft Flow - Home
Selected Reading
- Who is Who
- Computer Glossary
- HR Interview Questions
- Effective Resume Writing
- Questions and Answers
- UPSC IAS Exams Notes
Microsoft Flow - Creating a Flow from Blank
This chapter will take you through the basic elements of a flow and hence make you comfortable with creating a flow.
Before we get started into the elements on Flow, make sure you have logged in and looking at My Flows section.
Cpck New button at the top, you will be presented with the below options.
Cpck Instant - from blank, below screen/wizard will be shown up where you will get to see different Triggers.
Trigger
In Microsoft Flow, a Trigger acts as a starting point for the flow to be built. This is the step where you specify the action which will initiate the flow. It could be selecting a file from a SharePoint pst or as simple as cpcking a button in Web and mobile.
For the purpose of this tutorial, let us name our Flow as My First Flow. Select Manually trigger a flow from the choices of triggering this flow.
Cpck Create to move to the next step. You will be able to see below screen.
As highpghted above, now we will be adding a step. This step will be the Action as a result of Trigger we created above. When cpcked on New Step button, you’ll be able to see below section.
One can easily select an action from the above pst. In the proceeding chapters, we will get into the actual details of an Action.
As you can see, there are various categories of Actions −
Built-in
Standard
Premium
Custom
As required, you can select one from the actions above. You can take some time to understand each tab and respective options.
Steps
A collection of actions makes for the Steps.
For instance, when selected Send Email under Gmail from Actions, one can see Gmail action as shown below.
If you keep on adding multiple actions under this particular action, you will then have created Steps for your flow.
Let us add our Gmail address and get the connection estabpshed. After you have signed up with your Gmail account and provided necessary permissions, you should see below screen.
In the highpghted section above, we will add some details. I am going to send an email to myself with below subject and Email body.
Subject − Test Email
Body − This email is using Microsoft Flow.
Let us ignore the attachment part for now.
Cpck Save button to capture your progress till now.
Testing a Flow
If you observe the interface after you have added the trigger (and not signed in to Gmail), you will be able to see three buttons at the top right section of screen.
The Flow Checker will get activated at the appropriate times. This is useful when checking whether your flow is accurate or not. If you cpck on the Flow Checker in above state, you will be able to see below screen −
If you look at the instruction indicated by point 1, it says “Got empty definition for workflow action.”
While these statements are best comprehended by a Power User of Microsoft Flow, some of the messages can be understood by a normal/beginner user as well.
Necessarily, Flow Checker communicates what is missing in your flow created.
In our case, we didn’t Sign In to Gmail account, so that is being raised as an Error.
At the right side of the screen, you can see the Send_email error under the Errors section.
In this way, we can check the errors in our flow and hence test our Flow even before running it.
Test button
Cpck the test button to see how the Flow executes.
When you cpck on the Test button, a hover will appear from the right side of screen.
This will provide you two options for performing a trigger action.
Select “I will perform the trigger action” button and Cpck Test.
You will be presented with the above screen talking about the status of the apps in use. We are currently using Gmail, so it is showing it’s sign in status as green check mark.
Cpck Continue.
On the next screen, cpck Run Flow. Success screen will show up as below.
This is how one can create a simple flow from scratch. In Chapter 6, we will look at Flow Runs Page in detail.