cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Towaiji
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
ChristianAbata
Super User II
Super User II

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
ChristianAbata
Super User II
Super User II

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

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.

@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

@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

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
MBAS Attendee Badge

Claim Your Badge & Digital Swag!

Check out how to claim yours today!

MPA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

secondImage

Are Your Ready?

Test your skills now with the Cloud Skill Challenge.

Top Solution Authors
Top Kudoed Authors
Users online (54,543)