Azure Logic Apps
Logic App is a cloud-based service that allows us to react to an event in one service (such as SharePoint online) and do something with the data from that event into another service (such as Twitter). It makes it practical and simple for business processes. The users build workflows that automatically do some business tasks and processes across applications and services. We can connect our business-critical apps and services with Azure Logic Apps, automating our workflows without writing a single line of code.
Before reading this article, please go through some important article links mentioned below.
Here, we will see how we can save email attachments from Outlook to Dropbox automatically.
Outlook
Microsoft Outlook is a personal information manager from Microsoft, available as a part of the Microsoft Office Suite. Although often used mainly as an email application, it also includes a calendar, task manager, contact manager, note taking, journal, and web browsing. Login here.
Dropbox
Dropbox is a file hosting service operated by American company Dropbox, Inc. Dropbox creates a special folder on the user's computer, the contents of which are then synchronized to Dropbox's servers and to other computers and devices that the user has installed Dropbox on, keeping the same files up-to-date on all devices. Login here
Why we save email attachments from Outlook to Dropbox
Attachments are a pain, especially when there are multiple files attached. Tired of searching through your emails for attachments? You have to manage all the attachments at a common place to reduce your stress. For that, Microsoft Flow introduced the Flow that saves your Outlook attachments to Dropbox. As soon as we receive an email, the attachments will automatically appear in our Attachments folder.
It stores all the attachments we receive in our Outlook.com inbox to a specific folder in Dropbox, i.e., one place for easy access.
How to create a Logic App to save email attachment from Outlook to Dropbox
Here, we need to connect Outlook and Dropbox.
Prerequisites
- Microsoft Azure Account
- Outlook Account
- DropBox Account
Follow the below steps to build a Work Flow using a template.
Step 1
Log into https://portal.azure.com/.
In the dashboard, choose to create a resource and click on Integration. Now, select "Logic App".
Step 2
Enter the name you want to assign to the logic. Select the subscription and resource group where you organize related resources and location where your logic app is stored. Then, click on "Create".
Here is the dashboard. Click on "Logic App Designer".
Step 3
Now, click on the Blank Logic App.
Step 4
Configure the data by signing in to the Outlook and Dropbox.
- Search for Outlook in the search bar.
- Next, set the time interval and frequency for checking the workflow as one minute.
- Click "Show Advanced Options".
- Change "Has Attachment" and "Include Attachment" attributes from No to Yes.
Step 5
- Next, search for Dropbox.
- Then, choose the action for the workflow.
- We need to give permission to access our accounts.
- Next, Choose File path, File Name, and File Content for saving the Outlook emails from Outlook.
- Then, choose the fields you want.
- The final workflow will be like this.
Step 6
Now, let us save and run the workflow.
Output
Send an email to your Outlook e-mail ID with an attachment.
Email received.
Now, the attachment should be saved in Dropbox.
Summary
I hope you understood how to save the Email attachments from Outlook.com to Dropbox and how to run it. Stay tuned for more Logic App articles.