OpenClaw ยท Skill

This Skill

This skill provides a one-stop review collection service using BrowserAct's Google Maps Reviews API template. It can extract structured review data directly from Google Maps search results. Simply provide the search keywords, language, and country to get clean, usable review data.

Coding Agents & IDEs
v0.1.0
VirusTotal: Benign

Install

Start with the primary install command. Alternate entrypoints are included below for ClawHub and OpenClaw CLI users.

Primary command

clawhub install phheng/google-maps-reviews-api-skill

ClawHub installer

npx clawhub@latest install phheng/google-maps-reviews-api-skill

OpenClaw CLI

openclaw skills install phheng/google-maps-reviews-api-skill

Direct OpenClaw install

openclaw install phheng/google-maps-reviews-api-skill

What this skill does

This skill provides a one-stop review collection service using BrowserAct's Google Maps Reviews API template. It can extract structured review data directly from Google Maps search results. Simply provide the search keywords, language, and country to get clean, usable review data.

Why it matters

Bypasses CAPTCHA challenges and regional IP restrictions that typically block direct scraping, returning clean structured data without manual parsing.

Typical use cases

  • Pulling reviews for a coffee shop before a business trip
  • Tracking customer feedback for a restaurant chain across multiple cities
  • Comparing competitor clinic ratings by region
  • Gathering testimonials for a newly opened retail location
  • Researching top-rated attractions in a specific city

Source instructions

Google Maps Reviews Automation Skill

๐Ÿ“– Introduction

This skill provides a one-stop review collection service using BrowserAct's Google Maps Reviews API template. It can extract structured review data directly from Google Maps search results. Simply provide the search keywords, language, and country to get clean, usable review data.

โœจ Features

  1. No Hallucinations: Pre-set workflows avoid AI generative hallucinations, ensuring stable and precise data extraction.
  2. No Captcha Issues: No need to handle reCAPTCHA or other verification challenges.
  3. No IP Restrictions: No need to handle regional IP restrictions or geofencing.
  4. Faster Execution: Tasks execute faster compared to pure AI-driven browser automation solutions.
  5. Cost-Effective: Significantly lowers data acquisition costs compared to high-token-consuming AI solutions.

๐Ÿ”‘ API Key Setup

Before running, check the BROWSERACT_API_KEY environment variable. If not set, do not take other measures; ask and wait for the user to provide it. Agent must inform the user:

"Since you haven't configured the BrowserAct API Key, please visit the BrowserAct Console to get your Key."

๐Ÿ› ๏ธ Input Parameters

The Agent should flexibly configure the following parameters when calling the script:

  1. KeyWords (Search Keywords)

    • Type: string
    • Description: The query used to find places on Google Maps (e.g., business names, categories).
    • Example: coffee shop, dental clinic, Tesla showroom
  2. language (Language)

    • Type: string
    • Description: Sets the UI language and the language of the returned text.
    • Supported values: en, zh-CN, es, fr, etc.
    • Default: en
  3. country (Country)

    • Type: string
    • Description: Country or region bias for search results.
    • Supported values: us, gb, ca, au, jp, etc.
    • Default: us

๐Ÿš€ Usage

Agent should use the following independent script to achieve "one-line command result":

# Example call
python -u ./scripts/google_maps_reviews_api.py "Keywords" "Language" "Country"

โณ Execution Monitoring

Since this task involves automated browser operations, it may take some time (several minutes). The script will continuously output status logs with timestamps (e.g., [14:30:05] Task Status: running). Agent Instructions:

  • While waiting for the script result, keep monitoring the terminal output.
  • As long as the terminal is outputting new status logs, the task is running normally; do not mistake it for a deadlock or unresponsiveness.
  • Only if the status remains unchanged for a long time or the script stops outputting without returning a result should you consider triggering the retry mechanism.

๐Ÿ“Š Data Output

After successful execution, the script parses and prints results from the API response:

  • author_name: Display name of the reviewer
  • author_profile_url: Profile URL of the reviewer
  • rating: Star rating
  • text: Review text content
  • comment_date: Human-readable date
  • likes_count: Number of likes
  • author_image_url: Reviewer's avatar URL

โš ๏ธ Error Handling & Retry

If an error occurs during script execution (e.g., network fluctuations or task failure), the Agent should follow this logic:

  1. Check Output Content:

    • If the output contains "Invalid authorization", it means the API Key is invalid or expired. Do not retry; guide the user to re-check and provide the correct API Key.
    • If the output does not contain "Invalid authorization" but the task failed (e.g., output starts with Error: or returns empty results), the Agent should automatically try to re-execute the script once.
  2. Retry Limit:

    • Automatic retry is limited to one time. If the second attempt fails, stop retrying and report the specific error information to the user.

๐ŸŒŸ Typical Use Cases

  1. Local Business Analysis: Find reviews for cafes or clinics in a specific area.
  2. Reputation Monitoring: Track feedback for a specific brand location.
  3. Competitive Benchmarking: Analyze reviews of competitor stores.
  4. Sentiment Analysis: Gather review text for emotion and topic modeling.
  5. Market Research: Evaluate service quality across different regions.
  6. Lead Qualification: Use review data to identify high-quality service providers.
  7. Customer Insight: Understand recurring complaints or praises.
  8. Venue Research: Collect testimonials for parks, museums, or attractions.
  9. Retail Monitoring: Gather feedback for newly opened stores.
  10. Service Quality Audit: Analyze ratings and comments for a specific service chain.

Related OpenClaw skills

Browse all โ†’
Featured slot

Your product here

Reserve this slot to reach operators and coding-agent buyers.

Shown where builders are actively comparing tools and deployment options.

Advertise