Skip to main content

Handle GDPR access and erasure emails with Gmail, GPT-4o, Supabase and Airtable

Workflow preview

Workflow preview
100%
Handle GDPR access and erasure emails with Gmail, GPT-4o, Supabase and Airtable preview
Open on n8n.io

1. Workflow Overview

How it works Handles GDPR Article 15 (access) and Article 17 (erasure) requests end to end — from inbound email to legally compliant response — with zero manual intervention and a full audit tra...

Best for

  • Document Extraction automation workflows
  • AI Summarization automation workflows
  • advanced n8n builders looking for reusable templates

Tools used

n8n-nodes-base.stickynote, n8n-nodes-base.gmailtrigger, @n8n/n8n-nodes-langchain.agent, @n8n/n8n-nodes-langchain.lmchatopenai, @n8n/n8n-nodes-langchain.outputparserstructured, n8n-nodes-base.supabase, n8n-nodes-base.code, n8n-nodes-base.airtable

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Kumar SmartFlow Craft.

Original n8n.io source

1.1 Workflow description

Title
Handle GDPR access and erasure emails with Gmail, GPT-4o, Supabase and Airtable
Workflow name
Handle GDPR access and erasure emails with Gmail, GPT-4o, Supabase and Airtable

🚀 How it works

Handles GDPR Article 15 (access) and Article 17 (erasure) requests end-to-end — from inbound email to legally-compliant response — with zero manual intervention and a full audit trail.

  • 📬 Monitors Gmail inbox for incoming data subject requests
  • 🤖 AI Agent classifies the request (access or erasure), extracts the requester email and data subject email with structured JSON output
  • 🗄️ Queries Supabase for all personal data records matching the subject
  • 📋 Queries Airtable CRM for matching contact records
  • 📝 Second AI Agent compiles all found data into a GDPR-compliant HTML report
  • ✉️ Access requests — sends a full data report to the requester
  • 🗑️ Erasure requests — deletes records from both Supabase and Airtable, then sends a deletion confirmation
  • 🔒 Logs every request to Google Sheets with timestamp for your audit trail

🛠️ Set up steps

Estimated setup time: ~20 minutes

  1. Gmail Trigger — connect Gmail OAuth2; point it at your DSR inbox
  2. OpenAI — connect OpenAI API credential (used by both AI Agent nodes)
  3. Supabase — connect Supabase API credential; update the table name from users to match your schema
  4. Airtable — connect Airtable Personal Access Token; replace YOUR_BASE_ID and YOUR_TABLE_NAME
  5. Google Sheets — connect Google Sheets OAuth2; replace YOUR_AUDIT_SHEET_ID; create a tab named DSR Audit Log
  6. Follow the sticky notes inside the workflow for per-node guidance

📋 Prerequisites

  • Gmail account receiving GDPR requests
  • OpenAI API key (GPT-4o)
  • Supabase project with a users/contacts table
  • Airtable base with a Contacts table containing an Email field
  • Google Sheets for audit log

Custom Workflow Request with Personal Dashboard

[email protected]

https://www.smartflowcraft.com/contact

More free templates

https://www.smartflowcraft.com/n8n-templates

1.2 Logical Blocks

This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.

2. Block-by-Block Analysis

Block 1 - Overview

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 2 - Prerequisites

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 3 - Setup Required

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 4 - How It Works

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 5 - Gmail — DSR Inbox

Type / Role
n8n-nodes-base.gmailTrigger - gmailTrigger
Config choices
Version 1.2

Block 6 - Classify note

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 7 - Classify DSR Request

Type / Role
@n8n/n8n-nodes-langchain.agent - agent
Config choices
Version 1.8

Block 8 - OpenAI — Classify

Type / Role
@n8n/n8n-nodes-langchain.lmChatOpenAi - lmChatOpenAi
Config choices
Version 1.2

Block 9 - DSR Classification Schema

Type / Role
@n8n/n8n-nodes-langchain.outputParserStructured - outputParserStructured
Config choices
Version 1.2

Block 10 - Supabase note

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 11 - Query Supabase

Type / Role
n8n-nodes-base.supabase - supabase
Config choices
Version 1

Block 12 - Consolidate DB note

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 13 - Consolidate DB Results

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 14 - Airtable note

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 15 - Query Airtable CRM

Type / Role
n8n-nodes-base.airtable - airtable
Config choices
Version 2.1

Block 16 - Consolidate CRM note

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 17 - Consolidate CRM Results

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 18 - Compile note

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 19 - Compile Data Report

Type / Role
@n8n/n8n-nodes-langchain.agent - agent
Config choices
Version 1.8

Block 20 - OpenAI — Compile

Type / Role
@n8n/n8n-nodes-langchain.lmChatOpenAi - lmChatOpenAi
Config choices
Version 1.2

Block 21 - Report Schema

Type / Role
@n8n/n8n-nodes-langchain.outputParserStructured - outputParserStructured
Config choices
Version 1.2

Block 22 - Route note

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 23 - Access or Erasure?

Type / Role
n8n-nodes-base.if - if
Config choices
Version 2.2

Block 24 - Send Access Report

Type / Role
n8n-nodes-base.gmail - gmail
Config choices
Version 2.1

Showing the first 24 of 32 workflow blocks. Download the JSON for the full node graph.

3. Summary Table

Workflow Handle GDPR access and erasure emails with Gmail, GPT-4o, Supabase and Airtable
Complexity advanced
Nodes 32
Categories Document Extraction, AI Summarization
Author Kumar SmartFlow Craft
Published 18 Mar 2026

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/14145/14145.json as the source template for this automation.

  2. 2. Import the template into n8n

    Open n8n, import the downloaded JSON, and review each node before activating the workflow.

  3. 3. Configure credentials and variables

    Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.

  4. 4. Test with sample data

    Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.

  5. 5. Activate and monitor

    Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.

5. General Notes & Resources

Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.

Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.

Frequently asked questions

What does Handle GDPR access and erasure emails with Gmail, GPT-4o, Supabase and Airtable do?

How it works Handles GDPR Article 15 (access) and Article 17 (erasure) requests end to end — from inbound email to legally compliant response — with zero manual intervention and a full audit tra...

What do I need before importing this workflow?

Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.

Can I customize this workflow?

Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your Document Extraction, AI Summarization use case.