Datto EDR icon

Datto EDR

Datto EDR (Infocyte): list and manage endpoints/agents, threats/alerts, scans, targets, quarantined files, and run response actions — isolate or scan an endpoint, archive or respond to alerts, restore quarantined files. For endpoint security operations, threat triage, and EDR reporting.

Location → Get Many

AI-generated

Summary

Retrieves Location records from the Datto EDR API (GET /Locations), with optional name filtering, sorting, field selection, and either a capped or fully paginated result set.

Inputs

  • Return All — When true, pages through the API 100 records at a time until all matching locations are fetched. It errors if the result exceeds 200 pages. Default is false.
  • Limit — Maximum number of locations to return (minimum 1, default 50). Shown only when Return All is false.
  • Filters — One or more conditions on the Name field. Operators: Equals, Not Equals, Greater/Less Than (or Or Equal), Contains (sent as a %value% LIKE match), and In List (comma-separated values). Conditions with an empty value are ignored. Numeric-looking values are converted to numbers for Equals and the comparison operators.
  • Options > Order — LoopBack sort expression, e.g. "createdOn DESC".
  • Options > Fields — Comma-separated list of fields to include in each returned record.
  • Options > Where (JSON) — Raw LoopBack where clause as JSON. It is merged over the Filters, so its keys override matching filter fields. Invalid JSON is silently ignored.

Output shape

One n8n item per location record returned by the API.

If nothing matches, a single item {found: 0, resource, operation} is emitted instead of an empty result. With Continue On Fail enabled, errors are emitted as {error: message}. Requires the Datto EDR credential, whose Base URL must end in /api.

Examples

Example 1: List every location whose name contains "HQ", sorted by name

Return All = true; Filters: Name Contains "HQ"; Options > Order = "name ASC"

Example 2: Fetch the first 10 locations with only id and name

Return All = false; Limit = 10; Options > Fields = "id,name"

Links

Discussion