Google Docs - Save to same Folder Issue

Hi All,

I am building a very advanced event simulator tool. The customer wants a text file to be saved to a google document. But every time I give my folder name and the file name (It’s different every time since I add the date and time to the front), the system creates a new folder… which of course my client is not shared with.

This seems to be basic functionality, is there a way to do it so the file is sent to the folder every time?

Thanks
Greg

Hi @GiDancAI,

Here’s how you can specify the folder name to make sure new files are always saved there:

Hope this helps!

Alex,

Heads up, that worked thanks! But I spent about 2 hours trying to write my own function since yours did not work… Note in the docs you have / in front. So I was using “/“ at the start…
Please update the docs in the application to clarify, if you want to go to the same directory, you do not start with a “/“. I lost 2 hours in my day…

Regards,

Greg Spehar, MBA, PMP, ACP, DASM
Senior Program Manager

Hi Greg,

Would you be able to share a screenshot of how you organized the variable timestamp? Trying to do something similar with the Google Doc block but I can’t get the created file to show up where I want. Thanks in advance.

Best,

Manuel

You have to grab it into a variable and then you can use it in the name of the filename.
{{date}}-{{time}}-My-Docs

Best
Greg