cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Helper II
Helper II

Sharepoint folder creation when a specific email arrives

Hello there..

 

I would like to create a flow where I am able to create a folder when an email arrives with a certain subject.

 

I started with making the flow. Set my criteria. 

 

I get three options. so i chose my site address and then chose the library

 

but I'm getting stuck when it comes to folder path

 

how do I tell flow to create a folder exactly where I need on the share point?

 

My current example where I need to create the folder is document/tracker/metrics/site/*then new folder every time a new attachment is received*

 

How do i achieve that? oh also after successfully creating that folder, obviously save that attachment in that folder

 

Thanks!

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Super User III
Super User III

Re: Sharepoint folder creation when a specific email arrives

hi @Towaiji  you can do it following this example.

 

f1.PNGf2.PNG



Did I answer your question? Please consider to Mark
my post as a solution! to guide others :winking_face:

Proud to be a Flownaut!


If you want you can follow me at www.christianabata.com Quieres contenido en español? Síguenos en Power Automate LA

View solution in original post

6 REPLIES 6
Highlighted
Super User III
Super User III

Re: Sharepoint folder creation when a specific email arrives

hi @Towaiji  you can do it following this example.

 

f1.PNGf2.PNG



Did I answer your question? Please consider to Mark
my post as a solution! to guide others :winking_face:

Proud to be a Flownaut!


If you want you can follow me at www.christianabata.com Quieres contenido en español? Síguenos en Power Automate LA

View solution in original post

Highlighted
Helper II
Helper II

Re: Sharepoint folder creation when a specific email arrives

Hello there,

 

I tried the settings you showed and as of now it is creating a new folder and new file but with one problem.

 

The file and folder are beside each other. The file is not being saved inside the new folder.

Highlighted
Super User III
Super User III

Re: Sharepoint folder creation when a specific email arrives

@Towaiji  could you share an screanshot, becouse I tested the flow an the file is inside.

And please use @  to tag me 😉



Did I answer your question? Please consider to Mark
my post as a solution! to guide others :winking_face:

Proud to be a Flownaut!


If you want you can follow me at www.christianabata.com Quieres contenido en español? Síguenos en Power Automate LA
Highlighted
Helper II
Helper II

Re: Sharepoint folder creation when a specific email arrives

Highlighted
Super User III
Super User III

Re: Sharepoint folder creation when a specific email arrives

@Towaiji  you are using folder Path and is just Path from Get Folder Metadata



Did I answer your question? Please consider to Mark
my post as a solution! to guide others :winking_face:

Proud to be a Flownaut!


If you want you can follow me at www.christianabata.com Quieres contenido en español? Síguenos en Power Automate LA
Highlighted
Helper II
Helper II

Re: Sharepoint folder creation when a specific email arrives

Quick question

 

I need to create a new folder with automatic increment in number.

 

Right now I'm at 1310, how do I tell flow that next folder created should be 1311 and so on?

 

Im using as the picture above, range(1309,1) but its always creating same folder 1309 and replacing the file.. do you know why or how I can make it work?

Helpful resources

Announcements
firstImage

Super User Program Update

Three Super User rank tiers have been launched!

firstImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

Top Solution Authors
Top Kudoed Authors
Users online (6,118)