Google Drive - Get Sub Folders of a Folder

Status: Closed · Asked by davetechlee on · 0 views

davetechlee — Question ·
Pabblymember11 — Reply ·

Hey @davetechlee

To get the subfolder of a folder, you need to pass the Folder Id from Google Drive's folder URL.

davetechlee — Reply ·

2 Issues:

1. Only works for Google Drive and not Shared Drive folders.

2.
How do you search through the list?
The response looks like this...

Items 0 Title
Items 1 Title
Items 2 Title
Items 3 Title
... and so forth.

How would I get Pabbly to look through all Items [x] Title and check the title?

Pabblymember11 — Reply ·

Hey @davetechlee

Only works for Google Drive and not Shared Drive folders.

Could you please elaborate on your query with the help of a short video or a screenshot?

How do you search through the list?
The response looks like this...

Items 0 Title
Items 1 Title
Items 2 Title
Items 3 Title
... and so forth.

How would I get Pabbly to look through all Items [x] Title and check the title?


For this, you can use the Iterator action step before using the iterator action step you need to receive the API response by switching off the simple response.

After that, you can use the filter action step to restrict the individual item.

venusgrace — Reply ·
Hey @davetechlee

Could you please elaborate on your query with the help of a short video or a screenshot?

For this, you can use the Iterator action step before using the iterator action step you need to receive the API response by switching off the simple response.

After that, you can use the filter action step to restrict the individual item.


Hello @Supreme,

I tried using the Folder ID for the shared drive to "Get the Subfolders of a folder" but there's not much options:

I want to be able to create folders making sure there's no duplicate folder in the shared drive

Pabblymember11 — Reply ·

Hey @venusgrace

It seems like you have passed the subfolder id in it, whereas to get the subfolder details from that parent folder you need to pass the parent folders' id in the field.

Please check out the following screenshot-

venusgrace — Reply ·

Thank you! I was able to do it already. I do have another question regarding creating sheets in the folder. Do I use google sheets or google drive

Back to all forum threads · Log in to reply