Skip to main content
Answer

How to use find file/folder in Gdrive package

  • March 6, 2023
  • 2 replies
  • 150 views

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 

2 replies

Forum|alt.badge.img+2
  • Cadet | Tier 2
  • 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
  • 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