List Reviews
google_business_profile.list_reviews
ActionBusiness appsconnection required
Calls the Google Business Profile API with the connection's credentials.
List the reviews on one location, newest change first by default.
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
5 fields, 1 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 |
|---|---|---|---|---|---|
location_id Location, as locations/12345, accounts/1/locations/12345 or just 12345. | string | Yes | — | — | locations/12345678901234567890 |
account_id Business Profile account, as accounts/12345 or just 12345. Overrides the account id stored on the connection. | string | No | — | — | — |
order_by Sort order Google accepts for reviews. | string | No | — | one of "rating", "rating desc", "updateTime desc" | — |
page_size How many reviews to return per page (Google's maximum is 50). | number | No | — | 1–50 | — |
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.
{
"location_id": "locations/12345678901234567890"
}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 | — |
reviews The same reviews flattened to the fields below. | array | — |
location The accounts/*/locations/* that was read. | string | — |
average_rating Average star rating for the location, 1 to 5. | number | — |
total_review_count How many reviews the location has in total. | number | — |
{
"average_rating": 0,
"count": 0,
"items": [],
"location": "",
"next_page_token": "",
"reviews": [],
"total_review_count": 0
}Related Google Business Profile nodes
See List Reviews 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.