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 / Append CSV file with i...
Power Automate
Answered

Append CSV file with in OneDrive using flow

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hi,

 

Is there any way to do append action for CSV file which is already available in Onedrive.

If so, please guide me to resolve the issue. I am able to read the csv file content from Onedrive but unable to append it to the destination file which is also available in Onedrive location.

I have used update file activity but it is overwriting the file content instead of merging.

 

 

Regards,

Roselin

Roselin

 

Categories:
I have the same question (0)
  • takolota1 Profile Picture
    4,980 Moderator on at

    @Anonymous 

     

    If you just want to add one CSV data set to another, and they have the exact same columns, then you may be able to put the dynamic content output of one file in a Compose, go one linebreak down, then enter the other csv file’s dynamic content.

     

    And if they have headers, then you can split the 2nd file on linebreaks, skip the 1st row, then convert it back to a string with a join on linebreaks.

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hi,

     

    I have tried doing above steps & getting expected result and also I can parse that into JSON also. But how to append that data into already existing CSV file in Onedrive. If I use Update it is overwriting the file instead of merging. Please help me on this.

     

    Regards,

    Roselin

  • Verified answer
    takolota1 Profile Picture
    4,980 Moderator on at

    I created a test and successfully appended two CSV file contents to a single file as I described earlier.

    AppendCSVFlow.pngAppendCSVFlow2.png

    If you include both the existing data & the data you want to append, then it will overwrite it with both the existing data & the new data combined.

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Thank you so much @takolota 

     

    Its working as expected. Thanks a lot

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 March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 604

#2
Valantis Profile Picture

Valantis 502

#3
Vish WR Profile Picture

Vish WR 417

Last 30 days Overall leaderboard