Complete AI safety suite: test 9 guardrail layers with Groq LLM
Ready for 3.0What this workflow does
This AI workflow has 15 nodes and runs manually, when you click “Execute workflow”. Along the way it connects Guardrails and Groq Chat Model.
How it runs
Trigger: Manually, when you click “Execute workflow”.
- Test Cases Data (Edit Fields (Set)): sets or maps fields
- Split Test Cases (Split Out): splits a list into separate items
- Format Data (Edit Fields (Set)): sets 3 fields: case_number, test_input, description
- Case 1 - Keyword Blocking (Guardrails): uses Guardrails, with model: Groq Chat Model
- Case 2 - Jailbreak Detection (Guardrails): uses Guardrails, with model: Groq Chat Model
- Case 3 - NSFW Content (Guardrails): uses Guardrails, with model: Groq Chat Model
- Case 4 - PII Detection (Sanitize) (Guardrails): uses Guardrails, with model: Groq Chat Model
- Case 5 - Secret Key Detection (Guardrails): uses Guardrails, with model: Groq Chat Model
- Case 6 - Topical Alignment (Guardrails): uses Guardrails, with model: Groq Chat Model
- Case 7 - URL Whitelisting (Guardrails): uses Guardrails, with model: Groq Chat Model
…plus 3 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 (5)
- Manual Trigger
n8n-nodes-base.manualTrigger - Edit Fields (Set)
n8n-nodes-base.set - Split Out
n8n-nodes-base.splitOut - Guardrails
@n8n/n8n-nodes-langchain.guardrails - Groq Chat Model
@n8n/n8n-nodes-langchain.lmChatGroq
From the author
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…