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 / Email attatchment to e...
Power Automate
Unanswered

Email attatchment to existing sharepoint file

(0) ShareShare
ReportReport
Posted on by 2

Hello, I have a working power automate flow that when I receive an email from a certain mail, I add the file to a sharepoint folder, but when a new one arrives the other one is overwritten, now for one of my objectives that is okay. But for another objective I want to store the history of what I receive, so If i want to add the csv file to the already existing csv file in the sharepoint folder. Such that overtime the file keeps  increasing incrementally with new information. So far i Have this.

 

voorbeeldd.png

 

But now instead it should look if the file already exists and add to it.

I have the same question (0)
  • OkanMTL Profile Picture
    703 Super User 2024 Season 1 on at

    Hi,

     

    You can use the "Move File" sharepoint activity, it has an option to check if a file exists and if so, to keep both. 

     

    But, in order to use this activity the file has to be created already so what you can do is:

    1. Save the file to a temporary location

    2. Use move file activity and check if file exists

    3. delete file from temp location.

     

    Succes! 😛

  • lexdekrijgermbo Profile Picture
    2 on at

    But if I do this I will get two seperate files, and not one bigger file. I want to put the new attachment into the existing file in sharepoint, not create a new file in sharepoint.

  • OkanMTL Profile Picture
    703 Super User 2024 Season 1 on at

    Ah, my bad.

     

    Try this 

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Vish WR Profile Picture

Vish WR 862

#2
Valantis Profile Picture

Valantis 738

#3
Haque Profile Picture

Haque 553

Last 30 days Overall leaderboard