Hello! Recently Zoho updated it’s csv reports and broke a zap I had with a weekly report. I need to now remove the first 6 rows of the CSV to import the new header at row 7 and everything below. Any free service or way I can do this?
Hi
Good question.
What are the steps in your current Zap?
- New email coming to zapier
- convert file with convertAPI to isolate the csv from the zipped file
- delay to let that process correctly for a minute
- formatter to get the csv url
- formatter to get the csv line items
- google sheets spreadsheet import
- delay
- google sheets lookup
- slack channel message
The issues is that I need a step 4.5 to remove the first 6 lines of the CSV file
If you are using Gmail as the Zap trigger, then you may be able to use this Zap trigger event if the CSV is not in a Zip file, which would eliminate the need for using ConvertAPI.
You may want to consider using Formatter > Utilities > Import CSV File instead of the other Formatter steps.
NOTE: Depending on how many records are in the CSV file, you can use Looping followed by a Filter step to exclude those rows and then a GSheet Create Row step to populate a GSheet template each time, instead of using GSheets Create Row(s).
Otherwise, it’s likely a Code step would have to be used to remove the first 6 lines before adding to the GSheet: https://zapier.com/apps/code/help
Hey
Let me know what you think of those suggestions and what questions you have!
cc:
Keep in mind that the Zap action for GSheet Delete Row only deletes the contents of the row.
Hey
Ahh, gotcha
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.