GenAiHub

Last checked 8 October 2026 — responded normally.

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

Quick Overview

Live
Open / InstallLast updated October 8, 2026

Description

Quick Overview This workflow exposes a secured webhook that powers an English website chatbot, using OpenAI for intent detection and responses and Qdrant (with optional Cohere reranking) to retrieve relevant website content and return structured JSON search results. How it works Receives a POST request on a header-authenticated webhook and normalizes the incoming payload into a chat message and session ID. Uses OpenAI to classify the message intent (smalltalk, search, or reject) and routes the request accordingly. For rejected or out-of-scope requests, returns a fixed safety message as JSON. For smalltalk, uses OpenAI to generate a short English reply and formats it into a simple JSON text response. For knowledge queries, searches a Qdrant vector collection (optionally reranked by Cohere) and compiles the top unique sources into a concise context with titles, URLs, and snippets. Uses an OpenAI-powered agent with a strict JSON schema to produce up to five relevant results (and an optional follow-up question), then parses and cleans the output. Returns the final JSON payload to the original webhook caller. Setup Configure the Webhook header authentication credential and deploy/copy the webhook URL into your website or chat client. Add an OpenAI API credential for the intent classifier, smalltalk generator, and answer generation model. Set up a Qdrant instance, create/populate the target collection (for example, website_knowledge with URL/title metadata), and add Qdrant API credentials. (Optional) Add a Cohere API credential if you want reranking enabled for Qdrant search results. Review the response JSON shape expected by your frontend (text vs. search_results) and adjust prompts/schema if needed. An n8n automation workflow template by Paolo Ronco.

Community Metrics

Views
0
Avg Rating
N/A
Ratings
0
Likes
0
Comments
—

Author

Paolo Ronco

Platform

web

Pricing model

paid

Categories

  • Automation
  • AI

Tags

  • n8n
  • workflow
  • code
  • ai-agent
  • embeddings-openai
  • openai-chat-model
  • structured-output-parser
  • qdrant-vector-store
  • openai
  • reranker-cohere

Capabilities

  • 8 nodes

Information

TypeWorkflow
Sourcen8n
AddedOctober 1, 2026

Comments

?

Others in the same category, ranked by how often they are opened.