I developed a newsletter deep dive report to help writers understand where they fit into the Substack ecosystem
Published: 2025-10-25
URL: https://wonderingaboutai.substack.com/p/what-49000-substack-articles-taught
Disclosure: This post was written by me, a human who was excited to finish this project before the weekend, and edited by Claude Sonnet 4.5. Update: The StackDigest project has ended. THANK YOU again to everyone who tested the tool and made this project so fun! Writing on Substack can feel like throwing a lot of spaghetti at a non-stick wall.
For the first week or so, I had zero subscribers, and my first four articles all received fewer than ten likes and minimal comments. I finally started finding connections when I posted an article about AI agents with a fun, clickable title (I built a team of AI agents and then fired them) and shared it in a Product With Attitude meet-and-greet chat. (It’s great—if you’re new to Substack, you should try it!) What’s striking about my experience, however, was how much it came down to sheer luck. As a newbie, I searched for newsletters like mine on Google and found lots of dead ones, and clicked on lots of AI and machine learning related notes.
I stumbled onto Product With Attitude purely by accident, and finding other creators in my general space still took a lot of time, even after my articles had started to get more views. Lately, I’ve wondered if there might be a better way for both new and experienced creators to identify others in their space—to compare and collaborate, better measure the success of our experiments, and more easily see what’s working for others. I think there is, and, as you might expect from something I’m suggesting, it involves a little machine learning and a lot of data.
But first, let me share some backstory. And I’m afraid some of it will sound a little like an ad. The problem with general analytics A couple of months ago, I launched StackDigest, a newsletter digest, discovery, and analytics tool.
And as people started using it and adding their subscriptions, I started to accumulate a fairly long list of popular newsletters. When I created the vector database to power a semantic search engine that helps users more easily discover Substack content, I collected articles from these newsletters.
One interesting side effect of this work was that I accumulated records and embeddings for more than 2,900 newsletters and 49,000 articles. For the past couple of weeks, I’ve been using it to tease out information on engagement trends for newsletters of different sizes and to understand what kinds of topics are trending, and even what kinds of publishing habits are more likely to lead to success. I started by looking for top-level patterns, such as broad themes associated with higher engagement, the impact of restacks on likes and comments, the relationship between article length and engagement, etc.
You get the idea. I published some of my earlier findings in this article and others as notes like this one: Some of the findings, like the overall higher engagement on weekends, were counterintuitive.
And it occurred to me (and several commenters) that these findings were interesting, but they weren’t necessarily actionable. For example, here’s the chart from the note above on the best day of the week to publish filtered for Business & Strategy newsletters: Here it is again, filtered for AI & Machine Learning newsletters: Posting articles on weekends would probably be a bad idea for these publishers no matter what the generalized data say.
And that’s what led me to build a new feature that would use the StackDigest database to help Substack writers look at their specific niche and understand what topical themes and strategies are working for similar publications of different sizes. Mapping out a new feature For right now, I’m calling the new feature the Single Newsletter Deep Dive (it may change later).
When I first started building it, I thought about how I might use the StackDigest data to answer these questions for my newsletter: Who else is writing in my space? Who are my competitors and potential collaborators?
What are my top-performing articles, and how do they compare to similar articles from others in my niche? What themes do I write about, and which ones resonate most? What themes are trending in my niche space?
When should I publish based on MY actual data? For each question, I designed an analytic module: Similar newsletter discovery: Finding others in your niche Performance benchmarking: Identifying your hits and how they compare with similar articles published by others Newsletter theme discovery: Understanding what YOU write about most often Competitor cohort themes: Understanding what THEY write about most often Publishing pattern analysis: Finding your optimal publishing times I also set up a reporting function to add insights generated by each module into a nicely formatted and shareable report.
- Similar newsletter discovery
The first question is: what are the other publications in your niche? And how big are they? Rather than use keyword search, which counts phrases and words but doesn’t consider context, I needed to understand the semantic meaning of what each newsletter is about. Fortunately, the StackDigest discovery feature already had a semantic search engine in place that I could easily adapt. Here’s how it works: Every newsletter in the database has a description (usually the tagline or about section). I take that description and convert it into what’s called an embedding—a mathematical representation of its meaning.
I’m using OpenAI’s text-embedding-3-small model, which converts text into a 1,536-dimensional vector. That sounds complicated, but think of it like this: similar newsletters end up close together in this mathematical space. Then I use PostgreSQL’s pgvector extension to find newsletters closest to yours.
The database query looks for the top 50 newsletters with the smallest “distance” from your newsletter’s embedding. This all happens in under 100 milliseconds. When I ran this analysis for my own newsletter, here’s what showed up at the top: And the full report included many newsletters I hadn’t been following.
- Performance benchmarking
Once I know about the other publications in my niche, the next question is: how do my best articles stack up? For this, I needed to define “performance.” I settled on a simple formula: Engagement Score = Reactions + (Comments × 2) I decided to weigh comments more because someone leaving a comment represents deeper engagement than a quick like. They took time to formulate a thought and share it.
The system identifies my top 10 articles by this engagement score, then for each one, it finds 5 semantically similar articles from newsletters in the same niche. This lets me see not just how I’m performing in isolation, but how similar content performs across my competitive space.
In the report I ran for Wondering About AI, my top article was I used machine learning to make sense of 39,000 Substack articles, which had an engagement score of 286 (128 reactions + 79 comments × 2).
The system found these similar articles from related newsletters: How I’m Building a Substack Analytics Dashboard (Cash & Cache) - 70 engagement How to Turn Substack Data Into Stories (Finn’sights) - 36 engagement The Substack AI Report (On Substack) - 3,038 engagement This tells me that articles about data analysis and analytics do well in my space.
And the performance of The Substack AI Report suggests there is plenty of room to grow. Note: Because engagement scores in StackDigest are not updated in real-time, they may not reflect actual engagement at any given time. StackDigest may sometimes understate, but not overstate, actual engagement figures.
- Newsletter theme discovery
Now for the really interesting part: what do I actually write about? This question becomes harder and harder to answer the more you write. Manual tags are not comprehensive or nuanced. And busy writers may not maintain them consistently over time.
So I set up the Single Newsletter Deep-Dive to discover themes automatically with machine learning. The process happens in three stages: Stage 1: Semantic clustering Like with newsletters, each article has an embedding, which is a mathematical representation of its content based on the title and text.
The system looks at all my articles and calculates how “close” each pair is. If two articles have a distance less than 0.40 (on a scale where 0 is identical and 1+ is completely different), they’re considered similar. Stage 2: Finding cluster centers Once I have these similarity connections, I need to identify which articles are “centers” of their clusters—the articles that best represent a group of similar content.
The system uses what’s called the medoid algorithm. For each cluster, it finds the article that has the smallest average distance to all other articles in that cluster. That becomes the representative article for the theme. Stage 3: AI-powered theme naming This is where it gets fun.
The system takes each cluster center article and sends it to GPT-4o with this prompt: Based on this article title and text, generate a concise theme name (3-5 words) that captures what this cluster of similar articles is about. Be specific but not too narrow.
Think about what makes this content unique or interesting. The AI reads the representative article and generates a theme name that captures the essence of that cluster. Then it associates all articles in that cluster with that theme. Once this is done, you will see a list of themes, which can be expanded to display the articles assigned to them:
- Competitor cohort themes: What everyone else is writing about
Understanding what YOU write about is valuable. But understanding what THEY write about is equally important. The system takes the 20 newsletters most similar to yours and runs the same theme discovery process described previously on all their articles combined.
It shows you the competitive landscape—what topics are saturated and what might be underserved. And it includes a list of “best match” articles for each topic, like this: This showed me that I’m generally choosing similar topics to others in my niche, which suggests that I’m on trend...and perhaps could benefit from a little more innovation and testing.
- Publishing pattern analysis: When to hit send
Finally, the system analyzes when you publish and how that correlates with engagement. This is simpler than the other components—it’s just SQL queries grouping articles by hour of day and day of week, then calculating average engagement for each time bucket.
For my newsletter, the data suggested I would get the most engagement by publishing at 7 pm on Fridays. Now, I should note that I don’t have a huge sample size for every hour (some hours have just 1-3 articles), so take this with a grain of salt.
But patterns emerge over time. The Newsletter Deep Dive is timezone aware; it knows I’m in the America/Chicago timezone and adjusts accordingly. What I learned from my own Deep Dive Report Running this analysis on my own newsletter was more enlightening than I expected. Discovery #1: It’s all about me, me, me Looking at my themes, “Newsletter Tools Development” had consistently high engagement (avg 169 per article), but I only had 4 articles in this category.
Meanwhile, I was writing tons of other content. This told me that I should write more about building tools, including the behind-the-scenes technical work and even the failures. Discovery #2: Overlapping newsletters are more diverse than I thought I assumed my main competition was other AI newsletters.
But the similarity search revealed newsletters about creator tools, product development, and technical writing. My actual audience cares about building and creating, not just AI in the abstract. Discovery #3: Meta-content overperforms My top two articles were both about analyzing Substack data. There’s clearly an appetite for meta-analysis—using data to understand the platform itself. Discovery #4: My weird Friday evening publish time works for my audience I publish on Friday evening because I put off writing until the end of the week.
I assumed that publishing earlier in the week during business hours might yield better results. But maybe not. The technical stack (for my fellow nerds) If you’re curious about how this is actually built, here’s the technical stack: Embeddings: OpenAI text-embedding-3-small (1,536 dimensions) Vector database: PostgreSQL with pgvector extension and IVFFlat indexes Background processing: Celery for async task orchestration Caching: PostgreSQL-based caching (I ran into Redis’s 25MB limit) AI theme generation: OpenAI GPT-4o (via API) Frontend: JavaScript with 2-second polling for progress updates Visualization: Chart.js for time-based patterns The whole system processes everything in parallel.
When you request a deep dive: Six background tasks kick off simultaneously Each task caches its results in the database The frontend polls every 2 seconds to check which tasks have completed Results display progressively as each component finishes The entire process completes in 15-20 seconds Why this matters for Substack creators Generic advice is everywhere: “publish consistently,” “write good hooks,” “engage with readers.” But specific advice is rare: “your productivity tool articles outperform your industry analysis by 40%,” or “newsletters like yours grow fastest when they publish practical tutorials.” That’s what I’m hoping the Deep Dive feature will evolve to provide: specific, data-driven insights about YOUR newsletter in YOUR competitive space.
What’s next I’m continuing to refine this feature based on feedback. Some things I’m exploring: Trend detection: Identifying themes that are growing vs. declining in your competitive space Content gap analysis: Finding topics your competitors cover that you don’t (or vice versa) Subscriber correlation: Connecting publishing patterns to subscriber growth (this requires more data integration) Collaborative opportunities: Identifying newsletters with complementary audiences for cross-promotion But the core is there: a system that helps you understand your place in the Substack ecosystem.
Try it yourself If you want to see your own Deep Dive report, you can access the feature at StackDigest. Go to the Analytics page, select Launch Deep Dive, and add your newsletter details. The system works best if your newsletter has at least 10-15 published articles (so the theme discovery has enough data to work with). If you do check it out, I would love to hear your feedback! ❤️