Quick overview
This workflow runs daily, pulls recent Google News RSS results for selected fintech/payments companies and regulators, filters and deduplicates stories, uses OpenAI to validate AI-in-payments relevance and summarize coverage, then emails an HTML digest to recipients via Gmail.
How it works
- Runs every day at 8:00 AM based on a cron schedule.
- Builds Google News RSS search URLs for each configured company/regulator and fetches the RSS feeds.
- Parses RSS items into article candidates, keeps only items within the lookback window that mention AI-related keywords, and removes exact duplicates by URL or normalized title.
- Sends the remaining candidates to OpenAI Chat Completions to strictly filter for AI applied to fintech/payments, semantically merge near-duplicate stories, and generate a one-sentence summary per surviving item.
- Formats the resulting articles into an HTML email with counts and source attribution.
- Sends the digest via Gmail only when at least one relevant article is found; otherwise the workflow ends without sending an email.
Setup
- Add an OpenAI API credential for the OpenAI Chat Completions request.
- Add a Gmail OAuth2 credential for sending email.
- Update the Config values for recipient emails, lookbackHours, openaiModel, and the tracked sources list.
- Adjust the cron expression and set the workflow timezone to match when you want the digest to send.