← Pipelines

hn_top_posts_title_improve

Fetch 50 Hacker News items, classify high-point posts, fetch full article only for vague titles to generate improved titles, and email a summary of high-point posts using improved titles when available.

Schedule

Manual only

Steps

7 steps

Created

2026-03-01 11:26:45

Run History

Run ID Status Started Finished Error
085f57ab-c193-4729-9d7b-affdef1b8927 success 2026-03-01 12:58:26 2026-03-01 12:59:36
fec1dad6-a285-4bd1-ac1b-e628c3558c39 success 2026-03-01 11:52:39 2026-03-01 11:54:01

Update Pipeline

Pipeline Steps

s1 rss
limit
50
url
https://hnrss.org/frontpage?limit=50
s2 llm_route s1
condition
Tag events with _branch:'pass' if the post clearly has high points/upvotes (for example mentions 'X points', 'Y comments' with X large, or other textual clues indicating high popularity — aim for roughly >=100 points). Otherwise tag _branch:'fail'.
s3 llm_route s1
condition
Tag events with _branch:'pass' if the title is vague, ambiguous, or non-descriptive and would benefit from a clearer, more specific title (examples: one-word titles, generic phrases like 'This', 'Check this out', 'New project', or titles lacking context). Tag _branch:'fail' otherwise.
s4 http when: pass s3
method
GET
selector
article, main, body
url
{{.link}}
s5 llm_format s2 s4
prompt
You will receive two sets of events merged together: (A) high-point Hacker News posts (these are the items to include in the summary) and (B) optionally fetched article contents for some posts. For each high-point post (from set A), try to find a matching fetched content event (set B) by comparing the link or title. If fetched content exists, propose an improved concise title (no more than 10 words) that is clear, specific, and adds context; otherwise keep the original title. For each high-point post produce an entry with: 1) the final title (improved if available), 2) the original title in parentheses if you changed it, 3) the link, 4) a one-sentence summary synthesized from the feed description and fetched content (if any), and 5) the published date if present. Output a plain-text email body listing the posts ordered by published date (newest first). Keep the summary concise and suitable for an email. If information is missing, note it briefly.
s6 email s5
body_template
{{.text}}
subject
Hacker News — Top Posts (improved titles)
s7 slack s5
text
{{.text}}

Pipeline JSON