Step-by-Step Operational Guide

How ReviewPulse Works From Onboarding to Published Reply

ReviewPulse follows a transparent 8-step lifecycle that keeps business owners in full control of their account authorization, AI response drafts, and published replies.

Step 1

Create a ReviewPulse Account

Business owners visit /register and create an account using their name, business email address, and password, or an administrator signs in at /admin/login.

Stored in the MySQL businesses / admins tables with bcrypt password hashing.
Step 2

Add Your Business Profile Context

Select a business category preset (or enter a custom category) along with the business name, street address/city, contact phone, website, products, services, and preferred brand tone.

Endpoint: POST /api/businesses · Configures prompt context for AI reply drafting.
Step 3

Connect Your Google Business Profile

Connect your Google Business Profile using Google’s official OAuth 2.0 authorization flow when direct Google Business Profile API access is active on the project, or link your public Google Maps listing for review retrieval.

Endpoint: GET /api/oauth/google/url & /api/oauth/google/callback (or Outscraper public review sync).
Step 4

Review and Grant Requested Permissions

During the Google OAuth 2.0 consent screen flow, the verified business owner reviews the requested Google Business Profile scope (https://www.googleapis.com/auth/business.manage) and explicitly grants permission.

OAuth 2.0 tokens are encrypted at rest using OpenSSL AES-256-GCM (TokenEncryptionService.php).
Step 5

Access Eligible Review Information

ReviewPulse retrieves customer reviews for the authorized or linked business location, including reviewer display name, star rating (1★–5★), review comment text, creation/update timestamps, and existing reply status.

Upserted into the MySQL reviews table via sync_reviews.php or manual "Sync Google Reviews".
Step 6

Generate AI-Assisted Response Suggestions

For un-replied reviews, ReviewPulse sends the business profile context and review content to the NVIDIA NIM API (nvidia/nemotron-3.5-lightning-30b-a3b) to draft a tailored 50–110 word response. Internal AI reasoning is stored separately and never published.

Service: NvidiaAiService.php · Table: ai_replies (prompt_snapshot, reasoning_content, generated_reply).
Step 7

Review, Approve, and Publish Responses

Business owners inspect the drafted reply in /admin/reviews, edit the text if desired, and click "Approve & Publish to Google". Replies are published according to the authorized connection workflow and applicable Google policies.

Endpoint: POST /api/reviews/{id}/publish · Updates reply_status = "posted" and records timestamp.
Step 8

Monitor Activity Through the ReviewPulse Dashboard

Track total reviews, published responses, pending approvals, average star ratings, and timestamped synchronization logs in the ReviewPulse dashboard. Pause syncing or disconnect the account at any time.

Routes: /admin/businesses & /admin/reviews · Endpoint: GET /api/stats.

Clear Distinction Between Workflow Stages

To ensure complete transparency for business owners and Google reviewers, ReviewPulse separates review management into four distinct stages:

Workflow StageWhat HappensExternal Service / API InvolvedBusiness Owner Control
1. Review RetrievalFetches customer review rating, text, reviewer name, and timestamp into MySQL.Google Business Profile Reviews API (when OAuth is connected) or Outscraper Google Maps Reviews API.Owner can trigger manual sync, adjust polling intervals, or pause/disconnect syncing at any time.
2. AI Response GenerationDrafts a suggested 50–110 word owner reply using business profile context and review text.NVIDIA NIM API (nvidia/nemotron-3.5-lightning-30b-a3b). Does not modify anything on Google.Owner configures brand tone, custom instructions, and can regenerate or edit any draft.
3. User ApprovalOwner reviews the drafted reply (especially for 1–3★ reviews held as needs_approval).Internal ReviewPulse MySQL database (reviews & ai_replies tables).Mandatory owner approval for reviews below the configured star threshold.
4. Google PublishingPosts the approved owner reply publicly to the customer review on Google Business Profile.PUT https://mybusiness.googleapis.com/v4/{reviewName}/reply (requires approved GBP API project + owner OAuth 2.0 consent), or 1-click Copy & Open Google Maps.Requires explicit owner OAuth 2.0 authorization (business.manage) or manual owner action.