Templates / Complete AI safety suite: test 9 guardrail layers with Groq LLM

Complete AI safety suite: test 9 guardrail layers with Groq LLM

Ready for 3.0

by Muhammad Shaheer Awan ✓ · 933 views · created 2025-11-22 · Engineering, AI Summarization

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-10-19.

What 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”.

  1. Test Cases Data (Edit Fields (Set)): sets or maps fields
  2. Split Test Cases (Split Out): splits a list into separate items
  3. Format Data (Edit Fields (Set)): sets 3 fields: case_number, test_input, description
  4. Case 1 - Keyword Blocking (Guardrails): uses Guardrails, with model: Groq Chat Model
  5. Case 2 - Jailbreak Detection (Guardrails): uses Guardrails, with model: Groq Chat Model
  6. Case 3 - NSFW Content (Guardrails): uses Guardrails, with model: Groq Chat Model
  7. Case 4 - PII Detection (Sanitize) (Guardrails): uses Guardrails, with model: Groq Chat Model
  8. Case 5 - Secret Key Detection (Guardrails): uses Guardrails, with model: Groq Chat Model
  9. Case 6 - Topical Alignment (Guardrails): uses Guardrails, with model: Groq Chat Model
  10. 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

GuardrailsGroq Chat Model

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)

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…

Excerpt from Muhammad Shaheer Awan'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.