workflows.fit
Back to n8n workflows
n8n templateFreeBy Charles

AI privacy-minded router: PII detection for privacy, security, & compliance

Modern AI systems are powerful but pose privacy risks when handling sensitive data. Organizations need AI capabilities while ensuring: ✅ Sensitive data never leaves secure environments ✅ Compliance with regulations (G...

DevelopmentCore NodesAILangchainCodeSwitchChat TriggerLm Chat Ollama
Loading interactive preview...

Template notes

Modern AI systems are powerful but pose privacy risks when handling sensitive data.

Organizations need AI capabilities while ensuring:

✅ Sensitive data never leaves secure environments ✅ Compliance with regulations (GDPR, HIPAA, PCI, SOX) ✅ Real-time decision making about data sensitivity ✅ Comprehensive audit trails for regulatory review

The Concept:

Intelligent Data Classification + Smart Routing

The goal of this concept is to build the foundations of the safe and compliant use of LLMs in Agentic workflows by automatically detecting sensitive data, applying sanitization rules, and intelligently routing requests through secure processing channels.

This workflow will analyze the user's chat or webhook input and attempt to detect PII using the Enhanced PII Pattern Detector.

If detected, the workflow will process that input via a series of Compliance, Auditing, and Security steps which log and sanitizes the request prior to any LLM being pinged.