I am trying to build a workflow to get or create Google Drive folder. The idea is to give the workflow a path “path/to/a/folder” and a root folder id (parent). The workflow should find “path” folder inside the root folder, if it does not exists, it creates it. Then it should find the “to” folder inside the “path” folder. Etc, etc.
I started the workflow by a function which splits on “/” and then pass the items to the SplitInBatches node. I configured the nodes which check if the folder exists and create it if it does not. However, I am struggling with the parent Id which must be set by the previous batch execution (and fallback to the root folder if no previous exec).