Actions16
Location (Sub-Account) → Search
AI-generatedSummary
Searches the agency’s sub-accounts, optionally filtering by owner email and ordering results. Returns up to the selected limit or retrieves results in pages when Return All is enabled.
Inputs
- Return All — When enabled, fetches successive pages until the API returns a short page, using Page Size (Return All) for each request. The implementation caps paging at 100 requests.
- Limit — Maximum number of sub-accounts to return when Return All is off; defaults to 50 and accepts values from 1 to 200.
- Filters → Company ID Override — Uses this company ID instead of the one stored in the OAuth credential. If neither is available, the operation errors.
- Filters → Email — Filters sub-accounts by their owner email.
- Filters → Order — Sorts results in ascending or descending order; defaults to ascending.
- Filters → Page Size (Return All) — Rows requested per page when Return All is on; defaults to 100. Reduce it if the API rejects a large page size.
- Filters → Skip — Number of results to skip before fetching; defaults to 0 and is used for offset paging.
Output shape
A list of items, one per matching sub-account.
Each item contains a sub-account object from the API’s locations array. With Return All enabled, results are fetched page by page and returned as individual n8n items.