As suggested by @cheez_RPA you need to try with google workspace activities
Check out the video for reference
Attaching an example code as per your query to test it from your side
Main.xaml (15.1 KB)
Lets say
- You have to move or copy the files in the folder Test to Folder New Folder
Steps overview
-
Gsuite scope → authenticate to your drive with the authentication type you prefer
You need to fill the properties panel in the Gsuite Scope activity
-
Find files and folder-> Will find the folder id of the folder Test(Source)

-
Find files and folder-> Will find the folder id of the folder New Folder(Destination)

-
Find files and folder-> Will find the list of all the folders and files inside the sourse folder

If you want all the items inside the sourse folder you need to give this condition
“'” + FolderId + “’ in parents and name contains ‘*’”
if you want a specific files give like
“'” + FolderId + “’ in parents and name contains ‘File name you want’” -
For each will loop through the items you retrived from source folder
- If Not currentItem.MimeType.Contains(“application/vnd.google-apps.folder”) → Condition optinal to you if you want to copy the folder as well you remove this condition
- Copy files from source to destination
-
Hope this Helps
Regards
Sudharsan

