Hello, I am retrieving an email in Gmail and I want to organize the attachment in a Google Drive folder. I am already renaming the file to take the name of the future folder in module 3. Then I search for the folder in Drive. If the name already exists, it places the document inside. Otherwise, it creates the folder in Drive and organizes the document. This part is working fine.
My problem is that I want it to search for keywords that are located in existing folders and not the complete name. For example, my document might be named [Guilaine], and I want it to search in the Drive folders if any folder contains the word [Guilaine]. This is not working. It’s showing the variable Name of the Google Drive as empty.
Thanks for your help …