Autotask icon

Autotask

Interact with Kaseya's Autotask PSA REST API to manage companies, tickets, contracts, and more.

Actions524

Company Webhook → Count (Advanced)

AI-generated

Overview

This node operation interacts with the Autotask PSA REST API to perform an advanced count query on the Company Webhook resource. It allows users to specify complex filtering criteria using a JSON string to count the number of company webhook records that match the given conditions. This is useful for scenarios where users need to get a precise count of company webhooks based on specific attributes or states, such as monitoring webhook configurations or auditing webhook usage.

Use Case Examples

  1. Count the number of company webhooks that are active and have a specific event type by providing an advanced filter JSON string.
  2. Use the node to get a count of company webhooks created within a certain date range by constructing a filter with date criteria.

Properties

Name Meaning
Advanced Filter A JSON string containing a "filter" array with Autotask API query criteria to specify the conditions for counting company webhooks.

Output

JSON

  • count - The number of company webhook records matching the advanced filter criteria.

Dependencies

  • Requires an API key credential for Autotask PSA REST API authentication.

Troubleshooting

  • Ensure the advanced filter JSON string is correctly formatted and follows the Autotask API query criteria syntax to avoid query errors.
  • Verify that the API credentials are valid and have sufficient permissions to access company webhook data.
  • Common errors may include invalid JSON format, unsupported filter fields, or authentication failures. Check error messages for details and correct the input accordingly.

Links

Discussion