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 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.
Related Templates
Subscribe to new releases of a Github repository via Gmail
This is a very simple workflow that lets you subscribe to any github repository for the latest release (using n8n as ex...
Generate Food Recipes from Gmail & Form Requests with Ollama & Llama 3.2
This n8n template demonstrates how to create an intelligent food recipe assistant that accepts requests via Gmail and we...
Generate Product Ad Copy & CTAs with GPT-4 for Slack and Airtable
⚡ AI Copywriter Pro: Instant Ad Copy & CTA Generator Transform product details into compelling marketing copy in second...
🔒 Please log in to import templates to n8n and favorite templates
Workflow Visualization
Loading...
Preparing workflow renderer
Comments (0)
Login to post comments