Analyze compliant documents with PromptLock Guard, Claude, and Google Sheets
UnknownWhat this workflow does
This workflow has 11 nodes and runs when an HTTP POST request hits its webhook URL. Along the way it connects Gmail, Google Sheets and Promptlock Guard (community). It also calls api.anthropic.com over HTTP.
How it runs
Trigger: When an HTTP POST request hits its webhook URL.
- Check for Binary File (If): checks a condition and branches into true / false
- Extract PDF Text (Extract from File): extracts data from a file (pdf)
- Set Text Field from JSON (Edit Fields (Set)): sets 1 field: text
- PromptLock Compliance Guard (Prompt Lock Guard): uses Prompt Lock Guard
- Post to Claude API (HTTP Request): calls api.anthropic.com (POST)
- Email for Human Review (Gmail): uses Gmail
- Send 403 Response (Respond to Webhook): sends the response back to the webhook caller
- Respond with Analysis (Respond to Webhook): sends the response back to the webhook caller
- Build Audit Log Entry (Edit Fields (Set)): sets 4 fields: timestamp, action_taken, risk_score…
- Append to Audit Sheet (Google Sheets): append
Services it uses
Other Google Sheets + Gmail templates (2,102) · Other Anthropic + Google Sheets templates (261) · Other Anthropic + Gmail templates (192)
HTTP calls to: api.anthropic.com
Before you upgrade to n8n 3.0
We can't fully verify this one: it relies on 1 community package, and n8n 3.0 turns unverified community packages off by default (N8N_UNVERIFIED_PACKAGES_ENABLED=false).
- Check that n8n-nodes-promptlock-guard is verified or supports 3.0 (used in PromptLock Compliance Guard).
Nodes used (9)
- Webhook
n8n-nodes-base.webhook - If
n8n-nodes-base.if - Extract from File
n8n-nodes-base.extractFromFile - Edit Fields (Set)
n8n-nodes-base.set - Prompt Lock Guard
n8n-nodes-promptlock-guard.promptLockGuard - HTTP Request
n8n-nodes-base.httpRequest - Respond to Webhook
n8n-nodes-base.respondToWebhook - Gmail
n8n-nodes-base.gmail - Google Sheets
n8n-nodes-base.googleSheets
From the author
Quick overview Screen contracts, intake forms, and reports for HIPAA, GDPR, and PCI data — plus always-on prompt-injection detection — before Claude summarizes them. Clean documents pass through, risky ones get flagged for review or blocked, and every…