N8N Integration
Secure your N8N AI workflows without slowing down
37x faster and 95% cheaper than N8N's native guardrails. Add bot detection, IP reputation, and PII protection with a simple base URL change.
<Â 15ms
Security latency
95%
Cost reduction
14
PII types detected
No workflow changes required.
Create a Bastio proxy
Sign up free, create a new proxy, configure security rules.
Get your proxy URL
Copy your unique proxy endpoint from the dashboard.
Update N8N credentials
Change the base URL in your OpenAI credential. Done.
Bastio vs N8N native guardrails.
| Metric | N8N | Bastio |
|---|---|---|
| Latency | 300-800ms | <15ms |
| Cost per 1M checks | ~$2,000 | ~$100 |
| Bot Detection | No | Yes |
| IP Reputation | No | Yes |
| User Fingerprinting | No | Yes |
| PII Types Detected | 3 | 14 |
Features N8N's native guardrails don't have.
N8N's Guardrails node uses LLM-based detection at 300-800ms per check. Bastio uses pattern-based detection at <15ms with bot detection, IP reputation, user fingerprinting, and deterministic blocking that never lets the same attack pass on retry.
What's included
Enterprise-grade protection for N8N workflows
Everything you need to secure your AI automations, from threat detection to compliance-ready audit logs.
N8N OpenAI Credential
Just change the base URL
{
"apiKey": "sk-your-openai-key",
"baseUrl": "https://api.bastio.com/v1/guard/YOUR_PROXY_ID/v1"
}cURL Example
Test your proxy endpoint directly
curl -X POST \
"https://api.bastio.com/v1/guard/{proxyID}/v1/chat/completions" \
-H "Authorization: Bearer sk-your-key" \
-H "Content-Type: application/json" \
-d '{"model":"gpt-4","messages":[
{"role":"user","content":"Hello"}
]}'Prompt Injection Protection
50+ threat patterns with encoded attack detection and jailbreak prevention.
Bot & Abuse Prevention
Stop automated attacks before they waste your LLM tokens with user agent and timing analysis.
PII Detection
14 data types with masking or blocking modes for GDPR and HIPAA compliance.
Ready to secure your N8N workflows?
Start with 1,000 free API requests per month. No credit card required.