DEV Community

Nevik Schmidt
Nevik Schmidt

Posted on

Build a GDPR-Compliant Google Reviews System in 30 Minutes (Full n8n Tutorial)

Let me show you exactly how I built a system that:

  • Automatically requests Google Reviews after purchase
  • Flags negative reviews for immediate follow-up
  • Syncs everything to a dashboard
  • Is 100% GDPR-compliant (including double opt-in)

Total time to build: 30 minutes. Total cost: €0 (self-hosted n8n).

Prerequisites

  • n8n installed (self-hosted or n8n.cloud)
  • A Google Business Profile
  • A webhook source (your shop/CRM)

The Architecture

Purchase Event → n8n Webhook → Delay (7 days) → Email Request → Google API → Dashboard
                                    ↓
                              Negative Review? → Slack Alert
Enter fullscreen mode Exit fullscreen mode

Step 1: Webhook Trigger

Create a Webhook node that receives purchase data:

{
  "email": "customer@example.com",
  "name": "Max Mustermann",
  "order_id": "12345",
  "product": "Premium Service",
  "date": "2026-03-21"
}
Enter fullscreen mode Exit fullscreen mode

Step 2: Add to Wait List (GDPR Compliance)

Before sending anything, add a "confirmation" step:

  • Store the email in a simple database
  • Send a "Can we contact you about your experience?" email
  • Only proceed if they click "Yes"

This is the double opt-in that makes it GDPR-compliant.

Step 3: Wait 7 Days

Use n8n's Wait node. Don't ask for reviews immediately after purchase — it feels pushy.

Step 4: Send Review Request

Email template:

Hallo [Name],

wie hat Ihnen [Produkt] gefallen?

Wir würden uns freuen, wenn Sie kurz Zeit für eine Bewertung finden:

[Bewertung schreiben]

Vielen Dank!
[Company Name]
Enter fullscreen mode Exit fullscreen mode

Step 5: Monitor Reviews

Use Google My Business API to pull new reviews daily:

// n8n HTTP Request node
const response = await fetch('https://mybusiness.googleapis.com/v4/accounts/{accountId}/locations/{locationId}/reviews');
Enter fullscreen mode Exit fullscreen mode

Step 6: Negative Review Alert

Add a conditional node:

if (review.rating < 3) {
  // Send Slack alert
  return { alert: true, review };
}
Enter fullscreen mode Exit fullscreen mode

Get the Full Workflow

This is one of the 10 workflows in my n8n Workflow Templates Pack — free to download.

For step-by-step video tutorials + additional workflows, check the AI Automation Starter Kit](https://nevikschmidt.gumroad.com/l/tvvmgn).


Questions? Drop them in the comments!

Top comments (0)