Skip to main content
Solved

How to use find file/folder in Gdrive package


Forum|alt.badge.img+8

So i’m currently working with google drive package and i wanted to check whether the folder exist within the google drive, for that reason i use find file/folder in the google drive package.

I filled all the needed properties but i’m stuck in the return list of files or folders, what’s the key actually? i tried to run it without filling both and it runs perfectly fine, i am just confuse how to get the folder name using either dictionary or multiple variable

Best answer by Sumit.K7

You can run the task in debug mode to get the keys.

Here are the keys and values:

 

Always present, x is the number of file/folder found:

NumberOfFiles : “X”

 

Depending on  number of file/folder found:

File1: {“fileId”: “id1xyz” , fileName: “FileorFolder1Name”}

File2: {“fileId”: “id2xyz” , fileName: “FileorFolder2Name”}

File3: {“fileId”: “id3xyz” , fileName: “FileorFolder3Name”}

and so on 

View original
Did this topic help answer your question?

2 replies

Forum|alt.badge.img+1
  • Cadet | Tier 2
  • 4 replies
  • March 6, 2023

Hello @David Jansen , You need to create your OAuth 2.0 on google using link 
https://developers.google.com/identity/protocols/oauth2

I hope it will help you 
Reagrds,
Omkar


Forum|alt.badge.img+6
  • Navigator | Tier 3
  • 142 replies
  • Answer
  • March 6, 2023

You can run the task in debug mode to get the keys.

Here are the keys and values:

 

Always present, x is the number of file/folder found:

NumberOfFiles : “X”

 

Depending on  number of file/folder found:

File1: {“fileId”: “id1xyz” , fileName: “FileorFolder1Name”}

File2: {“fileId”: “id2xyz” , fileName: “FileorFolder2Name”}

File3: {“fileId”: “id3xyz” , fileName: “FileorFolder3Name”}

and so on 


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings