Autotask icon

Autotask

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

Actions1078

Purchase Order → Count

AI-generated

Summary

Returns the total count of Purchase Orders matching the specified criteria.

Inputs

  • fieldsToMap (required) — A resource mapper configuration defining which fields to map. The mapping mode is set to 'defineBelow' and is required for the operation to execute.

Output shape

A single record containing a count value (e.g., 'count: 42').

The node returns a single item per execution, regardless of how many records match the criteria, containing the total count of matching Purchase Orders.

Examples

Example 1: Check total number of active purchase orders.

Set resource to 'Purchase Order', operation to 'Count', and configure fieldsToMap with the desired mapping mode.

Links

Discussion