Skip to content
OpenPostDocs
OpenPostDocs
Social integrations

Google Business Profile

Set up Google Business Profile so a workspace can publish updates and answer reviews.

OpenPost connects Google Business Profile with Google OAuth, then publishes local posts to a location you choose and shows its reviews in Inbox. Google reviews every post after you send it, so a post stays pending until Google decides.

What you need

OpenPost does not enable Google Business delivery until the app has Google API access and current live certification evidence.

Configure Google Cloud

  1. Enable the Business Profile APIs.

    In your project, enable the account management, business information and local posts APIs that Google approved for you.

  2. Configure the consent screen.

    Add the scopes listed below in Google Auth Platform, and add your own account as a test user while the app is in testing.

  3. Create the OAuth client.

    Create an OAuth client ID of type Web application and add this Authorized redirect URI:

    https://post.example.com/api/v1/accounts/googlebusiness/callback
https://www.googleapis.com/auth/business.manage
https://www.googleapis.com/auth/userinfo.profile
https://www.googleapis.com/auth/userinfo.email

Save the app in OpenPost

The provider ID is googlebusiness. The settings form does not offer it, so save these credentials in OPENPOST_PROVIDER_APPS, adding the entry to your existing array:

[
  {
    "provider": "googlebusiness",
    "client_id": "your-google-oauth-client-id",
    "client_secret": "your-google-oauth-client-secret",
    "redirect_uri": "https://post.example.com/api/v1/accounts/googlebusiness/callback"
  }
]

Replace the domain and credentials. If you omit redirect_uri, OpenPost derives the same address from OPENPOST_APP_URL.

Connect and test

  1. Connect the location.

    Open Accounts, choose Google Business, sign in with the managing Google account, and pick a location. Only verified locations that Google allows to post, or to answer reviews, are listed.

  2. Publish a small update.

    Create a post for that location. Choose a Post type (What's New, Event or Offer), up to 1,500 characters, and optionally one JPEG or PNG image. Media must be reachable on a public HTTPS URL.

  3. Wait for Google's decision.

    The post stays pending while Google reviews it. A rejected post never counts as published. Duplicate it to try again.

Event and Offer posts add a name (58 characters at most), dates and times, and for offers a coupon code, redemption link and terms. A Button (Book, Order, Shop, Learn more, Sign up or Call) takes a Button link; Offer posts carry no button.

Reviews appear in Inbox under Reviews. You can reply there (4,096 UTF-8 bytes at most) or remove your reply. Google accepting a reply does not mean it has approved it for public display. Google offers no per-post insights, so post analytics are unavailable.

Troubleshoot

ProblemCheck
Redirect mismatchCompare the authorized redirect URI with your JSON and public OPENPOST_APP_URL exactly.
No location appearsConfirm the Google account manages a verified location, and that Google granted the project Business Profile API access.
Connection is unavailableRecord the provider's readiness evidence as an administrator.
Post stays pending or failsWait for Google's review. Check the reason on the post, then duplicate a rejected post to retry.

On this page