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 / Automated save attachm...
Power Automate
Unanswered

Automated save attachment from sharepoint list to specified folder on sharepoint, and replace file if the same file is exist

(0) ShareShare
ReportReport
Posted on by

I want to build a automated flow with triger "When an item is created" to save all attachment from sharepoint list to the specified folder on sharepoint with condition :

 

if the same file is exist, then replaced it

if file not exist, then create it

Categories:
I have the same question (0)
  • michael0808 Profile Picture
    304 on at

    This is a very basic flow that will definately need some work. But you can tweak it to your needs.

    michael0808_0-1700536589809.png

    michael0808_1-1700536603797.png

    michael0808_2-1700536625671.png

     

    I hope this points you in the right direction.

     

  • v-mengmli-msft Profile Picture
    on at

    Hi @wachid ,

     

    As for how to replace file with same name, it is equal to update file with same name.

    Please try this:

    sub1 is name of my destination folder.

    vmengmlimsft_1-1700544439869.png

    vmengmlimsft_2-1700544521688.png

     

    vmengmlimsft_3-1700544824793.png

    vmengmlimsft_4-1700544976912.png

    vmengmlimsft_6-1700545204604.png

     

    Another method is delete file first and create file when condition is false.

     

     

    Thanks for reading!

    Rimmon

     

  • wachid Profile Picture
    on at

    Flow run failed

    wachid_0-1700705122084.png



    wachid_1-1700705190169.png

     

  • v-mengmli-msft Profile Picture
    on at

    Please show me the setting of Get attachments in your flow.

    vmengmlimsft_0-1700718181606.png

     

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