Autotask icon

Autotask

Consume Autotask REST API

Actions389

Overview

This node operation retrieves multiple company webhook records from the Autotask system. It is useful for scenarios where you need to fetch a list of company webhook configurations, such as for monitoring webhook setups, auditing, or integrating webhook data into workflows. For example, you might use this node to get all company webhooks to synchronize them with another system or to analyze webhook usage patterns.

Properties

Name Meaning
Fields Defines which fields of the company webhook records to retrieve and map in the output. Supports custom mapping and auto-mapping of fields.
Get All Determines whether to return all available company webhook records or limit the number of records returned.
Max Records Specifies the maximum number of company webhook records to return when 'Get All' is set to false. The value must be between 1 and 500.
Add Picklist Labels If enabled, adds additional fields with human-readable labels for picklist fields in the output. Empty values do not get labels.
Add Reference Labels If enabled, adds additional fields with human-readable labels for reference fields in the output. Empty values do not get labels.
Select Columns Names or IDs. Allows selection of specific fields to include in the response by choosing from a list or specifying field IDs via expressions. If no fields are selected, all fields are returned. The ID field is always included.
Flatten User-Defined Fields When enabled, user-defined fields (UDFs) are moved to the top level of each returned object instead of being nested inside a userDefinedFields array.

Output

JSON

  • id - Unique identifier of the company webhook record.
  • name - Name of the company webhook.
  • url - The URL endpoint configured for the webhook.
  • eventTypes - List of event types that trigger the webhook.
  • isActive - Indicates whether the webhook is active.
  • createdDate - Date and time when the webhook was created.
  • modifiedDate - Date and time when the webhook was last modified.
  • userDefinedFields - Array of user-defined fields associated with the webhook, unless flattened to top-level properties.
  • *_label - Additional fields added for picklist or reference fields containing human-readable labels, if enabled.

Dependencies

  • Requires an API key credential for authenticating with the Autotask REST API.

Troubleshooting

  • If no records are returned, verify that the company webhooks exist in the Autotask system and that the API credentials have sufficient permissions.
  • If the node returns an error about unsupported resource or operation, ensure that the resource is set to 'companyWebhook' and operation to 'getMany'.
  • When selecting specific fields, ensure the field IDs or names are valid; otherwise, the node may return incomplete data or errors.
  • If the node times out or returns partial data, consider enabling 'Get All' to retrieve all records or increasing the 'Max Records' limit within allowed bounds.
  • If picklist or reference labels are missing, verify that 'Add Picklist Labels' and 'Add Reference Labels' options are enabled and that the fields have valid label data.

Discussion