Automation library · AI assistants

Complete AI safety suite: test 9 guardrail layers

Started by an event in a connected app. It calls services over plain HTTP rather than through connectors. It hands the judgement calls to Groq. 15 steps: a working afternoon to understand properly.

MediumCalls a model: Groq

15 stepsMedium: a working afternoon
0Branches: places the flow splits
0Loops or waits
0Services by connector: it calls them over plain HTTP

The flow

Starts it 1Model 10Logic 4

The steps in the order they run, from what starts it.

  1. 1Start - Manual TriggerManual triggerStarts it
  2. 2Groq Chat ModelLm Chat GroqModel
  3. 3Test Cases DataSetLogic
  4. 4Case 1 - Keyword BlockingGuardrailsModel
  5. 5Case 3 - NSFW ContentGuardrailsModel
  6. 6Case 4 - PII Detection (Sanitize)GuardrailsModel
  7. 7Case 5 - Secret Key DetectionGuardrailsModel
  8. 8Case 6 - Topical AlignmentGuardrailsModel
  9. 9Case 7 - URL WhitelistingGuardrailsModel
  10. 10Case 8 - Block URLs with CredentialsGuardrailsModel
  11. 11Case 9 - Custom RegexGuardrailsModel
  12. 12Case 2 - Jailbreak DetectionGuardrailsModel
  13. 13Split Test CasesSplit OutLogic
  14. 14Format ResultsSetLogic
  15. 15Format DataSetLogic

How it's built

Starts on
An event in a connected app
Steps
15
Size
Medium: a working afternoon
Connects to
Nothing by connector; it calls services over plain HTTP
Model
Groq

Questions

What does it need to run?

An n8n account, and a key for Groq. You connect your own accounts after importing it; none are included.

What starts it?

It starts on an event in a connected app.

Does it use AI?

Yes. It calls Groq. Model calls are billed by the provider, not by n8n.

How long does it take to set up?

Plan an afternoon. 15 steps is enough that you should read each one before running it.

How do I import it?

Copy the workflow, open a new workflow in n8n and paste. The steps appear on the canvas, ready for your own accounts.

Before you run it

Nothing here has been tested by us. It is somebody's working automation, read and described from its own steps. Treat the connections it wants as a list of accounts it will touch, and read the 15 steps before you point it at anything that matters.