Block 1 - Postgres Chat Memory
- Type / Role
- @n8n/n8n-nodes-langchain.memoryPostgresChat - memoryPostgresChat
- Config choices
- Version 1.3
This workflow is provided as-is. Please review and test before using in production.
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 respon...
@n8n/n8n-nodes-langchain.memorypostgreschat, @n8n/n8n-nodes-langchain.lmchatopenrouter, @n8n/n8n-nodes-langchain.vectorstorepinecone, @n8n/n8n-nodes-langchain.embeddingscohere, n8n-nodes-base.webhook, n8n-nodes-base.respondtowebhook, n8n-nodes-base.switch, @n8n/n8n-nodes-langchain.agent
This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by moosa.
Original n8n.io sourceThis workflow contains community nodes that are only compatible with the self-hosted version of n8n.
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.
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:
Contextual AI Agent
Each agent is customized per website using:
page, site, and userIdFinal Response
The response is sent back to the originating website using the Respond to Webhook node.
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.
Switch node routing This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.
Showing the first 24 of 33 workflow blocks. Download the JSON for the full node graph.
| Workflow | Dynamic website assistant with DeepSeek AI, Pinecone Vectorstore & site-based routing |
|---|---|
| Complexity | advanced |
| Nodes | 33 |
| Categories | Support Chatbot, AI RAG |
| Author | moosa |
| Published | 23 Jul 2025 |
Use the JSON export at /data/workflows/6295/6295.json as the source template for this automation.
Open n8n, import the downloaded JSON, and review each node before activating the workflow.
Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.
Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.
Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.
Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.
Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.
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 respon...
Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.
Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your Support Chatbot, AI RAG use case.