See llms.txt for all machine-readable content.

Back to Templates

Create a daily AI news digest from RSS with TypeSafe Jev, OpenAI, Telegram and Gmail

Quick overview

This workflow runs every morning, pulls recent items from multiple RSS feeds, uses TypeSafe Jev to score relevance/importance and deduplicate similar headlines, then uses OpenAI to generate a one-line-per-story digest that it sends to Telegram and Gmail and archives to Google Sheets.

How it works

  1. Runs every day at 8:00 AM.
  2. Reads items from the configured RSS feed URLs, normalizes the entries, keeps only recent stories, and skips links already processed in earlier runs.
  3. Sends each story’s title and snippet to TypeSafe Jev to score topic relevance, assign an importance rating, and categorize the story.
  4. Filters to stories that meet the relevance and importance thresholds, then compares remaining headlines with TypeSafe Jev to detect and merge duplicates about the same event.
  5. Sends the final list of top stories to OpenAI to produce a daily headline and a one-sentence summary per story, falling back to RSS snippets if the AI output is invalid.
  6. Formats the digest and delivers it to Telegram and Gmail, then appends one row per story to a Google Sheets archive.

Setup

  1. Add a TypeSafe (typesafe.ai) Bearer token credential and select it for both Jev HTTP requests.
  2. Add OpenAI credentials for the chat model used to generate the headline and per-story summaries.
  3. Add Telegram bot credentials and set your target telegramChatId in the configuration step.
  4. Add Gmail credentials and set the recipient address in emailTo.
  5. Add Google Sheets credentials and update sheetUrl and sheetTab to point to your archive spreadsheet and worksheet.