Route secure SaaS helpdesk chats with SoterAI, Groq, Pinecone and Cohere
Needs changesWhat this workflow does
This AI workflow has 20 nodes and runs when a chat message arrives. Along the way it connects OpenAI Chat Model, Pinecone Vector Store, Embeddings Cohere and Soterai (community).
How it runs
Trigger: When a chat message arrives.
- Guard Input for Threats (Soter Guard): uses Soter Guard
- Standardize Incoming Request (Code): runs custom JavaScript code
- Log Security Incidents (Code): runs custom JavaScript code
- Determine User Intent (Code): runs custom JavaScript code
- Reply Blocked Message (Chat): uses Chat
- Distribute Based on Intent (Switch): routes items into branches
- Bug Analysis Agent (AI Agent): runs an AI agent, with model: OpenAI Chat Model; memory: Bug Memory Cache
- Handoff Communication Agent (AI Agent): runs an AI agent, with model: OpenAI Chat Model; memory: Handoff Memory Cache
- Knowledge Base Agent (AI Agent): runs an AI agent, with model: OpenAI Chat Model; 1 tool (Pinecone KB Vector Store); memory: Knowledge Base Memory Cache
- Generate Bug Ticket (Code): runs custom JavaScript code
…plus 3 more steps. See the full node list below.
Services it uses
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 Bug Analysis Agent (v1.7), Handoff Communication Agent (v1.7), Knowledge Base Agent (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) Bug Analysis Agent (v1.7), Handoff Communication Agent (v1.7), Knowledge Base Agent (v1.7) | Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent. |
Nodes used (10)
- Chat Trigger
@n8n/n8n-nodes-langchain.chatTrigger - Soter Guard
n8n-nodes-soterai.soterGuard - Code
n8n-nodes-base.code - Switch
n8n-nodes-base.switch - AI Agent
@n8n/n8n-nodes-langchain.agent - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - Simple Memory
@n8n/n8n-nodes-langchain.memoryBufferWindow - Chat
@n8n/n8n-nodes-langchain.chat - Pinecone Vector Store
@n8n/n8n-nodes-langchain.vectorStorePinecone - Embeddings Cohere
@n8n/n8n-nodes-langchain.embeddingsCohere
From the author
Quick overview This workflow runs a chat-based SaaS helpdesk that protects against prompt injection and redacts sensitive data using SoterAI, then routes requests to Groq-powered agents for knowledge-base answers, bug triage, or human handoff, and returns a…