Get Local Post

google_business_profile.get_local_post
ActionBusiness appsconnection required

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

Read one local post, including the state Google has put it in.

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

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

FieldTypeRequiredDefaultConstraintsExample
post_id
The local post id, or its full resource name.
stringYes———
location_id
Location, as locations/12345, accounts/1/locations/12345 or just 12345.
stringYes——locations/12345678901234567890
account_id
Business Profile account, as accounts/12345 or just 12345. Overrides the account id stored on the connection.
stringNo———

Example configuration

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

{
  "location_id": "locations/12345678901234567890"
}

Output

One shape.

result

FieldTypeExample
name
Full resource name of the local post.
string—
state
PROCESSING, LIVE, REJECTED, SCHEDULED or RECURRING.
string—
topic_type
STANDARD, EVENT, OFFER or ALERT.
string—
summary
The post body Google stored.
string—
search_url
Shareable Google Search link, once the post is live.
string—
create_time
When the post was created (RFC 3339).
string—
update_time
When the post last changed (RFC 3339).
string—
post
The whole LocalPost object as Google returned it.
object—
{
  "create_time": "",
  "name": "",
  "post": {},
  "search_url": "",
  "state": "",
  "summary": "",
  "topic_type": "",
  "update_time": ""
}

See Get Local Post 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.