See llms.txt for all machine-readable content.

Back to Templates

Create a weekly AI news PDF magazine with OpenAI, RSS and Gmail

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

  1. Runs every Monday at 8 AM on a schedule.
  2. Reads the latest Artificial Intelligence results from a Google News RSS feed.
  3. Keeps only the top 5 articles and combines their key fields into a single JSON array.
  4. Uses an OpenAI chat model to generate a fully styled HTML magazine layout and executive summary from the aggregated articles.
  5. Converts the generated HTML into a PDF file using the HTMLCSS to PDF service.
  6. Applies a “MEDIAJADE EXCLUSIVE” text watermark to the PDF.
  7. Sends the watermarked PDF as an email attachment to the configured recipients via Gmail.

Setup

  1. Add an OpenAI API credential and select the model you want to use for generating the HTML magazine.
  2. Add an HTMLCSS to PDF (htmlcsstopdf) API credential for both HTML-to-PDF conversion and PDF watermarking.
  3. Add a Gmail OAuth2 credential and update the recipient list, subject, and attachment settings in the email step.
  4. 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.