Dynamic Website Assistant with DeepSeek AI, Pinecone Vectorstore & Site-Based Routing
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
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., test_site)
page: Page identifier (e.g., homepage, pricing)
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
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
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
Related Templates
Use OpenRouter in n8n versions <1.78
What it is: In version 1.78, n8n introduced a dedicated node to use the OpenRouter service, which lets you to use a lot...
Task Deadline Reminders with Google Sheets, ChatGPT, and Gmail
Intro This template is for project managers, team leads, or anyone who wants to automatically remind teammates of tasks ...
π€ Build Resilient AI Workflows with Automatic GPT and Gemini Failover Chain
This workflow contains community nodes that are only compatible with the self-hosted version of n8n. How it works This...
π Please log in to import templates to n8n and favorite templates
Workflow Visualization
Loading...
Preparing workflow renderer
Comments (0)
Login to post comments