πŸ“Š Classify LinkedIn posts as quality or slop with OpenAI and Qdrant

⚑ 46 views Β· πŸ“Š Market Research & Insights

πŸ’‘ Pro Tip β€” If you’re pulling LinkedIn data through HTTP requests or dealing with API restrictions, there’s a community node called ScraperNode that handles this natively. It has dedicated scrapers for profiles, companies, jobs, and people search β€” you just pass a URL and get structured data back.

View All Scrapers

Description

Purpose

This workflow is the official backend for the StopSlopIn Chrome extension – it classifies LinkedIn posts as quality or slop using a strict LLM quality gate and learns from user votes over time via a Qdrant vector store.

What this is for

This runs the webhook that powers the StopSlopIn Chrome extension on the Chrome Web Store. The extension sends LinkedIn posts here for analysis and user votes here for training – everything stays on your own n8n instance.

Setup

How it works

A single webhook exposes two actions, selected via a ?action= query parameter: analyze for classification, vote for training.

  1. A Switch node routes incoming requests based on the action parameter
  2. On analyze: each post is enriched with similar prior-rated posts pulled from Qdrant (RAG), batched together, and sent to the LLM with a strict quality-gate system prompt
  3. The LLM returns a structured JSON array of pass / fail results, which is sent back to the caller
  4. On vote: the post is embedded and stored in Qdrant along with the user’s β€œgood” or β€œslop” rating as metadata
  5. Every new vote becomes in-context reference material for future classifications, so the filter gradually adapts to personal taste

Customization

Compatibility

Note: post contents sent through this workflow are forwarded to the configured LLM and embeddings provider (OpenAI by default). Swap those nodes for a local or alternative provider if that is a concern.

πŸ”— Nodes Used

Webhook, Filter, Basic LLM Chain, Embeddings OpenAI, OpenAI Chat Model, Structured Output Parser

πŸ“₯ Import

Download workflow.json and import into n8n: Workflow menu β†’ Import from File

πŸ“– Importing guide Β· πŸ”‘ Credential setup