Quick overview
This workflow runs every Monday morning, pulls the latest Artificial Intelligence headlines from a Google News RSS feed, uses OpenAI to design a styled HTML “Weekly Insider” magazine, converts it to a watermarked PDF via HTMLCSS to PDF, and emails it to subscribers using Gmail.
How it works
- Runs every Monday at 8 AM on a schedule.
- Reads the latest Artificial Intelligence results from a Google News RSS feed.
- Keeps only the top 5 articles and combines their key fields into a single JSON array.
- Uses an OpenAI chat model to generate a fully styled HTML magazine layout and executive summary from the aggregated articles.
- Converts the generated HTML into a PDF file using the HTMLCSS to PDF service.
- Applies a “MEDIAJADE EXCLUSIVE” text watermark to the PDF.
- Sends the watermarked PDF as an email attachment to the configured recipients via Gmail.
Setup
- Add an OpenAI API credential and select the model you want to use for generating the HTML magazine.
- Add an HTMLCSS to PDF (htmlcsstopdf) API credential for both HTML-to-PDF conversion and PDF watermarking.
- Add a Gmail OAuth2 credential and update the recipient list, subject, and attachment settings in the email step.
- Update the Google News RSS feed URL if you want to change the topic or query, and confirm the Monday 8 AM schedule matches your timezone.