1. Home
  2. Training Library
  3. Microsoft Azure
  4. Courses
  5. Introduction to Microsoft Power Automate

Building Your Flow

Contents

keyboard_tab
Course Introduction and Overview
1
Introduction
PREVIEW1m 52s
2
Overview
PREVIEW1m 54s
Identifying Flows
Building and Managing Flows
Course Conclusion
Start course
Overview
Difficulty
Intermediate
Duration
41m
Students
106
Ratings
5/5
starstarstarstarstar
Description

Power Automate is part of the Microsoft Power Platform and is a powerful tool to create automation flows for workflow processes. In this course, we cover the capabilities of the Power Automate service. You will learn how to identify common components such as flow types, connectors, conditions, expressions, and approvals.

You'll also learn how to build basic flows that can be started immediately with a button, based on an automated trigger, or on a set schedule. We'll explore how to update your flows and correct any issues that might interfere with your flow running successfully.

Furthermore, this course will help you in preparing for the Microsoft PL-900 certification for the Power Platform.

Learning Objectives

  • Describe the different types of flows
  • Identify and choose the proper type of flow trigger
  • Find and use templates to run or modify a flow
  • Use and change data connectors
  • Be able to describe templates, connectors, loops and conditions, expressions, and approvals

Intended Audience

  • IT professionals who are interested in obtaining the Microsoft PL-900 certification
  • Those tasked with automating tasks from Microsoft 365 applications and external application integration

Prerequisites

  • Basic knowledge of the Microsoft 365 applications and a license to create Power Automate Flows (a trial of an Enterprise version would work as a temporary testbed)
Transcript

You’ve now learned enough that we’re going to build your own flow. In one of our first lectures, we talked about how to start flows with a button, automated, or scheduled.

If starting with a Button, it could look like this on my mobile device. I click to find out the weather and I am prompted to select the date. It then displays the weather for me for the location that I put into the flow. Let’s build this flow.

  1. Let’s start with an instant flow which gives us our button. Give it a name and select Manually trigger a flow.
  2. Click on the manually trigger a flow. Notice you could put in a request for input of different types.
  3. Click on New step.
  4. Choose MSN weather, Get today’s weather.
  5. Add your location.
  6. Click on New step.
  7. Choose to send email V2.
  8. Fill in who to send it to.
  9. In the subject let’s mix in some dynamic content for the location.
  10. We then fill in the body with text and dynamic content from the actions above.
  11. I am adding a location, a day summary, and a night summary.
  12. Save the flow.
  13. Go back one step.
  14. From here we can click on Run. The first time running, it will get your permissions lined up. When the green checks are in place, you are good to go. Click continue.
  15. Then run flow.
  16. We should get an email that looks like this.

To see this same flow in a Scheduled cloud flow, we need to start a scheduled flow. First, I’m going to save some steps to my clipboard to use in our new flow.

  1. Fill in the name and choose when you want to start the first instance of the flow. Let’s repeat it every day.
  2. We click Create to see our new flow.
  3. We add a new step from the clipboard and choose the forecast. Fill in the location.
  4. We then add a new step for the email and bring it from our clipboard.
  5. We then save the flow, and it will just run every day. It’s that simple.

Our last flow is an Automated flow. We will build a Twitter flow to retweet any tweet that includes the hashtag #cloudacademy.

  1. Go to create and choose Automated cloud flow.
  2. We name our file and then choose a trigger. Remember the name is not required at this stage but the trigger is.
  3. Type in Twitter to see the When a new tweet is posted trigger and choose it. Then create.
  4. In the search text we can put our hashtag, and anything that might be from cloudacademy.
  5. Add a new step. Search for twitter. This time we see many actions.
  6. Choose Get user. Fill in the Username with the dynamic content of the same.
  7. Add a new step, search for variable, and choose Initialize variable.
  8. Change the name to TweetCount and Type to Integer since this will be a number. I then set the initial number to 0. Twitter doesn’t like you automatically tweeting too many tweets in a day, so I am going to limit the number of times this flow runs.
  9. Now we add a condition where the TweetCount variable is less than or equal to 10. This will be true for ten retweets then it will go to the NO side of the condition.
  10. On the Yes side, add the Twitter action of Retweet.
  11.  In Tweet id, we will put the dynamic content of Tweet id.
  12. I want to give credit to the user so I’m going to leave the option on no for Trim user.
  13. Now we add another variable action called Increment variable.
  14. We choose the name of our initialized variable, TweetCount.
  15. And then enter the value of 1. Each time it retweets, it will add a 1.
  16. Last step for the Yes branch of our control is another control called Terminate which will end the run. We will change the Status to Succeeded.
  17. On the No branch, we add another variable called set variable. We have reached our limit of 10 if it comes down this No branch, so we are going to reset it back to 0. So we pick our variable of TweetCount and set the value to 0.
  18. Now, this would not stop it from posting again in the same day so we will add a delay which will wait to run this again for 1 day.
  19. So we find the Delay action and put 1 as the count, and Day as the unit.
  20. We save and we now can sit back and have our Twitter account tweet about information we are interested in.

We have now learned how to build three flows with different ways to start them up. Let’s look at how data operations might affect these. That’s our next lecture, Data Operations.

About the Author
Avatar
Ron Schindler
SharePoint Architect
Students
106
Courses
1

Ron is an experienced professional with in-depth expertise in SharePoint, Power Automate, Power BI, and Microsoft 365. He enjoys involvement in corporate presentations, training, change management, communications, marketing, and facilitation.

Ron brings this experience together to design SharePoint solutions that meet his client’s business, training, and collaboration needs. His skillset includes: Program Management, Change Management, SharePoint Site Administration and Architecture, Project Management, Graphic Design, and Technology Infrastructure Expertise. Ron is an expert skier and speaks Japanese as a second language.