cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
pruste
New Member

Flow for automatically creating subfolders running when file is created

Hi All,

 

I hope someone can help. I started using Power Automate a couple of days ago and I am currently struggling. 

 

I have set up a flow to create subfolders when a new client is added to the client folder, and this is working. 

However, I would like this flow to only run when a new "client" is added. Right now the flow is running everytime anything is done in the folder or the subfolders connected. 

 

Please see attached screenshots of the flow. 

Can anyone help me to solve this, to make sure that the flow only runs when a new folder is added to the "Kunder" folder?

pruste_0-1649849833163.pngpruste_1-1649849865850.pngpruste_2-1649849888019.pngpruste_3-1649849909539.png

 

 

 

2 REPLIES 2
Babybots
Resolver I
Resolver I

To know whether or not a client exists currently, you'd have to reference existing clients in some way. If you created a SharePoint list that would auto populate with client names as they're folders are added, you'd be able to reference that list and use a conditional statement to figure out whether subfolders should be created or not. This is one of many approaches that could be taken here

Hi, 

Thank you for the reply. 

I am not sure if i explained my problem well enough. 

 

The problem I have, is that the flow is triggered anytime anyone does something in the folders connected to the set up I have. 

How can I make sure that the flow is only triggered when a folder is created in the "Kunder"-folder, and not when any other action is done?

I am grateful for any help. 

 

Thanks, 

Per

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

New Ideas Forum MPA.jpg

A new place to submit your Ideas for Power Automate

Announcing a new way to share your feedback with the Power Automate Team.

MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

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

MPA Licensing.jpg

Ask your licensing questions at the Power Automate AMA!

Join Priya Kodukula and the licensing team, super users and MVPs to find answers to your questions on Power Automate licensing.

Users online (1,903)