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.

FieldTypeRequiredDefaultConstraintsExample
account_id
Business Profile account, as accounts/12345 or just 12345. Overrides the account id stored on the connection.
stringNo———
read_mask
Comma-separated Location fields to return, e.g. name,title,storefrontAddress. Google requires one; blank sends a broad default mask.
stringNoname,title,storeCode,languageCode,storefrontAddress,phoneNumbers,websiteUri,categories,regularHours,latlng,openInfo,metadata,labels——
filter
Location filter, e.g. title="Acme" or storeCode=SC-1.
stringNo———
order_by
Sort order; Google allows title and storeCode, with an optional desc.
stringNo———
page_size
How many locations to return per page (Google's maximum is 100).
numberNo—1–100—
page_token
Token from a previous call's next_page_token; blank starts at the first page.
stringNo———

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

FieldTypeExample
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
}

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.