← Back to Docs
Recipe

Morning news brief generator

A daily automation that scrapes your chosen sources, summarizes the top stories, and delivers a concise brief to your inbox before you finish your coffee.

Ingredients

  • RSS feeds or API keys for 2–5 news sources
  • OpenAI or Anthropic API key for summarization
  • SMTP credentials or Resend API key
  • Meridian scheduler (cron trigger)

Steps

  1. Fetch — pull headlines and article text from configured sources via HTTP node.
  2. Deduplicate — filter near-duplicate stories using cosine similarity on embeddings.
  3. Summarize — pass each article through an LLM node with a tight prompt: 2–3 sentences max.
  4. Compose — template the brief with a header, categorized sections, and source links.
  5. Deliver — send via email node at 7:00 AM local time.

Output

Subject: Your Morning Brief — May 26

# Top Stories

• Fed holds rates steady amid inflation concerns

• Breakthrough in solid-state battery research

# Tech

• Open-source model rivals GPT-4 on benchmark

Generated by Meridian · 7:00 AM · 2.3s runtime