# Run an English website chatbot with OpenAI GPT-5 and Qdrant

> Quick overview Build an AI chatbot that answers questions using your website's own knowledge base. This workflow combines intent classification, safety routing, vector search with Qdrant, OpenAI embeddings, Cohere reranking, grounded AI responses, and structured JSON output through a webhook. How it works 1. Receives chatbot requests through an authenticated webhook and normalizes the incoming payload. 2. Uses OpenAI to classify each request as smalltalk, knowledge search, or rejected/out-of-scope. 3. Routes each request to a dedicated processing path. 4. Handles smalltalk separately without unnecessarily querying the vector database. 5. For website-related questions, searches the Qdrant knowledge base using OpenAI embeddings. 6. Reranks retrieved documents with Cohere and builds a deduplicated context from the most relevant sources. 7. Uses an AI Agent to generate an answer grounded only in the retrieved website content. 8. Parses and cleans the result into a consistent JSON response 

- **Domain**: `n8n-workflow-20208.n8n.io`
- **Provider**: n8n.io (https://n8n.io)
- **Kind**: workflow
- **Live-responds (last probe)**: None
- **Signed card**: False
- **Streaming**: False
- **Quality score**: 40%

## URLs
- Agent card: https://n8n.io/workflows/20208
- Page (HTML): https://agenstry.com/agents/n8n-workflow-20208.n8n.io
- Documentation: https://n8n.io/workflows/20208
