Quick overview
This workflow runs daily at 07:00 to pull the latest Microsoft 365, Security & Compliance, and Teams blog RSS posts, uses OpenAI (gpt-4o-mini) to triage and format a prioritized HTML digest, and sends the results to your team via SMTP email.
How it works
- Runs every day at 07:00 on a schedule.
- Fetches RSS XML from three Microsoft Tech Community feeds (Microsoft 365 Blog, Security & Compliance, and Teams/Microsoft Teams Blog) in parallel.
- Parses the RSS items, keeps only posts from the last 24 hours, and deduplicates updates by title across all feeds.
- If no new items are found, sends a “no new updates” email via SMTP.
- If new items are found, aggregates them into a single formatted list for analysis.
- Sends the aggregated updates to the OpenAI Chat Completions API (gpt-4o-mini) to assign priority/category/action-required and generate an inline-CSS HTML email body.
- Emails the generated HTML digest to the configured recipients via SMTP.
Setup
- Create an OpenAI API key and add an HTTP Header Auth credential that sets
Authorization: Bearer <your_api_key> for the OpenAI request.
- Add an SMTP credential for the email-sending nodes.
- Update the
fromEmail and toEmail fields in both email actions to match your sender and recipient addresses.
- Review and update the three Microsoft RSS feed URLs if Microsoft changes the Tech Community RSS endpoints.
- Adjust the cron expression if you want the digest to run at a different time than 07:00.