n8n enterprise AI security firewall — guardrails for secure agents
Ready for 3.0What this workflow does
This AI workflow has 17 nodes and runs manually, when you click “Execute workflow”. Along the way it connects Guardrails, Google Gemini Chat Model and Google Sheets.
How it runs
Trigger: Manually, when you click “Execute workflow”.
- Guadrails Test Data (Google Sheets): uses Google Sheets
- Switch: routes items into branches
- Jailbreak (Guardrails): uses Guardrails, with model: Google Gemini Chat Model
- PII (Guardrails): uses Guardrails, with model: Google Gemini Chat Model
- Secret Keys (Guardrails): uses Guardrails, with model: Google Gemini Chat Model
- NSFW (Guardrails): uses Guardrails, with model: Google Gemini Chat Model
- URLs (Guardrails): uses Guardrails, with model: Google Gemini Chat Model
- Topical Alignment (Guardrails): uses Guardrails, with model: Google Gemini Chat Model
- Keywords (Guardrails): uses Guardrails, with model: Google Gemini Chat Model
- Personal Data (Edit Fields (Set)): sets or maps fields
…plus 5 more steps. See the full node list below.
Services it uses
Before you upgrade to n8n 3.0
Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.
Nodes used (6)
- Guardrails
@n8n/n8n-nodes-langchain.guardrails - Google Gemini Chat Model
@n8n/n8n-nodes-langchain.lmChatGoogleGemini - Google Sheets
n8n-nodes-base.googleSheets - Switch
n8n-nodes-base.switch - Edit Fields (Set)
n8n-nodes-base.set - Manual Trigger
n8n-nodes-base.manualTrigger
From the author
🛡️ n8n Guardrails: Risk Ranking This workflow provides a complete testing rig for evaluating text against seven essential AI guardrails used in production systems. It helps you detect jailbreak attempts, PII exposure, NSFW content, secret key leaks,…