Complete AI safety suite: test 9 guardrail layers with Groq LLM
Who's It For AI developers, automation engineers, and teams building chatbots, AI agents, or workflows that process user input. Perfect for those concerned about security, compliance, and content safety. What It Does This workflow demonstrates all 9 guardrail types available in n8n's Guardrails node through real-world test cases. It provides a comprehensive safety testing suite that validates: - Keyword blocking for profanity and banned terms - Jailbreak detection to prevent prompt injection att
At a glance
Complete AI safety suite: test 9 guardrail layers with Groq LLM is a ready-made n8n workflow you import as a workflow JSON file — no build required. It connects UNSUPPORTED_SLUG_FORMAT. It's free to download. Follow the 5-step import below to go live in minutes.
- Platform
- n8n
- Connects
- UNSUPPORTED_SLUG_FORMAT
- Modules
- 15
- Price
- Free
- Version
- v1.0

About this workflow
Who's It For AI developers, automation engineers, and teams building chatbots, AI agents, or workflows that process user input. Perfect for those concerned about security, compliance, and content safety. What It Does This workflow demonstrates all 9 guardrail types available in n8n's Guardrails node through real-world test cases. It provides a comprehensive safety testing suite that validates: - Keyword blocking for profanity and banned terms - Jailbreak detection to prevent prompt injection attacks - NSFW content filtering for inappropriate material - PII detection and sanitization for emails, phone numbers, and credit cards - Secret key detection to catch leaked API keys and tokens - Topical alignment to keep conversations on-topic - URL whitelisting to block malicious domains - Credential URL blocking to prevent URLs with embedded passwords - Custom regex patterns for organization-specific rules (employee IDs, order numbers) - Each test case flows through its corresponding guardrail node, with results formatted into clear pass/fail reports showing violations and sanitized text. How to Set Up - Add your Groq API credentials (free tier works fine) - Import the workflow - Click "Test workflow" to run all 9 cases - Review the formatted results to understand each guardrail's behavior Requirements - n8n version 1.119.1 or later (for Guardrails node) - Groq API account (free tier sufficient) - Self-hosted instance (some guardrails use LLM-based detection) How to Customize - Modify test cases in the "Test Cases Data" node to match your specific scenarios - Adjust threshold values (0.0-1.0) for AI-based guardrails to fine-tune sensitivity - Add or remove guardrails based on your security requirements - Integrate individual guardrail nodes into your production workflows - Use the sticky notes as reference documentation for implementation This is a plug-and-play educational template that serves as both a testing suite and implementation reference for building production-ready AI safety layers.
How to import this n8n workflow
- 1
Download the workflow JSON file after purchase.
- 2
Open n8n → click the menu → Import from File.
- 3
Select the downloaded JSON and import.
- 4
Set up credentials for each node that requires them.
- 5
Click Execute Workflow to test, then activate.
Setup guide
Setup guide included
Purchase to unlock the full step-by-step guide
Related N8n workflows
Azure Logic App with Function
🎓 Learn JSON basics with an interactive step-by-step tutorial for beginners
Transform Airbnb listings into custom direct booking sites with Netlify
Create notes and comments on any Odoo model record
🛠️ TheHive tool MCP server
Amazon CloudWatch Application Insights API with 27 operations
Generate custom logos from websites using OpenAI and Gemini
Sync Zendesk knowledge base articles to Airtable with markdown conversion
Reviews
No reviews yet
Be the first to buy and share your experience.
Leave a review
Sign in to share your experience with this workflow.
Create a free account to purchase workflows.
- JSON blueprint — instant download
- Setup guide PDF included
- 5 downloads · valid 30 days
- Works with n8n
Need help setting this up?
Book a 3-hour live setup session with an Agility consultant.
- Configure live on Google Meet / Zoom
- Free follow-up if workflow has defects
- Platform expert assigned to you