DEV Community

Filtering RSS & Trend Topics in n8n Before Calling an LLM (Using Jev AI) — Looking for Better Patterns!

Jangsik Kim on November 22, 2026

Every blog automation starts the same way: a schedule fires, you pull in RSS feeds, Google Trends, news and YouTube titles, and then you hand the w...
Collapse
 
agentsearchhq profile image
AgentSearch •

Moving the "no" upstream is the right call. A few cheap filters that usually take out a lot of noise before anything model-shaped sees the seeds:

  • Drop by age first. Most RSS items carry a pubDate, and for a trend channel anything older than a day or two is rarely worth a credit.
  • Keep a sheet of titles you've already written or rejected, normalize them (lowercase, strip punctuation), and skip near-duplicates with a simple token-overlap check. Recurring seeds like annual holidays fall out fast.
  • A small per-channel blocklist (weather, sports scores, "live updates") catches more than you'd expect.
  • Cache the verdict by normalized title for a few days, since the same seed often shows up from Trends and News on back-to-back runs.

Curious whether you've tried asking channel fit and "worth writing today" as two separate questions, or whether one combined yes/no is enough.

Collapse
 
jangsik1986 profile image
Jangsik Kim •

Thanks for the practical tips! Caching verdicts by normalized title and adding a small per-channel blocklist before Jev are great ideas. Right now we split format routing (Choice) and topic value/viral potential (Noul + Score) into separate questions in one batch!

Collapse
 
agentsearchhq profile image
AgentSearch •

Splitting format routing from topic value is a clean call, so one shaky score can't misroute the format too. If you log both verdicts per item for a while, you can see which question actually changes what gets posted and trim the rest. Good luck with it!

Thread Thread
 
jangsik1986 profile image
Jangsik Kim •

Thanks — we started logging both verdicts per item after this, and the log mostly confirmed your point: topic value decided nearly everything, and format routing only mattered on borderline items. So the bigger change went further upstream instead: one daily pass that keeps only 4-6 topics actually worth writing, a per-channel blocklist (sports scores, foreign-language feeds, "live updates") and a normalized-title duplicate check before Jev sees anything. Turns out most of the saving was in not asking the expensive question at all.

Collapse
 
jangsik1986 profile image
Jangsik Kim •

Update after running our 88-feed / 96-seed batch today ($0.00841 total, 73 passed / 23 dropped): we just added your pre-Jev blocklist (weather/sports/live updates) and the normalized-title near-duplicate check right before the Jev step!

Collapse
 
rushdeploy profile image
Rishabh Mishra •

With only about 30 samples, I would keep one threshold and log the score per source instead of drifting it per weekday — at 24 seeds a day, weekday splits are mostly noise. Fail open is the right call for a daily blog, but add a counter that alerts you when a batch fails, so a broken filter does not silently pass everything for a week.

Collapse
 
jangsik1986 profile image
Jangsik Kim •

Great point! We're keeping a single threshold and logging pass rates per source. Adding a batch-failure counter alert is definitely next on the list — thanks for the feedback!

Collapse
 
jangsik1986 profile image
Jangsik Kim •

Update: we just added a batch-failure counter alert to our Telegram summary so fail-open never hides a broken batch. Today's live 96-seed run came back 12/12 requests green (73 passed, 23 dropped, $0.00841).

Collapse
 
useaifix profile image
AIFix •

Nice idea moving the "no" upstream. Since the 0.45 cutoff is a fixed number, have you checked how many of the rejected seeds you would have kept after the fact? I'd be curious whether it needs tuning per channel, say finance versus product reviews.

Collapse
 
jangsik1986 profile image
Jangsik Kim •

Thanks for the insight! We haven't tuned thresholds per channel yet, but logging rejected seeds to compare finance vs. product reviews is a great next step.

Collapse
 
jangsik1986 profile image
Jangsik Kim •

Update from today's live 96-seed run (88 feeds, $0.00841): 73 passed (mean noul 0.63), routed to blog_ko 15 / blog_en 11 / shortform 47, and 23 dropped. Now that we have source-level pass rates logged, we'll compare rejected items across categories next! Here's the run graph: n8n run graph: 88/88 feeds, 96 seeds, 73 passed, 23 dropped, $0.00841

Collapse
 
robertpaschal profile image
Odinaka Robert Nnamani •

Fail-open is the right default. A filter that drops real news to save tokens is worse than no filter at all.

Collapse
 
jangsik1986 profile image
Jangsik Kim •

Totally agree — better to let a few extra items through than silently drop good news. Thanks for reading!

Collapse
 
robertpaschal profile image
Odinaka Robert Nnamani •

Dropping real news to save tokens is the expensive kind of cheap. Fail-open is the right call here.

Thread Thread
 
jangsik1986 profile image
Jangsik Kim •

Appreciated — and the part that made fail-open actually safe was making it visible: every passed and dropped seed is logged per source now, and a failed batch shows up as a counter in the daily summary, so "cheap" can't quietly become "silent". The other half was shrinking the input itself — one daily pass that keeps only 4-6 topics worth writing, instead of scoring everything the feeds throw at it.