Get Location

google_business_profile.get_location
ActionBusiness appsconnection required

Calls the Google Business Profile API with the connection's credentials.

Read one location, limited to the fields named in the read mask.

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

2 fields, 1 required. A dotted path is a nested object and name[] an array of objects — the editor renders the same tree.

FieldTypeRequiredDefaultConstraintsExample
location_id
Location, as locations/12345, accounts/1/locations/12345 or just 12345.
stringYes——locations/12345678901234567890
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——

Example configuration

Every value below is the contract’s own example or default — nothing invented.

{
  "location_id": "locations/12345678901234567890",
  "read_mask": "name,title,storeCode,languageCode,storefrontAddress,phoneNumbers,websiteUri,categories,regularHours,latlng,openInfo,metadata,labels"
}

Output

One shape.

result

FieldTypeExample
name
Resource name, locations/{locationId}.
stringlocations/12345
title
The business name shown on Google.
string—
storeCode
The merchant's own identifier for this location.
string—
websiteUri
The location's website.
string—
languageCode
BCP-47 language of the location's content.
string—
storefrontAddress
The postal address, when the read mask asked for it.
object—
phoneNumbers
Primary and additional phone numbers.
object—
categories
Primary and additional business categories.
object—
metadata
Read-only flags such as canDelete and hasVoiceOfMerchant.
object—
{
  "categories": {},
  "languageCode": "",
  "metadata": {},
  "name": "locations/12345",
  "phoneNumbers": {},
  "storeCode": "",
  "storefrontAddress": {},
  "title": "",
  "websiteUri": ""
}

See Get Location 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.