List Locations
google_business_profile.list_locations
ActionBusiness appsconnection required
Calls the Google Business Profile API with the connection's credentials.
List the locations under an account, filtered and sorted by Google.
Connection
- Required
- Yes — the node will not save without one
- Auth type
- OAuth 2.0
- Providers
- Google Business Profile
- Secret shape
- {"client_id", "client_secret", "refresh_token"}
- Config it needs
- account_id, token_uri
- Resolved by
- config.connection_id, else node.connection_id
Configuration
6 fields, none required. A dotted path is a nested object and name[] an array of objects — the editor renders the same tree.
| Field | Type | Required | Default | Constraints | Example |
|---|---|---|---|---|---|
account_id Business Profile account, as accounts/12345 or just 12345. Overrides the account id stored on the connection. | string | No | — | — | — |
read_mask Comma-separated Location fields to return, e.g. name,title,storefrontAddress. Google requires one; blank sends a broad default mask. | string | No | name,title,storeCode,languageCode,storefrontAddress,phoneNumbers,websiteUri,categories,regularHours,latlng,openInfo,metadata,labels | — | — |
filter Location filter, e.g. title="Acme" or storeCode=SC-1. | string | No | — | — | — |
order_by Sort order; Google allows title and storeCode, with an optional desc. | string | No | — | — | — |
page_size How many locations to return per page (Google's maximum is 100). | number | No | — | 1–100 | — |
page_token Token from a previous call's next_page_token; blank starts at the first page. | string | No | — | — | — |
Example configuration
Every value below is the contract’s own example or default — nothing invented.
{
"read_mask": "name,title,storeCode,languageCode,storefrontAddress,phoneNumbers,websiteUri,categories,regularHours,latlng,openInfo,metadata,labels"
}Output
One shape.
result
| Field | Type | Example |
|---|---|---|
items The page of records exactly as Google returned them. | array | — |
count How many records this page carried. | number | — |
next_page_token Pass back as page_token to fetch the next page. | string | — |
total_size Approximate total, returned only when filtering. | number | — |
{
"count": 0,
"items": [],
"next_page_token": "",
"total_size": 0
}Related Google Business Profile nodes
See List Locations run in a workflow.
In a technical demo we add the Google Business Profile connection, drop the node on the canvas and let Workflow Health pre-flight it before the first real run.