web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Create folder skip if ...
Power Automate
Unanswered

Create folder skip if folder exist and complete remaining steps

(0) ShareShare
ReportReport
Posted on by 193

Hello,

I have the following flow in place and I need to add a step that if the folder already exists on create new folder that it skips that section and completes the following steps after:

shelleyb_0-1632490300533.png

 

I did found Solved: Sharepoint Create File - Skip for files that alrea... - Power Platform Community where it suggested adding a scope action, is this the best way to resolve it?

Categories:
I have the same question (0)
  • eric-cheng Profile Picture
    5,171 on at

    Hi @shelleyb ,

     

    Yes, the scope and configure run after action method will work.

     

    The other way is to check for the folder but will require loops depending on how many folders there are.

     

    Pretty sure theres also a SP API to check if a folder exists but again, does the same job as option 1

    --------------------------------------------------------------------------
    If I have answered your question, please mark my post as a solution
    If you have found my response helpful, please give it a thumbs up

    Connect on LinkedIn

  • shelleyb Profile Picture
    193 on at

    thanks @eric-cheng silly question when I add the scope as a parallel action I'll just need to add the proceeding steps on that side, so something like these 

     

    shelleyb_0-1632492495994.png

     

     

  • Verified answer
    eric-cheng Profile Picture
    5,171 on at

    Hi @shelleyb ,

     

    No problems.

     

    You dont really need the parallel action.

     

    Have a look at this blog and it should clear it up.  Put your create folder and create sharing link in the try block and put everything else in the finally block.

     

    ericcheng_0-1632493079220.png

     

     

    Try - try doing these actions

    Catch - if error occured in try, run these

    Finally - run these avtions regardless of success/fail

     

    --------------------------------------------------------------------------
    If I have answered your question, please mark my post as a solution
    If you have found my response helpful, please give it a thumbs up

    Connect on LinkedIn

  • shelleyb Profile Picture
    193 on at

    Perfect! thank you 🙂

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 522 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard