Skip to main content

Scenario

Your team responds to dozens of reviews weekly across locations. Instead of writing each from scratch, you identify common review themes, then generate branded response templates for each theme type. Staff select the matching template and personalize — consistent voice, faster response times. Flow: Aggregate review themes across locations → Mavera POST /mave/chat (theme clustering) → POST /generations (per-theme templates) → Template library

Code

Example Output

Error Handling

Google requires the Account Management API with OAuth for posting replies. Use PATCH /accounts/{id}/locations/{id}/reviews/{id}/reply.
Templates with [CUSTOMER_NAME] and [LOCATION] must be filled before posting. Build a simple UI or spreadsheet workflow for staff to personalize and approve.
Google’s review policy prohibits incentivizing reviews or including promotional content in replies. Keep templates focused on acknowledgment and resolution.