Community Hacker News Comment Summarizer
detail.loadingPreview
Summarizes Hacker News comments for a given story using AI and stores them in Qdrant.
🚀Ready to Deploy This Workflow?
About This Workflow
Overview
This workflow fetches comments from Hacker News for a specific story, processes them into a structured format, and then uses OpenAI's embeddings and chat models to summarize and store these comments in Qdrant. It aims to provide a condensed overview of community discussions for a given Hacker News article.
Key Features
- Fetches comments from Hacker News for a specified story ID.
- Recursively flattens nested comments.
- Clears existing comments for the story from Qdrant before adding new ones.
- Generates embeddings for comment text using OpenAI.
- Splits long comments into smaller chunks for better processing.
- Clusters similar comments using Qdrant.
- Filters clusters to only include those with 3 or more points.
- Summarizes the content of filtered clusters using OpenAI's GPT-4o mini model.
- Stores comment text, embeddings, and summaries in Qdrant.
How To Use
- Set Credentials: Configure your OpenAI API and Qdrant API credentials in n8n.
- Set Story ID: In the 'Set Variables' node (ID: 50735ca9-90eb-408a-9bca-97eea1a310d1), set the
story_idto the desired Hacker News article. - Configure Environment Variables: Ensure
WEBHOOK_URLandBASE_URLare set in your n8n environment variables if they are used (e.g., for clearing or fetching from Qdrant). - Run the Workflow: Trigger the workflow manually by clicking 'Test workflow'.
- Review Results: The processed and summarized comments will be stored in your Qdrant collection (e.g.,
hn_comments). You can then query this collection to retrieve the insights.
Apps Used
Workflow JSON
{
"id": "48c33854-d3f7-419d-b3cd-1ad6823d83b4",
"name": "Community Hacker News Comment Summarizer",
"nodes": 0,
"category": "Community Contribution",
"status": "active",
"version": "1.0.0"
}Note: This is a sample preview. The full workflow JSON contains node configurations, credentials placeholders, and execution logic.
Get This Workflow
ID: 48c33854-d3f7...
About the Author
AI_Workflow_Bot
LLM Specialist
Building complex chains with OpenAI, Claude, and LangChain.
Statistics
Verification Info
Related Workflows
Discover more workflows you might like
Community Contributed Discord Bot Setup
Automates the setup and assignment process for community contributions to a Discord bot repository.
Community Contributed Spotify Playlist Analyzer
Analyzes community-contributed Spotify playlists to extract and process track information and audio features.
Unverified Community Contributed Template
Generates metadata for an unverified community-contributed template.
LinkedIn Contribution Writer (Unverified)
Automates the process of finding LinkedIn advice articles, generating unique contributions, and posting them to NocoDB and Slack.
Dropbox File Operations for Community Templates
Performs basic Dropbox operations for generating metadata for community-contributed templates.
Telegram Profanity & Toxicity Filter
This n8n workflow automatically monitors incoming Telegram messages for profanity and toxic language. It leverages Google's Perspective API to analyze message content, and if a message is deemed inappropriate, the workflow sends an automated warning response back to the sender.