Skip to main content

Hey guys,

I need your help.

I have a client folder with certain project subfolders:
Client 1
     “1. Project 1”
     “2. Project 2”
     “3. Project 3”
and so on..

When automating my workflow with Zapier I want to create a project folder with the consecutive number (e.g.: “4. Project 4”.) For this, i need to retrieve the number of subfolders in total.

How can I count the subfolders in that client folder to get my desired result of: “output =3”
(so I can add +1 in a formatter step..)

Hi ​@benjomahenjo 

That will likely involve using the GDrive API: https://developers.google.com/drive/api/reference/rest/v3
Options:

 


Hi ​@benjomahenjo 

That will likely involve using the GDrive API: https://developers.google.com/drive/api/reference/rest/v3
Options:

 

Thanks ​@Troy Tessalone ! Can you give me a bit more detailed information on the exact steps?
Thanks in advance!


Hi ​@benjomahenjo,

Just to be upfront, the API Request Beta is considered an advanced feature, so our support for it may be more limited. Not because we don't want to help, but because APIs can be tricky to troubleshoot since we can't see what's happening on the other side. Every API that you send a request to is going to have slightly different structures that are required.

This makes it hard for us to know why the request may be receiving errors or not working as expected, beyond taking a general look at what's showing in Zapier.

Here are some helpful resources:

If you’d like a more personal help. I’d recommend reaching out to one of our certified Zapier Experts here: https://zapier.com/experts

Hopefully, this helps.


Reply