Course Introduction and Overview
Components of Power Automate
Building and Managing Flows
The course is part of this learning path
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.
- 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
- 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
- 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)
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.
- Let’s start with an instant flow which gives us our button. Give it a name and select Manually trigger a flow.
- Click on the manually trigger a flow. Notice you could put in a request for input of different types.
- Click on New step.
- Choose MSN weather, Get today’s weather.
- Add your location.
- Click on New step.
- Choose to send email V2.
- Fill in who to send it to.
- In the subject let’s mix in some dynamic content for the location.
- We then fill in the body with text and dynamic content from the actions above.
- I am adding a location, a day summary, and a night summary.
- Save the flow.
- Go back one step.
- 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.
- Then run flow.
- 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.
- Fill in the name and choose when you want to start the first instance of the flow. Let’s repeat it every day.
- We click Create to see our new flow.
- We add a new step from the clipboard and choose the forecast. Fill in the location.
- We then add a new step for the email and bring it from our clipboard.
- 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.
- Go to create and choose Automated cloud flow.
- We name our file and then choose a trigger. Remember the name is not required at this stage but the trigger is.
- Type in Twitter to see the When a new tweet is posted trigger and choose it. Then create.
- In the search text we can put our hashtag, and anything that might be from cloudacademy.
- Add a new step. Search for twitter. This time we see many actions.
- Choose Get user. Fill in the Username with the dynamic content of the same.
- Add a new step, search for variable, and choose Initialize variable.
- 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.
- 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.
- On the Yes side, add the Twitter action of Retweet.
- In Tweet id, we will put the dynamic content of Tweet id.
- I want to give credit to the user so I’m going to leave the option on no for Trim user.
- Now we add another variable action called Increment variable.
- We choose the name of our initialized variable, TweetCount.
- And then enter the value of 1. Each time it retweets, it will add a 1.
- 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.
- 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.
- 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.
- So we find the Delay action and put 1 as the count, and Day as the unit.
- 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.
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.