Route secure AI customer support chats with OpenAI and SoterAI
Needs changesWhat this workflow does
This AI workflow has 17 nodes and runs when a chat message arrives (plus 2 other triggers). Along the way it connects OpenAI Chat Model and Soterai (community). It also calls httpbin.org over HTTP.
How it runs
Trigger: When a chat message arrives (plus 2 other triggers).
- Unified Intake & Normalizer (Code): runs custom JavaScript code
- 🛡️ SoterAI Input Threat Shield (Soter Guard): input guard (guardrail)
- 🧠 Autonomous Support Copilot (AI Agent): runs an AI agent, with model: OpenAI Chat Model; 2 tools (Order Lookup Tool, Refund & Policy Calculator); memory: Conversation Memory
- 🚨 SecOps Threat Incident Formatter (Edit Fields (Set)): sets 9 fields: incidentType, severity, riskScore…
- 🔒 SoterAI Output Guardrail (DLP) (Soter Guard): output guard (guardrail)
- Dispatch SecOps Alert (Slack/Webhook) (HTTP Request): calls httpbin.org (POST)
- Send Security Rejection to Customer (Respond to Webhook): sends the response back to the webhook caller
- Deliver Response to Customer (Respond to Webhook): sends the response back to the webhook caller
- Deliver Chat / Web Response (Edit Fields (Set)): sets 3 fields: customerReply, securityStatus, riskScore
- 🚨 SecOps Output DLP Leak Alert (Edit Fields (Set)): sets 3 fields: alert, redactedText, findingsCount
Services it uses
HTTP calls to: httpbin.org
Before you upgrade to n8n 3.0
1 thing in this workflow is removed in n8n 3.0. Fix it before you upgrade:
- AI Agent v1 (old agent modes) in 🧠 Autonomous Support Copilot (v1.7): replace with Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent.
| Removed in 3.0 | Replace with |
|---|---|
| AI Agent v1 (old agent modes) 🧠 Autonomous Support Copilot (v1.7) | Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent. |
Nodes used (13)
- Chat Trigger
@n8n/n8n-nodes-langchain.chatTrigger - Webhook
n8n-nodes-base.webhook - Manual Trigger
n8n-nodes-base.manualTrigger - Code
n8n-nodes-base.code - Soter Guard
n8n-nodes-soterai.soterGuard - AI Agent
@n8n/n8n-nodes-langchain.agent - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - Simple Memory
@n8n/n8n-nodes-langchain.memoryBufferWindow - Code Tool
@n8n/n8n-nodes-langchain.toolCode - Calculator
@n8n/n8n-nodes-langchain.toolCalculator - Respond to Webhook
n8n-nodes-base.respondToWebhook - Edit Fields (Set)
n8n-nodes-base.set - HTTP Request
n8n-nodes-base.httpRequest
From the author
Quick overview Autonomous enterprise AI customer support copilot protected end-to-end by SoterAI. Features zero-trust prompt injection firewall, multi-turn memory, verified live ERP tools (order lookup & calculator), and real-time output DLP data redaction.…