Skip to main content
Question

I am trying to get the count of 10 different Zendesk Views. What is the best way to do this without consuming multiple tasks?

  • July 17, 2025
  • 2 replies
  • 32 views

Hi Zapier Community,

I’m trying to build a Zap that retrieves the ticket counts for ten different Zendesk Views, but I want to avoid consuming a Zap task for each individual view. I already created a webhook to pull the count of a single view using Zendesk’s API for views, but is it possible to pull multiple view counts in one API call?

Any pointers, code snippets, or best practices would be hugely appreciated!

Thanks in advance for your help,
Awni

This post has been closed for comments. Please create a new post if you need help or have a question about this topic.

2 replies

Troy Tessalone
Zapier Orchestrator & Solution Partner
Forum|alt.badge.img+14
  • Zapier Orchestrator & Solution Partner
  • July 17, 2025

Hi ​@awni 

You would have to use a custom Code step or you can try using a Custom Action if that is available.

Code: https://zapier.com/apps/code/integrations#help

Custom Action: https://help.zapier.com/hc/en-us/articles/16276574838925-Custom-Actions-in-Zapier


Hi Awni,

Great question! Unfortunately, Zendesk’s API doesn't provide a direct way to retrieve multiple view counts in a single API call — each view count must be fetched individually using the /api/v2/views/{id}/count.json endpoint. However, to avoid consuming Zap tasks for each view, a good workaround is to use a single Code step (JavaScript in Zapier) or a Webhooks step that triggers a custom script hosted externally (e.g., on a server or using a service like AWS Lambda or Google Cloud Functions).