AutomationMart
Home/Browse/n8n enterprise AI security firewall — guardrails for secure agents
n8n

n8n enterprise AI security firewall — guardrails for secure agents

n8nn8n17 modulesv1.0
Google SheetsLinkedInGemini

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, malicious URLs, topical misalignment, and keyword violations. Use the included Google Sheet or CSV to batch-test multiple inputs instantly. --- ## How It Works (Internal Workflow Overview) 1. Load Input Rows The workflow reads each test entry (Guardra

At a glance

n8n enterprise AI security firewall — guardrails for secure agents is a ready-made n8n workflow you import as a workflow JSON file — no build required. It connects Google Sheets, LinkedIn, Gemini. It's free to download. Follow the 5-step import below to go live in minutes.

Platform
n8n
Connects
Google Sheets, LinkedIn, Gemini
Modules
17
Price
Free
Version
v1.0
n8n enterprise AI security firewall — guardrails for secure agents workflow diagram

About this workflow

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, malicious URLs, topical misalignment, and keyword violations. Use the included Google Sheet or CSV to batch-test multiple inputs instantly. --- ## How It Works (Internal Workflow Overview) 1. Load Input Rows The workflow reads each test entry (GuardrailType + InputText) from a Google Sheet or CSV. 2. Route to the Correct Guardrail A Switch node sends the text to the appropriate guardrail: - Jailbreak - PII - Secret Keys - NSFW - URLs - Topical Alignment - Keywords 3. AI Guardrail Evaluation Each guardrail uses Google Gemini to return: - Pass / Fail - Confidence score - Reasoning - Extracted PII, URLs, or entities (when relevant) 4. Optional Sanitization Layer Three sanitizers demonstrate how to clean unsafe text: - PII Sanitization - Secret Key Sanitization - URL Sanitization 5. Review Results Each guardrail node outputs clean JSON, making debugging fast and transparent. --- ## How to Set Up 1. Load the Test Dataset Use either: - The included CSV file - The linked Google Sheet Update only: - Document ID - Sheet name --- 2. Add Google Sheets Credentials Create an OAuth2 credential → paste the Google JSON → connect your account. --- 3. Add Google Gemini Credential Go to Credentials → Google Gemini (PaLM API) → Paste your API key → attach it to all Guardrail nodes. --- 4. Review Sticky Notes They visually explain: - What each guardrail checks - Why the check is important - Risk scoring and impact --- 5. Run the Workflow Click Execute Workflow and inspect: - Each guardrail node’s output - The full execution data --- ## Requirements - n8n (latest version recommended) - Google Gemini API key - Google Sheets API access - Test dataset: n8n Guardrails test data.csv --- ## Test Data Included The included dataset allows instant testing: - Jailbreak prompts - PII samples - API key leaks - NSFW text - Malicious URL examples - Off-topic content - Keyword triggers --- ## Template Metadata Template Author: Sandeep Patharkar Category: AI Safety / Agent Security Difficulty: Intermediate Estimated Setup Time: 10–15 minutes Tags: Guardrails, AI Agents, Safety, Enterprise --- ## Connect With Me Author: Sandeep Patharkar 🔗 LinkedIn: 🏠 Skool AIC+:

n8n

How to import this n8n workflow

  1. 1

    Download the workflow JSON file after purchase.

  2. 2

    Open n8n → click the menu → Import from File.

  3. 3

    Select the downloaded JSON and import.

  4. 4

    Set up credentials for each node that requires them.

  5. 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

Save new PHP Point of Sale sales to a Google Sheets spreadsheet

Every time a new sale is created in PHP Point of Sale, Make will automatically add it to a new row in a Google Sheets spreadsheet. The template uses this [example spreadsheet](https://docs.google.com/spreadsheets/d/1nR3GseY_h8yecNucI1J_os_LRyk0iVfsFzk-uJdawiQ/edit?usp=sharing).

Free

Add new rows with data about Outbound messages in Hootsuite to Google Sheets spreadsheet

List Outbound messages in Hootsuite for specified 4 weeks period and store the data in Google Sheets spreadsheet.

Free

Automate medical billing with Google Sheets and Gmail

Automate Medical Billing with Google Sheets and Gmail Note: This template is designed for self-hosted n8n instances. The workflow image above shows the complete automation flow. This n8n workflow automates the patient billing process—from form submission to invoice generation, email delivery, and Google Sheets logging. --- 🏥 Who is this for? This workflow is ideal for: Private medical clinics Health service providers Medical office administrators Telehealth services Billing departments ---

Free

Add a new row to a Google Sheets spreadsheet from a Google Ads Lead Forms submission

Please disable your ad blockers when working with our Google Ads apps. The ad blockers may cause unexpected behavior. Every time a new Google Ads Lead form is submitted, Make will automatically add a new row to a Google Sheets spreadsheet. The template expects your lead form to collect at least these fields: 1) Full Name 2) User Email 3) User Phone The template uses this [example spreadsheet.](https://docs.google.com/spreadsheets/d/1_FJW6u9VNsp8NcTmiMKUyr80ox2WEUm73qh2IUktWxo/edit?usp=sharin

Free

Summarize meeting recordings and create Notion action items with Gemini AI

Who is this for Team leads, project managers, and operations staff who want to automate meeting documentation. Useful for any team that records meetings and needs structured notes with clear action items. What this workflow does This workflow accepts a meeting recording upload via a web form. The recording is uploaded to Gemini Files API for audio analysis. Gemini AI generates a structured summary including key decisions, action items with assignees, and follow-up topics. A Notion page is create

Free

Import Google Sheets data into Invoice Ninja

This template helps you import a list of customers automatically from Google Sheets to Invoice Ninja. The scenario can be scheduled to run at regular intervals: every minute, hour, day or at the specified date. The template uses [this example from Google Sheets](https://docs.google.com/spreadsheets/d/17AutCAMLzuIPogSMdKRy2ClAZqABKwjhzFqCXbxuZVQ/edit?usp=sharing).

Free

Customer personality (BaZi, DISC, Numerology) with Gemini & Google Sheets

What this workflow does This workflow turns your n8n into an automated personality-insights engine driven by Google Sheets. When a row is updated with Analysis Status = Run, it: - Computes Lunar Date of Birth and Four Pillars (BaZi) from DOB and optional birth time. - Calculates Numerology (Life Path, Birth Day, Pinnacles/Challenges, Expression, Soul Urge, Personality, Maturity) and a phone “vibration” number. - Generates concise, sales-oriented bullet-point analyses with Gemini for BaZi, Numer

Free

Manage clinical trial e-consent and compliance with Claude AI and Google Sheets

This workflow automates end-to-end e-consent management for clinical trials. It captures, validates, timestamps, and stores consent submissions with a full regulatory-compliant audit trail, notifies investigators and participants, and runs daily compliance checks for missing or expiring consents. How it works 1. Capture E-Consent - Webhook receives signed consent submission from participant portal 2. Validate & Timestamp - Verifies all required fields, applies cryptographic timestamp for legal v

Free

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.

Log in to review
Free
No ratings yet

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.

₹2,499/ session
3 hrs · video call
  • Configure live on Google Meet / Zoom
  • Free follow-up if workflow has defects
  • Platform expert assigned to you
Book installation session
Free