cancel
Showing results for 
Search instead for 
Did you mean: 

Write to a Google Drive folder using Worksheet Writer

marenas
Contributor

Dear community,

Does anyone know how to configure the Worksheet Writer snap to write to a specific folder in Google Drive?

Thank you!

1 ACCEPTED SOLUTION

You can create a blank spreadsheet in the target google driver folder. And provide this new spreadsheet’s name in your pipeline’s Worksheet writer snap. Provide a valid worksheet name as well. Then you are all good. You can have a pipeline with File Reader + CSV Parser + Worksheet Writer.

View solution in original post

7 REPLIES 7

Hi!

I have a follow-up question. The other source file that I wanted to write from sftp to Google drive is generated daily and the filename has a date on it. How would you handle this scenario?

If you know what format the date is in, you can use an expression to replicate it.

"Filename" + Date.now().toLocaleDateTimeString('{"format":"MMYYYY"}')

This should work if run on the same day. If you are running it a day later, you would need to add .minusDays(1)


Diane Miller

darshthakkar
Valued Contributor

Thank you @dmiller and @smudassir for sharing the insights.
I wasn’t aware of worksheet writer before today, now I’ve been exposed to it.

Thanks a bunch for sharing this…