Show up when customers search for businesses on Google Search and Maps. Easily manage multiple locations. Leverage the latest engagement features to stay connected to customers.
Go to siteThe Google My Business API enables businesses to manage their online presence across Google, including Search and Maps. Through Pipedream, you can automate various aspects of your Google My Business account, such as reading and responding to customer reviews, updating business information, and posting new content. This API provides a powerful way to engage with customers and maintain accurate, up-to-date business listings, all through programmable interactions that can save time and enhance visibility.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
google_my_business: {
type: "app",
app: "google_my_business",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://mybusinessaccountmanagement.googleapis.com/v1/accounts`,
headers: {
Authorization: `Bearer ${this.google_my_business.$auth.oauth_access_token}`,
},
})
},
})
Automated Review Management: Monitor and respond to new reviews. Use sentiment analysis to determine the tone of the review, provided by an NLP service like Google Cloud Natural Language API, and craft automatic responses or escalate to human operators based on the sentiment score.
Business Information Sync: Keep business information updated across multiple platforms. Whenever you update your hours, description, or contact information in your primary business management tool, synchronize those changes with your Google My Business listing via Pipedream.
Dynamic Posts for Promotions: Automatically generate and post content to your Google My Business account. For example, when a new product is added to your eCommerce platform like Shopify, trigger a workflow that posts an announcement on your Google My Business profile highlighting the new arrival.
Emit new event for each new local post on a location See the documentation
Emit new event for each new review on a location See the documentation
Create or update a reply to the specified review. See the documentation
Create a new local post associated with a location. See the documentation
List local posts associated with a location. See the documentation
Google Business Profile uses OAuth authentication. When you connect your Google Business Profile account, Pipedream will open a popup window where you can sign into Google Business Profile and grant Pipedream permission to connect to your account. Pipedream securely stores and automatically refreshes the OAuth tokens so you can easily authenticate any Google Business Profile API.
Pipedream requests the following authorization scopes when you connect your account:
https://www.googleapis.com/auth/business.manage
GET
https://accounts.google.com/o/oauth2/auth
?
client_id={{oauth.client_id}}
&
redirect_uri={{oauth.redirect_uri}}
&
state={{oauth.state}}
&
response_type=code
&
scope={{oauth.space_separated_scopes}}
&
access_type=offline
&
prompt=consent
POST
https://oauth2.googleapis.com/token
content-type: application/x-www-form-urlencoded
accept: application/json
client_id={{oauth.client_id}}
&
client_secret={{oauth.client_secret}}
&
redirect_uri={{oauth.redirect_uri}}
&
grant_type=authorization_code
&
code={{oauth.code}}
POST
https://oauth2.googleapis.com/token
content-type: application/x-www-form-urlencoded
accept: application/json
client_id={{oauth.client_id}}
&
client_secret={{oauth.client_secret}}
&
grant_type=refresh_token
&
refresh_token={{oauth.refresh_token}}