cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Regular Visitor

Copy rows from Google Sheet then update CSV file in Google drive

I am trying to build an automated update of a CSV file placed in Google Drive.

The update should be based upon an updated Google Sheet.

Due to limitations in Google Sheet I am trying to "Get rows" and then "Update files in Google Drive" - however only one of the rows from the Google Sheet is visible in the CSV-file once complete. 

Any possibility to have all rows from the Gsheet transferred?

Or perhaps another way to obtain same goal?

2 REPLIES 2
Highlighted
Community Support
Community Support

Hi @mrpilot ,

Does your Google Sheet have same data structure as your Google Driver CSV file?

Do you want to use the "Update file" action of Google Drive connector to update your CSV file with records from your Google Sheet?

 

If you want to use the "Update file" action of Google Drive connector to update your CSV file with records from your Google Sheet, I afraid that there is no way to achieve your needs in Power Automate currently.

 

The "File content" field of the "Update file" action of Google Drive connector is required to provide a binary data. But the "Get rows" action of Google Sheet is used to retrieve all records from a sheet rather than a file content.

 

If you would like this feature to be added in PowerApps, please consider submit an idea to Power Automate Ideas Forum:

https://powerusers.microsoft.com/t5/Power-Automate-Ideas/idb-p/MPAIdeas

 

As an alternative solution, you could consider store the Excel sheet (whose data has been formatted as Table) within your specific OneDrive folder, then configure your flow as below:

5.JPG

 

 

Best regards,

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Thanks @v-xida-msft ,

 

I tried your suggested solution. However CSV file came out corrupted.

I couldnt get the source file (in "condition") come up as automatic suggestion (dynamic output) - then I entered the filename manually. When testing the flow it turned out the condition came out FALSE - then I entered the update google file in the "NO" option (instead of "Yes" as suggested by you) - which sort of  worked - but the result as mentioned earlier is garbled.

Not sure if above is understandable?

Helpful resources

Announcements
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

News & Announcements

Community Blog

Stay up tp date on the latest blogs and activities in the community News & Announcements.

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Community Highlights

Community Highlights

Check out the Power Platform Community Highlights

Top Solution Authors
Top Kudoed Authors
Users online (9,611)