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
- Runs every day at 8:00 AM.
- Reads items from the configured RSS feed URLs, normalizes the entries, keeps only recent stories, and skips links already processed in earlier runs.
- Sends each story’s title and snippet to TypeSafe Jev to score topic relevance, assign an importance rating, and categorize the story.
- 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.
- 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.
- Formats the digest and delivers it to Telegram and Gmail, then appends one row per story to a Google Sheets archive.
Setup
- Add a TypeSafe (typesafe.ai) Bearer token credential and select it for both Jev HTTP requests.
- Add OpenAI credentials for the chat model used to generate the headline and per-story summaries.
- Add Telegram bot credentials and set your target
telegramChatId in the configuration step.
- Add Gmail credentials and set the recipient address in
emailTo.
- Add Google Sheets credentials and update
sheetUrl and sheetTab to point to your archive spreadsheet and worksheet.