Get Tickets Count
Description
This step retrieves the total count of tickets in Zendesk based on filter criteria. Use this step in workflows that monitor ticket volume, track helpdesk metrics, or check ticket counts before running batch operations.
General Tab
| No. | Field Name | Description |
|---|---|---|
| 1 | Step Name | Name of the step. This name must be unique within a single workflow. |
| Connection: | ||
| 2 | Base URL | Specify the base URL of the Zendesk instance. For example, https://xxxx.zendesk.com for a cloud instance. Data type: String Mandatory |
| Token: | ||
| 3 | Accept Values as variable/static | Leave the checkbox unchecked to accept the Token value from a field in a previous step via a drop‑down list. Enable the checkbox to display the Token field as a text box. |
| 4 | Access Token | Access token retrieved from the OAuth token API call. |
| 5 | Test Connection | Click to verify whether the connection is established. |
Input Tab
| No. | Field Name | Description |
|---|---|---|
| 1 | Criteria Query | Fetches all Zendesk tickets matching the criteria query. Sample criteria query: • Syntax: fieldname:fieldvalue• Examples: – subject: AEPS– priority< 2– custom_field_5076335924765:yes |
Output Tab
| No. | Field Name | Description |
|---|---|---|
| 1 | Total Tickets | Holds the count of records returned by the criteria query. Default value: TotalRecords. |
Common Buttons
| No. | Field Name | Description |
|---|---|---|
| 1 | OK | On click, validates all required fields. If any are missing, displays a validation error message. If all required fields are provided, saves the values. |
| 2 | Cancel | On click, cancels the window without saving any values. |