Quick overview
This workflow runs every Monday at 08:00, reads your blog’s RSS feed, filters posts from the last 7 days, and uses an OpenAI-compatible Chat Completions API to generate a markdown newsletter digest you can copy into your email tool.
How it works
- Runs every Monday at 08:00 on a schedule.
- Loads configuration values (RSS feed URL, OpenAI-compatible base URL, model name, and desired tone).
- Reads the RSS feed and keeps only items published in the last 7 days, collecting each post’s title, link, and a short snippet.
- Stops with a “nothing to send” outcome when no posts are found for the week.
- Sends the weekly post list to an OpenAI-compatible Chat Completions endpoint to write a clean markdown digest (intro, one bullet per post, and a sign-off).
- Extracts the generated markdown content into a single field so you can copy the draft from the final output.
Setup
- Update the RSS feed URL (and optionally the model, tone, and API base URL) in the configuration step.
- Create an HTTP Header Auth credential with an
Authorization: Bearer <YOUR_API_KEY> header and attach it to the HTTP request that calls the Chat Completions API.
- If you use a non-OpenAI provider, set the API base URL to your OpenAI-compatible endpoint so
/chat/completions resolves correctly.
Requirements
- An API key for any OpenAI-compatible provider (OpenAI, OpenRouter, Groq, etc.)