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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Overwrite/skip file wh...
Power Automate
Unanswered

Overwrite/skip file when creating a file in SharePoint using PAD

(0) ShareShare
ReportReport
Posted on by 22

Hi everyone

 

currently i have a flow in PAD to create some new files in sharedpoint, everything is working fine until the file exist in sharepoint

so when a file name exist it will error and stop the proccess, what i want it to do is to overwrite it or skip and go to the next step

 

 

 

  • UshaJyothiKasibhotla Profile Picture
    229 Moderator on at
    Spoiler (Highlight to read)
    Hi@s3135977 

    Use if file exists activity and give the name of your file...
    Then create a label where you want to navigate if file exists and 
    Inside the if file exists 
    Use activity to to and give the label name you have created.......

    Hope this helps
    Usha.
    Hi Use if file exists activity and give the name of your file...Then create a label where you want to navigate if file exists and Inside the if file exists Use activity to to and give the label name you have created.......Hope this helpsUsha.
  • CU16071609-1 Profile Picture
    6,255 Moderator on at

    @s3135977 

     

    To my understanding, PAD doesn't offer a direct method for checking file existence within the SharePoint package.

     

    My suggestion would be to utilize the "Get Files" action to retrieve files from SharePoint. Afterward, you can check whether the specific file exists. Depending on the result, you can proceed with renaming or skipping it accordingly.

     

     

    Deenuji_0-1713624835910.png

     

     


    Thanks,
    Deenuji Loganathan 👩‍💻
    Automation Evangelist 🤖
    Follow me on LinkedIn 👥

    -------------------------------------------------------------------------------------------------------------
    If I've helped solve your query, kindly mark my response as the solution ✔ and give it a thumbs up!👍 Your feedback supports future seekers 🚀

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
Mohsin Ali Profile Picture

Mohsin Ali 432

#2
11manish Profile Picture

11manish 313 Super User 2026 Season 2

#3
M Bilal Khan Profile Picture

M Bilal Khan 154

Last 30 days Overall leaderboard