Customer insights with Qdrant, Python and information extractor
Ready for 3.0What this workflow does
This AI workflow has 24 nodes and runs manually, when you click “Execute workflow” (plus 1 other trigger). Along the way it connects Embeddings OpenAI, OpenAI Chat Model, Google Sheets and Qdrant Vector Store. It also calls qdrant:6333 over HTTP.
How it runs
Trigger: Manually, when you click “Execute workflow” (plus 1 other trigger).
- Set Variables (Edit Fields (Set)): sets 1 field: companyId
- Set Variables (Edit Fields (Set)): sets 3 fields: companyId, review_date_from, review_date_to
- Clear Existing Reviews (HTTP Request): calls qdrant:6333 (POST)
- Find Reviews (HTTP Request): calls an HTTP API (POST)
- Get TrustPilot Page (HTTP Request): calls an HTTP API
- Apply K-means Clustering Algorithm (Code): runs custom Python code
- Extract Reviews (HTML): parses or builds HTML
- Clusters To List (Split Out): splits a list into separate items
- Zip Entries (Edit Fields (Set)): sets 1 field: data
- Only Clusters With 3+ points (Filter): keeps only the items that match a condition
…plus 8 more steps. See the full node list below.
Services it uses
HTTP calls to: qdrant:6333
Scraping pages by hand? Firecrawl is a simpler option (10% off for new users).
Before you upgrade to n8n 3.0
Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.
Nodes used (16)
- Manual Trigger
n8n-nodes-base.manualTrigger - Edit Fields (Set)
n8n-nodes-base.set - HTML
n8n-nodes-base.html - Split Out
n8n-nodes-base.splitOut - Default Data Loader
@n8n/n8n-nodes-langchain.documentDefaultDataLoader - Recursive Character Text Splitter
@n8n/n8n-nodes-langchain.textSplitterRecursiveCharacterTextSplitter - Embeddings OpenAI
@n8n/n8n-nodes-langchain.embeddingsOpenAi - HTTP Request
n8n-nodes-base.httpRequest - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - Filter
n8n-nodes-base.filter - Google Sheets
n8n-nodes-base.googleSheets - Execute Sub-workflow
n8n-nodes-base.executeWorkflow - Execute Workflow Trigger
n8n-nodes-base.executeWorkflowTrigger - Qdrant Vector Store
@n8n/n8n-nodes-langchain.vectorStoreQdrant - Code
n8n-nodes-base.code - Information Extractor
@n8n/n8n-nodes-langchain.informationExtractor
From the author
This n8n template is one of a 3-part series exploring use-cases for clustering vector embeddings: Survey Insights Customer Insights Community Insights This template demonstrates the Customer Insights scenario where Trustpilot reviews can be quickly grouped by…