Actions60
- Agent Actions
- Alert Actions
- Box Actions
- Extension Actions
- Flag Actions
- Location Actions
- Organization Actions
- Policy Actions
- Quarantined File Actions
- Report Actions
- Suppression Rule Actions
- Target Actions
- User Actions
- Webhook Actions
Organization → Count
AI-generatedSummary
Count Datto EDR organizations, optionally limited to those matching one or more name conditions. Sends a GET to the Organizations/count endpoint and returns the API's count response.
Inputs
- Filters — Zero or more conditions, each with a Field, Operator and Value. The only field is Name. Operators: Equals, Not Equals, Greater Than, Greater Or Equal, Less Than, Less Or Equal, Contains (sent as a %value% LIKE match), and In List (comma-separated values). Conditions with an empty value are skipped. Numeric-looking values are converted to numbers for Equals and the comparison operators. The conditions are combined into one LoopBack where clause and sent as the
wherequery parameter. If there are no usable conditions, all organizations are counted. If two conditions use the same field, the later one overwrites the earlier one.
Output shape
One item per input item, whose json is the raw response from the Organizations/count endpoint. LoopBack counts normally look like {"count": N}, but the source does not confirm the exact shape.
The Options collection (order, fields, Where JSON) is not shown for Count, so only the Filters apply. API errors (401, 403, 404, 429) are raised as node errors with a readable message, unless Continue On Fail is on. In that case the item gets an {error} object instead. The credential Base URL must end with /api.
Examples
Example 1: Count all organizations in the tenant
Resource: Organization, Operation: Count, no filters.
Example 2: Count organizations whose name contains "Acme"
Add a filter: Field Name, Operator Contains, Value Acme.