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

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

7 REPLIES 7
ChristianAbata
Super User
Super User

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

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?

Sumanth2205
Regular Visitor

Hi,

 

If the email contains multiple attachments how to save it in a single folder.

Helpful resources

Announcements
 WHAT’S NEXT AT MICROSOFT IGNITE 2022

WHAT’S NEXT AT MICROSOFT IGNITE 2022

Explore the latest innovations, learn from product experts and partners, level up your skillset, and create connections from around the world.

Register for a Free Workshop.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

Users online (1,599)