How can I create a Google Sheet copy from spreadsheet in Google Drive?
Hello fine folks!
I want to take a file that gets dropped into a specific Google Drive folder that may take a Google Sheet or Google Excel file.
In the instance that it’s a Google Excel file, that obviously won’t work with my flow since I need to use the “Google Sheets: Get Many Spreadsheet Rows” step so my thinking was that I’d create a brand new Google Sheets spreadsheet and then copy the contents of the Excel sheet into the Google Sheet. Is this possible?
Here is an image of my current flow:
Currently, when I try to test this with an .xlsx sheet, it gives me the following error:
With the current configuration being:
Page 1 / 2
Hi @blazersfan77
Try this Zap action: GDrive - Copy File
Set convert to Document to true, which will convert files to Google Apps Format. (e.g. GDoc, GSheets, GSlides)
Super helpful! Not sure where the issue lies within my flow now that I’ve implemented what you recommended.
When I drop an excel sheet to test for my trigger, it gets to the sheets step and cannot find the file that was copied - here are some screenshots:
Any thoughts?
@blazersfan77
We would need to see how your Zap steps are configured in EDIT mode for the “Configure” section.
Error indicates you have a Worksheet ID selected that is not valid for the selected Spreadsheet ID.
Try using ID: 0
Using ID: 1 worked (I couldn’t find ID: 0)!
But Now I’m having trouble getting the Google Sheets: Get many Spreadsheet Rows step through without hiccups:
Here is the configuration I have within the edit mode:
For context: There are no intentions to use any other name for the worksheet besides “Sheet1.”
Any ideas?
@blazersfan77
Try using the ...] button to switch to “Custom”, then set a value of: 0
When you duplicate the spreadsheet the worksheet should have an internal worksheet ID of 0.
So, testing that in the editor worked great! When I published and gave it a go though…
Any ideas?
@blazersfan77
Check your Zap Runs history details to see the DATA IN/OUT for each step, plus tabs for Troubleshooting and Logs to help you make sense of the encountered error: https://zapier.com/app/history/
Make sure the combo of Drive/Folder/File are valid.
Step 3 is trying to copy the file from Step 1.
Are you trying to copy the file from Step 1 or from Step 2?
I’ve taken the record that’s been giving me the error and have been trying to troubleshoot within the editor. Troubleshooting has led me to believe it has to do with some sort of incorrect mapping with the ID:
Side note: one thing that’s bothering me a lot is the fact that in my first step, it’s not letting me select “My Google Drive” for drive. Everywhere else, it’ll accept that click, but every time I click, NOTHING happens. I’ve tried reconnecting the account - still nothing.
@blazersfan77
My Google Drive is the default Drive with no ID available which is why it won’t stay selected.
@blazersfan77
TIP: In the Zap Editor, when testing, make sure to retest each Zap step, to ensure you are using current valid data, and not a GDrive File that was deleted.
For Zap Editor testing, I get what you’re saying! Although I still can’t seem to understand (even with updated data for testing) why this will not work: