← Back to work
Case Study 09 · API integration · AI-generated replies

Automated Google Review Responses — Business Profile API

Google Apps Script · Google Business Profile API · Claude API

The Problem

A local business was leaving every Google review unanswered. Five-star reviews got no response, and negative reviews sat unaddressed until someone noticed. Responding manually meant checking the dashboard every day and drafting replies from scratch each time.

The Build

We built a Google Apps Script system that polls the Google Business Profile Reviews API on an hourly trigger and checks for reviews newer than the last run. Five-star reviews get an AI-generated reply written by the Claude API with the business's name and context baked into the prompt — then posted directly back to GBP without human involvement. Anything below five stars skips the AI and sends a human alert email via Gmail with the review text, star rating, and a direct link to respond.

The Outcomes
Every 5-star review responded to automatically within the hour
Zero reviews fall through unnoticed
Sub-5-star reviews routed to a human with full context in one click
No third-party tools, no monthly subscription platform
Fully configurable — swap the business description or prompt in one place
The Stack
Google Apps Script Google Business Profile Reviews API Claude API (Anthropic) Gmail Google Cloud (OAuth 2.0)
Have a similar problem?
We start every engagement by understanding what's actually broken before we touch a tool.
Tell us about it →