Skip to content
FlowHubFluxonLab
C
AI Automationfree

Community Insights using Qdrant, Python and Information Extractor

by Jimleukadapted from n8n official workflow galleryUpdated Aug 2026
RequiresCCodeDDefault Data LoaderEmbeddings OpenAIEmbeddings OpenAIGoogle SheetsGoogle SheetsHTTP RequestHTTP RequestHacker NewsHacker NewsOpenAI Chat ModelOpenAI Chat ModelQdrant Vector StoreQdrant Vector StoreRecursive Character Text SplitterRecursive Character Text Splitter
Share Post Share
MaWhen clicking ‘Test workflow’When clicking ‘…HNHacker NewsSOSplit OutSeGet CommentsVSQdrant Vector StoreQdrant Vector S…Embeddings OpenAIEmbeddings Open…DDDefault Data LoaderDefault Data Lo…TSRecursive Character Text SplitterRecursive Chara…SeSet VariablesHRClear Existing CommentsClear Existing …HRGet Payload of PointsGet Payload of …SOClusters To ListOpenAI Chat ModelOpenAI Chat Mod…FiOnly Clusters With 3+ pointsOnly Clusters W…SeSet Variables1SePrep Output For ExportPrep Output For…Export To SheetsEWExecute Workflow TriggerExecute Workflo…EWTrigger InsightsSePrep Values For TriggerPrep Values For…HRFind CommentsCoApply K-means Clustering AlgorithmApply K-means C…IEInformation ExtractorInformation Ext…1234567891011
1/5
FLOWS
STEPS · 11
Run manually by an operator

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 Community Insights scenario where HN commments can be quickly grouped by similarity and an AI agent can generate insights on those groupings. With this workflow, Researchers or HN users can quickly breakdown community consensus on a particular topic and identify frequently mentioned positives and negatives. Sample Output: https://docs.google.com/spreadsheets/d/e/2PACX-1vQXaQU9XxsxnUIIeqmmf1PuYRuYtwviVXTv6Mz9Vo6_a4ty-XaJHSeZsptjWXS3wGGDG8Z4u16rvE7l/pubhtml How it works HN comments are imported via the Hacknews API node. Comments are then inserted into a Qdrant collection carefully tagged with the Hackernews API metadata. Comments are then fetched and are put through a clustering algorithm using the Python Code node. The Qdrant points are returned in clustered groups. Each group is looped to fetch the payloads of the points and feed them to the AI agent to summarise and generate insights for.

Tags

n8nreference-onlydocument-default-data-loaderembeddings-open-aigoogle-sheetshacker-newslm-chat-open-aitext-splitter-recursive-character-text-splittervector-store-qdrant
Connects
CCodeDDefault Data LoaderembeddingsopenaiEmbeddings OpenAIsheetsGoogle SheetsWHTTP RequesthackernewsHacker News
CategoryAI Automation
Triggermanual
Complexityadvanced
Nodes23
AddedAug 5, 2024

Related workflows

See all AI Automation
DhtmlWopenaichatmodel
free

Scrape and summarize webpages with AI

This workflow integrates both web scraping and NLP functionalities. It uses HTML parsing to extract links, HTTP requests to fetch essay content, and AI-based summarization using GPT-4o. It's an excellent example of an end-to-end automated task that is not only efficient but also provides real value by summarizing valuable content. Note that to use this template, you need to be on n8n version 1.50.0 or later.

by n8n Team
ACDgmail
free

AI: Summarize podcast episode and enhance using Wikipedia

The workflow automates the process of creating a summarized and enriched podcast digest, which is then sent via email. Note that to use this template, you need to be on n8n version 1.19.4 or later.

by n8n Team
binaryinputloaderembeddingsopenaigoogledriveopenaichatmodel
free

Ask questions about a PDF using AI

The workflow first populates a Pinecone index with vectors from a Bitcoin whitepaper. Then, it waits for a manual chat message. When received, the chat message is turned into a vector and compared to the vectors in Pinecone. The most similar vectors are retrieved and passed to OpenAI for generating a chat response. Note that to use this template, you need to be on n8n version 1.19.4 or later.

by David Roberts