Create your first flow
In this unit, you'll see more of Power Automate as you build your first flow.
It can be time consuming to search for attachments through email. The flow that you'll build saves time by storing all your email attachments in a folder on your Microsoft OneDrive for Business account.
Choose a template
Our many templates will get your flows flowing quickly. They'll help you connect the services you're already using in more meaningful ways.
Sign in to Power Automate, and select the Templates menu. You can sign up for Power Automate with a Microsoft account.
Select the Save Office 365 email attachments to OneDrive for Business template.
Create the flow
Save Office 365 email attachments to OneDrive for Business is one of our one-click templates, in which you can answer questions that are necessary to build the flow, so that you don't have to write a line of code.
On the template graphic, there's a description of what the template does and what it needs to succeed.
You'll be asked to provide credentials for the Microsoft Office 365 Outlook and Microsoft OneDrive for Business services. If you regularly use both services, you'll already be signed in.
Click on the template and select Create Flow.
On the next page, Power Automate creates the flow for you.
- It will connect to your work email to get any attachments.
- It will then create a folder on your OneDrive for Business account to automatically put every attachment that's sent to your work email address in that folder.
Select the My flows menu.
Select the flow you just created and click Edit to see how it works.
Send an email with an attachment, or have another user send an email with an attachment. You then should see a green check mark, which indicates that the flow succeeded.
Select Edit to see how the flow is defined.
Select Succeeded to see the run history and the results.
In this case, all parts of the flow were successful.
Important concepts in Power Automate
Keep these concepts in mind when building flows:
- Every flow has two main parts: a trigger, and one or more actions.
- You can think of the trigger as the starting action for the flow. The trigger can be something like a new email arriving in your inbox or a new item being added to a SharePoint list.
- Actions are what you want to happen when a trigger is invoked. For example, the new email trigger will start the action of creating a new file on OneDrive for Business. Other examples of actions include sending an email, posting a tweet, and starting an approval.
These concepts will come into play later, when you build your own flows from scratch. In the next unit, we'll look at the Power Automate mobile app and its capabilities.