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

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

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.
Highlighted
Regular Visitor

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

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
August 2020 Community Challenge: Can You Solve These?

August 2020 Community Challenge: Can You Solve These?

We're excited to announce our first cross-community 'Can You Solve These?' challenge!

secondImage

Return to Workplace

Reopen responsibly, monitor intelligently, and protect continuously with solutions for a safer work environment.

secondImage

Super Users Coming in August

We are excited for the next Super User season.

secondImage

Community User Group Member Badges

FIll out a quick form to claim your community user group member badge today!

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors
Users online (4,995)