5+ domains tracked in real time

Cogninest AI Builds Scalable Platform for Domain-Specific News Trends

Developing a platform to track and analyze domain-specific news trends in real time

Domains
Cybersecurity, Healthcare, Finance + more
Deduplication
Hash-based, zero duplicates stored
Delivery
Daily branded emails per domain
Classification
LLM-powered trend clustering
01The Challenge

Five interconnected challenges in building a real-time trend intelligence system

The client aimed to create a subscription-based system that delivers curated, domain-specific news and trend insights to users interested in sectors like Cybersecurity, Healthcare, and Finance. The goal was to provide timely, relevant updates by aggregating content from various sources and distributing it through structured email communications. Handling Disparate Feeds was the first challenge: the system needed to ingest content from diverse sources including Reddit and custom RSS feeds, each with unique data formats and reliability concerns. Developing a robust pipeline to manage missing fields, inconsistent tags, and potential downtimes was essential. Ensuring Data Consistency was critical: overlapping themes across articles meant preventing duplicate storage and classification at scale. Accurate Classification into Trends posed its own challenge, especially with ambiguous headlines or partial matches. The system needed consistent and accurate classification to maintain relevance. Scalability for a growing subscriber base meant efficiently processing large batches of articles and sending emails en masse without compromising performance. Finally, automating email delivery required querying the database, assembling domain-focused insights, and sending structured HTML-rich emails on schedule.

  • Disparate feeds with unique formats, missing fields, and reliability issues
  • Overlapping themes causing duplicate storage and classification
  • Ambiguous headlines making accurate trend classification difficult
  • Scalability needed for growing subscriber base and article volume
  • Automated assembly and delivery of structured HTML emails
02What We Built

End-to-end pipeline from feed ingestion to subscriber-targeted email delivery

We built a complete pipeline covering every stage from content collection through trend classification to automated subscriber delivery, with continuous quality refinement.

Data Ingestion and Parsing

Developed dedicated scrapers for RSS and Reddit feeds to collect entries per domain. Implemented HTML tag cleanup and text normalization for consistent downstream processing.

Hash-Based Deduplication

Computed unique hashes of article titles and summaries before database insertion. Entries with existing hashes are automatically discarded to ensure uniqueness across the entire corpus.

Domain-Specific Schemas

Created PostgreSQL-backed schemas for each domain to store article metadata and trend-related information with proper indexing and relationships.

Trend Classification Flow

System checks for existing trends before assigning new articles. Uses a language model to cluster articles into new or emerging trends when necessary. Assigns concise summaries to identified trends, inherited by subsequent related articles.

Feedback Loop for Quality

Implemented tasks to refine or merge overlapping trends based on thematic similarities discovered across multiple articles. Dynamic trend tagging adjusts to reflect real-time traction.

Email Subscription and Delivery

Managed subscriber preferences and statuses in a dedicated table. Composed visually structured HTML emails per domain listing fresh trends and recommended articles. Orchestrated daily sends using Celery tasks, dispatching asynchronously to active subscribers.

PostgreSQL domain schemasCelery async task queueLLM trend classificationRSS and Reddit scrapersBranded HTML email templatesDynamic trend tagging
03The Outcome

Scalable trend intelligence with zero duplicate content reaching subscribers

The platform delivers a comprehensive solution for domain-based trend insights. By integrating feed ingestion, trend extraction, and automated email features, it ensures timely and relevant updates for subscribers. The architecture supports scalability, accommodating growth in domains and daily article volumes, with clear pathways for incorporating new feed sources and enhancing AI-driven classifications. Dynamic trend tagging adjusts daily content to reflect popularity and traction of trends. Merged trend discovery combines similar topics into single named trends to avoid knowledge base fragmentation. Rich, branded email layouts feature logos, icons, and quick actions to enhance reader engagement.

0%duplicate articles reaching subscribers
5+domains tracked with automated classification
Dailyautomated domain-targeted email delivery
Scalablearchitecture for new domains and data sources