πŸ’¬ Turn any website into an AI support chatbot with OpenAI and Pinecone

⚑ 209 views Β· πŸ’¬ Support Chatbots

πŸ’‘ Pro Tip β€” HTTP Request scraping tends to break when sites update their markup. If you’re scraping a major platform, check if ScraperNode covers it β€” it has maintained scrapers for LinkedIn, Instagram, TikTok, YouTube, and 20+ other platforms that return structured data.

View All Scrapers

Description

Complete AI support system using website data (RAG pipeline)

This template provides a full end-to-end Retrieval-Augmented Generation (RAG) system using n8n. It includes two connected workflows:

  1. A data ingestion pipeline that crawls a website and stores its content in a vector database.
  2. A customer support chatbot that retrieves this knowledge and answers user queries in real time.

Together, these workflows allow you to turn any public website into an intelligent AI-powered support assistant grounded in real business data.


Use cases


How it works

Ingestion workflow

  1. Discover all URLs from a website sitemap.
  2. Filter and normalize the URLs.
  3. Fetch each page and extract readable text.
  4. Clean HTML into plain text.
  5. Split text into overlapping chunks.
  6. Generate embeddings using OpenAI.
  7. Store vectors in Pinecone with metadata.

Chatbot workflow

  1. A user sends a message via chat webhook.
  2. The agent queries Pinecone for relevant knowledge.
  3. Retrieved content is passed to OpenAI.
  4. OpenAI generates a grounded response.
  5. Short-term memory maintains conversation context.

How to use

Step 1 – Run ingestion

  1. Set your target website URL.
  2. Add Firecrawl, OpenAI, and Pinecone credentials.
  3. Create a Pinecone index.
  4. Execute the ingestion workflow.
  5. Wait until all pages are indexed.

Step 2 – Run chatbot

  1. Deploy the chatbot workflow.
  2. Set the same Pinecone index and namespace.
  3. Copy the chat webhook URL.
  4. Connect it to a website, chat widget, or WhatsApp bot.
  5. Start chatting with your AI assistant.

Requirements


Good to know


Customising this workflow

You can extend this system by:


What this n8n template demonstrates


Architecture overview

This template follows a modern AI system design:

Website β†’ Ingestion β†’ Embeddings β†’ Pinecone β†’ Retrieval β†’ OpenAI β†’ User

It separates:

This makes the system scalable, maintainable, and safe for production use.


Need a custom setup?

If you want a similar AI system built for your business (custom data sources, CRM integration, WhatsApp bots, booking systems, dashboards, or private deployments), feel free to reach out at dinakars2003@gmail.com.

I help companies design and deploy production-ready AI workflows.

πŸ”— Nodes Used

HTTP Request, AI Agent, Embeddings OpenAI, OpenAI Chat Model, Simple Memory, Pinecone Vector Store

πŸ“₯ Import

Download workflow.json and import into n8n: Workflow menu β†’ Import from File

πŸ“– Importing guide Β· πŸ”‘ Credential setup