Tanya Saxena
Member
Whenever a new file gets uploaded in Google Drive > I wish to get the name of the parent's folders so that I can use it to rename the file.
Eg: Trigger: file gets uploaded in (Path: My drive > Companies > IBM > 144 > Newfile.pdf)
Action: Rename "Newfile.pdf" as "IBM 144 Newfile.pdf"(derived from the folder name in which it's uploaded).
But all information that we could get from Google Drive triggers and action steps is just the file name, file Id, and Parent ID. How to get a Parent folder name or a proper file location or path?
Eg: Trigger: file gets uploaded in (Path: My drive > Companies > IBM > 144 > Newfile.pdf)
Action: Rename "Newfile.pdf" as "IBM 144 Newfile.pdf"(derived from the folder name in which it's uploaded).
But all information that we could get from Google Drive triggers and action steps is just the file name, file Id, and Parent ID. How to get a Parent folder name or a proper file location or path?