Microsoft Flow
Microsoft Flow is a cloud-based service. It allows us to react to an event in one service and do something with the data from that event into another service. The users can build workflows that automatically do some business tasks and processes across applications and services.
It helps us to monitor all our workflow with the help of a great cloud solution called “Microsoft Flow”. Before reading this article, please go through some important articles mentioned below.
Flow button
There are many repetitive tasks that we all wish we could run with just a tap of a button. For example, you may need to quickly email your team to remind them to join the daily team sync, or you may want to start a new Visual Studio Online build from your code base after you are notified there are no more check-ins planned for the day. Button flows allow you to accomplish these and many other tasks simply by tapping a button on your mobile device. To learn more, click here.
OneDrive
OneDrive is a file-hosting service operated by Microsoft as part of its suite of online services. It allows the users to store files as well as other personal data like Windows Settings or BitLocker recovery keys in the cloud. Files can be synced to a PC and accessed from a web browser or a mobile device, as well as shared publicly or with specific people. Log into OneDrive from here.
How to create a Microsoft Flow to connect the Flow button and OneDrive
Here, we will connect a Flow button to OneDrive.
Prerequisites
- Microsoft Account – Corporate ID.
- Microsoft Flow Mobile App.
- Microsoft OneDrive Account
Follow the below steps to build a Flow using a template.
Step 1
Log in to www.flow.microsoft.com.
Here is the dashboard.
Step 2
Choose the Templates menu from the menu bar.
Search "Upload photos to OneDrive" in the search bar and choose "Upload photos to OneDrive for Business" template.
Now, click on the "Use this template" button.
Step 3
Sign into OneDrive and give it permission to access your accounts.
Step 4
After all of these get configured, click on the "Continue" button.
Step 5
Create a folder in OneDrive.
Folder is created.
Step 6
Next, let us configure the flow using Flow button and OneDrive.
Now, choose a folder to save the images.
The final Flow should be like this. Click on "Save Flow".
The Flow is created.
Output
Press the "Button" option and it will run!
Now, the flow starts.
Choose the Image content from mobile.
You can choose either camera or the photo library.
Select an Image.
Upload the Image.
The image is saved on OneDrive to a specific folder.
Open the image.
Here is the history of the flow.
Summary
I hope you understood how to easily upload an image to OneDrive for Business automatically. Stay tuned for more Flow articles.