Skip to main content

Google Business Profile

Read and update your Google Business Profile locations, hours, posts and reviews.

Connect it with: Sign in (OAuth). Google Business Profile's own documentation: https://developers.google.com/my-business/reference/accountmanagement/rest/v1/accounts/list.

What agents can do​

Connect Google Business Profile so the agents working your tasks can reach it. With it connected, they can:

  • List the business accounts and locations the connected Google account manages.
  • Read a location's name, address, phone, categories and opening hours, and update them when you ask.
  • Read new reviews and draft or post a reply.
  • Set special hours for a holiday or a temporary closure.

Before you start​

  • A Google account that is an owner or manager of the Business Profile (business.google.com > Business Profile settings > People and access).
  • For a Jaah-owned app or your own app: Google must have approved Business Profile API access for the app's Google Cloud project.
  • A Jaah account. Anyone can add a personal secret; an organization secret needs an Org Owner or Admin.

Connect with Google Business Profile​

This is the quickest way in: you sign in to Google Business Profile and approve what Jaah asks for. You never copy a key.

  1. In Jaah, open Secrets and select New.
  2. Search for Google Business Profile and select its card.
  3. Give the secret a name you will recognize, such as the account or workspace it reaches, and choose who can use it (see Who can use it).
  4. Select Connect Google Business Profile. Google Business Profile's sign-in window opens.
  5. Sign in to Google Business Profile if asked, check the access listed, and approve it.
  6. You land back in Jaah on the new secret, which reads Connected once its test passes.

If the button reads Jaah app not configured, this Jaah has no app registered at Google Business Profile yet. Use your own OAuth app until it does (see Use your own OAuth app).

Scopes Jaah requests​

Jaah asks Google Business Profile for these scopes, and no others. A scope marked optional is a checkbox on the Connect screen: untick it and agents simply cannot do that part.

ScopeWhy Jaah asks for itRequired
https://www.googleapis.com/auth/business.manageRead and manage the business locations the account can see: details, hours, posts and replies to reviews. Google offers no read-only scope for these APIsYes

Connect with an API key​

Google Business Profile has no API key option in Jaah: connect with the sign-in above.

Use your own OAuth app​

Register your own OAuth app at Google Business Profile when your company requires apps it controls, or before this Jaah has an app registered there.

  1. Create an OAuth app in Google Business Profile's developer console, https://console.cloud.google.com/auth/clients (Google Business Profile's documentation).
  2. Set its redirect URI to https://app.jaah.ai/api/credentials/connect/callback (on your own Jaah, its console address followed by /api/credentials/connect/callback).
  3. Give it the scopes in Scopes Jaah requests.
  4. Copy its client ID and client secret.
  5. In Jaah, start a new Google Business Profile secret, select Use your own OAuth app, paste both values and select Connect Google Business Profile.

The client secret is stored with the connection, encrypted, like any other secret value.

Test the connection​

Select Test on the secret. Jaah calls Google Business Profile's API once (GET https://mybusinessaccountmanagement.googleapis.com/v1/accounts) with the stored values, and shows who it answered as, or which value Google Business Profile refused and the status it answered. Jaah also tests automatically when you save or reconnect.

The last result and its time stay on the secret's page, so you can see whether it still works without testing again.

Who can use it​

Every secret has an owner, and the owner decides who can use it:

  • Personal — only your own tasks can use it. This is the default.
  • Organization — every task in the organization can use it. Only Org Owners and Admins can choose this.
  • Attached to a project — every task on that project can use it, whoever started the task. See Attach a secret to a project.

More on owners and access: How secrets work.

Use it in an agent session​

An agent asks for the secret with its credential_get tool, by the secret's path, when it needs it, and gets the values for that one call. The path is the owner's prefix and the secret's name:

  • org/<name> for an organization secret,
  • projects/<project>/<name> for one attached to a project,
  • me/<name> for your personal one.

A signed-in connection hands the agent a live access_token, with access_token_expires_at. Jaah refreshes it before it expires, so an agent never handles a refresh token.

Tell the agent in your task description which secret to use, for example “use the Google Business Profile secret org/google-business-profile”.

Manage, rotate or disconnect​

Everything is on the secret's page under Secrets:

  • Reconnect: when Google Business Profile ends the grant (a password change, a revoked app, an expired refresh), the secret shows Needs reconnect. Select Reconnect and sign in again; agents get the new token on their next call.
  • Disconnect: select Delete. The stored values are destroyed and agents lose access on their next call. To end access at Google Business Profile's side too, remove Jaah's access in your Google Account > Security > Your connections to third-party apps & services (myaccount.google.com/connections).

Limitations​

  • The only scope Google offers is business.manage, which allows changes. Tell agents in the task what they may change; Google keeps a history of edits on the profile.
  • Google may hold an edit for review before it shows on Maps and Search.
  • Insights and performance reports come from the separate Business Profile Performance API, subject to the same approval.
  • Agents can do only what the connected Google Business Profile account and its granted scopes allow.

Troubleshooting​

Test says Google Business Profile rejected the access token (401)

The grant was revoked or the Google password changed. Select Reconnect and approve again.

Test says Google Business Profile returned HTTP 429, or rejected the access token (403), right after a Connect that worked

A fresh grant that is refused at once means the OAuth app's Google Cloud project has not been approved for Business Profile API access, so its quota is 0; reconnecting will not help. Apply at support.google.com/business/contact/api_default, or connect with your own approved app.

Test passes but an agent sees no locations

The connected account manages no profile. In Business Profile open People and access and add the account as a Manager.

Still stuck? Select Test and read the result: it names the value Google Business Profile refused and the status it answered.

FAQ​

Why does Jaah ask to manage my profile and not just read it?

Google offers one scope, business.manage, for both. Agents only change what a task asks them to.

Can an agent reply to reviews as my business?

Yes, if a task asks it to. The reply appears under the business name on Google.

Can Jaah or an admin see the key or token?

No. Jaah stores it encrypted and never shows it again. Only the tasks allowed to use the secret receive it, at the moment they ask for it.

Can I connect more than one Google Business Profile account?

Yes. Add one secret per account, each with its own name, and tell the agent which one to use.