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
That will likely involve using the GDrive API: https://developers.google.com/drive/api/reference/rest/v3
Options:
- Create a Custom Action for GDrive
- Action: GDrive - API Request
Hi
That will likely involve using the GDrive API: https://developers.google.com/drive/api/reference/rest/v3
Options:
- Create a Custom Action for GDrive
- Action: GDrive - API Request
Thanks
Thanks in advance!
Hi
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:
- Make raw HTTP requests with API Request actions (Beta): https://help.zapier.com/hc/en-us/articles/14096700504717-Make-raw-HTTP-requests-with-API-Request-actions-Beta-
- Set up an API request action: https://help.zapier.com/hc/en-us/articles/12899607716493-Set-up-an-API-request-action
- Create an API request in your Zaps: https://help.zapier.com/hc/en-us/articles/12899473501453-Create-an-API-request-in-your-Zaps
- Supported apps for API Request actions: https://help.zapier.com/hc/en-us/articles/19055937195149-Supported-apps-for-API-Request-actions
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
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.