Overview
Add Google My Business to any ModuleX agent or workflow. Manage Google Business Profile posts, reviews, and replies via the Google My Business API (mybusiness.googleapis.com/v4).
Categories: Marketing & Advertising · Marketing · Local Business · Reviews · Auth: OAuth2 · Actions: 6
Authentication
OAuth2 Authentication
Connect using Google OAuth (recommended)Required Credentials
| Field | Description | Required | Format |
|---|---|---|---|
| Client ID | Google OAuth App Client ID | Yes | 123456789-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx.apps.googleusercontent.com |
| Client Secret | Google OAuth App Client Secret | Yes | GOCSPX-xxxxxxxxxxxxxxxxxxxxxxxx |
OAuth Configuration
- Authorization URL:
https://accounts.google.com/o/oauth2/v2/auth - Token URL:
https://oauth2.googleapis.com/token - Scopes:
https://www.googleapis.com/auth/business.manage
Available Actions
create_post — Create a new local post associated with a location
create_post — Create a new local post associated with a location
Parameters
Account name/ID for the Google Business Profile account
Location name/ID whose local posts will be created
Topic type of the local post: STANDARD, EVENT, OFFER, or ALERT
Language of the local post (e.g. en-US)
Description/body of the local post
Action performed when user clicks through the post. Object with actionType and url fields
Event information. Required for topic types EVENT and OFFER. Object with title, schedule (startDate, startTime, endDate, endTime)
Media associated with the post. Array of objects with sourceUrl (publicly accessible URL) fields
Format of the media items: PHOTO or VIDEO
Type of alert for ALERT topic type: ALERT_TYPE_UNSPECIFIED or COVID_19
Additional data for offer posts (only for OFFER topic type). Object with couponCode, redeemOnlineUrl, termsConditions
Response
create_update_reply_to_review — Create or update a reply to the specified review
create_update_reply_to_review — Create or update a reply to the specified review
get_reviews_multiple_locations — Get reviews from multiple locations at once
get_reviews_multiple_locations — Get reviews from multiple locations at once
Parameters
Account name/ID for the Google Business Profile account
List of location name/ID strings to get reviews from
Number of reviews to return per location (max 50) (Default:
50)How to order reviews: ‘createTime desc’, ‘createTime asc’, ‘updateTime desc’, or ‘updateTime asc’
If true, only return reviews that have textual content (Default:
false)Response
get_specific_review — Return a specific review by name
get_specific_review — Return a specific review by name
list_all_reviews — List all reviews of a location to audit reviews in bulk
list_all_reviews — List all reviews of a location to audit reviews in bulk
list_posts — List local posts associated with a location
list_posts — List local posts associated with a location
Limits & Quotas
- Google My Business API is subject to Google Cloud project quotas (typically 60 requests/minute per project by default).
- Some endpoints may return 429 status if quota is exceeded.
- Error model: non-2xx responses and timeouts are caught and returned as
success=False+errorrather than raising.