Hi, i am trying to find a solution on how to create a folder if it is not existing in Google drive.
i am auto exporting files from webshop order one order item at a time. firt time the order folder to save the files is not existign and needs to be created bu next order item which is exported in the same folder i dont want to create a folder again.
Hi @Martin_Ravn,
great use-case for Make!
Sadly, I’d need some more information to help you even more.
a) It sounds to me that you want to save all order items into one Google Drive folder? So you might just create one folder manually and input the folder ID into the Google Drive “Upload File” Module.
b) If you want to decide on a case-by-case basis on whether a particular folder already exists or not and if no folder exists you want to create a new one, then you should use the “Search Files/Folder” Module and use conditions. If it does not find a folder given specific criteria → create a new one, if you find a folder → upload file into that folder.
I hope it helps!
Best,
Richard
1 Like
Hi Richard thank you for your reply.
I played around with b
But is there a Way to get back in to one sequence after the split by condition ? I Will need after to also create a xml file with some meta data and i Think it would be good not to gave here 2 copies one for each leg after the condition part
fre. 26. aug. 2022 kl. 10.33 skrev Richard Johannes via Make Community <notifications@make.discoursemail.com>:
What you are looking for is something like a “converger”. Sadly, this does not exist directly.
What you can do is the following:
-
create new scenario which is triggered by a custom Webhook and put everything in there that is the same for all your possible conditions.
-
in your first scenario where you’d need a converger, just put a HTTP-Module behind the different conditions and call the newly created webhook with the necessary information. this way you don’t create all the module twice/three times…
I hope it helps!