Templates / Screen chat messages for GDPR-safe PII and injection with PromptLock Guard and Claude

Screen chat messages for GDPR-safe PII and injection with PromptLock Guard and Claude

Unknown

by Matthew Snyder · 18 views · created 2026-04-29 · Support Chatbot, AI Chatbot

Unknown. This template uses community nodes we can't verify statically. Uses community nodes that can't be verified statically (unverified community packages are off by default in 3.0). Static check, last run 2026-10-19.

What this workflow does

This AI workflow has 7 nodes and runs when a chat message arrives. Along the way it connects Promptlock Guard (community). It also calls api.anthropic.com over HTTP.

How it runs

Trigger: When a chat message arrives.

  1. PromptLock Compliance Guard (Prompt Lock Guard): analyze (prompt)
  2. Injection Detected? (If): checks a condition and branches into true / false
  3. Hold for Human Review (Edit Fields (Set)): sets 1 field: output
  4. Refuse Unsafe Message (Edit Fields (Set)): sets 1 field: output
  5. Claude Generates Reply (HTTP Request): calls api.anthropic.com (POST)
  6. Format Chat Reply (Edit Fields (Set)): sets 1 field: output

Services it uses

Promptlock Guard (community)

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 (5)

From the author

Quick overview An AI chat assistant that screens every incoming message for personal data and prompt-injection attacks before it reaches the language model. Personal data is redacted, injection attempts are refused, and clean messages pass straight through —…

Excerpt from Matthew Snyder's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.