Dynamic website assistant with DeepSeek AI, Pinecone Vectorstore & site-based routing
Ready for 3.0Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-10-19.
Nodes used (8)
- Postgres Chat Memory
@n8n/n8n-nodes-langchain.memoryPostgresChat - OpenRouter Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenRouter - Pinecone Vector Store
@n8n/n8n-nodes-langchain.vectorStorePinecone - Embeddings Cohere
@n8n/n8n-nodes-langchain.embeddingsCohere - Webhook
n8n-nodes-base.webhook - Respond to Webhook
n8n-nodes-base.respondToWebhook - Switch
n8n-nodes-base.switch - AI Agent
@n8n/n8n-nodes-langchain.agent
What it does
This workflow contains community nodes that are only compatible with the self-hosted version of n8n. π Overview This workflow enables a powerful AI-driven virtual assistant that dynamically responds to website queries using webhook input, Pinecone vector search, and OpenAI agents β all smartly routed based on the source website. π§ How It Works 1. Webhook Trigger The workflow starts with a Webhook node that receives query parameters: - query: The user's question - userId: Unique user identifier - site: Website identifier (e.g., testsite) - page: Page identifier (e.g., homepage, pricing) 2. Smart Routing A Switch node directs the request to the correct AI agent based on the site value. Each AI agent uses: - OpenAI GPT-4/3.5 model - Pinecone vector store for context-aware answers - SQL-based memory for consistent multi-turn conversation 3. Contextual AI Agent Each agent is customized per website using: - Site-specific Pinecone namespaces - Predefined system prompts to stay in scope - Webhook context including page, site, and userId 4. Final Response The response is sent back to the originating website using the Respond to Webhook node. π§ Use Case Ideal for multi-site platforms that want to serve tailored AI chat experiences per domain or page β whether itβs support, content discovery, or interactive agents. β
Highlights - π§ Vector search using Pinecone for contextual responses - π Website-aware logic with Switch node routing - π No hardcoded API keys - π§© Modular agents for scalable multi-site support