In this article, I am going to show how we can save an attachment received in Outlook to a SharePoint List.
First, we need to choose the template as shown below. From Templates, select "Once an Outlook email is received save it to SharePoint".
Now, the first step is to select Action => when an email arrives. In this action, we can select the folder in the email; it could be Inbox, as I have selected, or any other personal folder in the email.
Also, we have to fill in the parameters as shown below.
In the above screenshot, we can see many parameters. One of them is Subject Filter – I have written a monthly report which means that any email to [email protected] with the subject containing words "Monthly report" will save the attachment in the SharePoint list.
Then, as shown below, add an "Apply to each" action. This action loops for every attachment in the email.
After that, inside the loop, add "Create SharePoint List item" action, select site address and List name to create an item, also provide the title to the List Item. I have provided "Concatenation of subject and Attachment Id" as the title of the item.
Once the item is created, we need to add the attachment to the SharePoint list item. Choose the action, "Add attachment," from the list of actions. Below is the screenshot.
I made a test run.
Here, we can see that attachments are now saved in the SharePoint list.