{"product_id":"ai-wordpress-newsletter-automation-with-openai-smtp","title":"AI WordPress Newsletter Automation with OpenAI + SMTP","description":"\u003ch3\u003eAutomate your WordPress newsletters every hour—powered by OpenAI and delivered via SMTP\u003c\/h3\u003e\n\u003cp\u003eThis n8n workflow finds due newsletters in your \u003cstrong\u003eAIS Newsletter Manager\u003c\/strong\u003e, pulls fresh articles from multiple news sources, generates an OpenAI-written intro and per-article summaries (plus a feature image), then emails a branded HTML issue to your recipients via \u003cstrong\u003eSMTP\u003c\/strong\u003e—and marks it as sent back in WordPress.\u003c\/p\u003e\n\n\u003ch3\u003eWhat this workflow does\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003eRuns hourly\u003c\/strong\u003e to check your WordPress schedule by calling the \u003cstrong\u003eAIS Newsletter Manager\u003c\/strong\u003e \u003ccode\u003e\/due\u003c\/code\u003e endpoint.\u003c\/li\u003e\n  \u003cli\u003eFor each due newsletter, it \u003cstrong\u003efetches recent content\u003c\/strong\u003e from: \u003cstrong\u003eReddit RSS\u003c\/strong\u003e, \u003cstrong\u003eGoogle News RSS\u003c\/strong\u003e, \u003cstrong\u003eYahoo Sports RSS\u003c\/strong\u003e, \u003cstrong\u003eNCAA.com RSS\u003c\/strong\u003e, and \u003cstrong\u003eBBC Sport RSS\u003c\/strong\u003e, normalizing all items into a consistent article format.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eFilters and randomly selects\u003c\/strong\u003e a configured number of articles from the \u003cstrong\u003elast 10 days\u003c\/strong\u003e while maintaining \u003cstrong\u003esource representation\u003c\/strong\u003e.\u003c\/li\u003e\n  \u003cli\u003eUses an \u003cstrong\u003eOpenAI chat model\u003c\/strong\u003e to produce a strict \u003cstrong\u003eJSON\u003c\/strong\u003e output containing an intro and summaries for each selected article.\u003c\/li\u003e\n  \u003cli\u003eGenerates a \u003cstrong\u003efeature image\u003c\/strong\u003e using \u003cstrong\u003eOpenAI image generation\u003c\/strong\u003e based on the first article, then \u003cstrong\u003euploads it to WordPress\u003c\/strong\u003e via the plugin’s media endpoint.\u003c\/li\u003e\n  \u003cli\u003eBuilds a \u003cstrong\u003ebranded HTML newsletter\u003c\/strong\u003e using \u003cstrong\u003eWordPress newsletter settings\u003c\/strong\u003e (colors, title, logo, unsubscribe link) and pulls the \u003cstrong\u003eactive recipients list\u003c\/strong\u003e from WordPress.\u003c\/li\u003e\n  \u003cli\u003eSends the issue using \u003cstrong\u003eSMTP in BCC batches\u003c\/strong\u003e, then posts to \u003cstrong\u003eAIS Newsletter Manager\u003c\/strong\u003e \u003ccode\u003e\/sent\u003c\/code\u003e to mark the newsletter as delivered.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eUse cases\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003eNews-focused SaaS operators who want \u003cstrong\u003eautomated themed email digests\u003c\/strong\u003e without manual curation.\u003c\/li\u003e\n  \u003cli\u003en8n engineers building reliable \u003cstrong\u003eWordPress newsletter automation\u003c\/strong\u003e with OpenAI summaries and image generation.\u003c\/li\u003e\n  \u003cli\u003eTeams maintaining consistent branding, unsubscribe links, and recipient management through \u003cstrong\u003eAIS Newsletter Manager\u003c\/strong\u003e.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eTechnical details\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003eWordPress integration via \u003cstrong\u003eAIS Newsletter Manager\u003c\/strong\u003e REST endpoints: \u003ccode\u003e\/due\u003c\/code\u003e, media upload endpoint, and \u003ccode\u003e\/sent\u003c\/code\u003e.\u003c\/li\u003e\n  \u003cli\u003eContent sources: \u003cstrong\u003eReddit RSS\u003c\/strong\u003e, \u003cstrong\u003eGoogle News RSS\u003c\/strong\u003e, \u003cstrong\u003eYahoo Sports RSS\u003c\/strong\u003e, \u003cstrong\u003eNCAA.com RSS\u003c\/strong\u003e, \u003cstrong\u003eBBC Sport RSS\u003c\/strong\u003e.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eOpenAI\u003c\/strong\u003e for chat-based summaries (strict JSON) and \u003cstrong\u003eOpenAI image generation\u003c\/strong\u003e.\u003c\/li\u003e\n  \u003cli\u003en8n nodes mentioned in the workflow: \u003cstrong\u003eset\u003c\/strong\u003e, \u003cstrong\u003ecode\u003c\/strong\u003e, \u003cstrong\u003emerge\u003c\/strong\u003e, \u003cstrong\u003esplit out\u003c\/strong\u003e, \u003cstrong\u003eemail send\u003c\/strong\u003e, and \u003cstrong\u003esticky note\u003c\/strong\u003e.\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003cp\u003e\u003cstrong\u003eSetup note:\u003c\/strong\u003e Install and configure the \u003cstrong\u003eAIS Newsletter Manager\u003c\/strong\u003e WordPress plugin and ensure its REST endpoints are reachable.\u003c\/p\u003e","brand":"N8N Commerce","offers":[{"title":"Default Title","offer_id":46001870209203,"sku":"N8N-19455","price":59.99,"currency_code":"GBP","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0749\/6279\/6723\/files\/oZMCQioORJzQhi5UEfAvq_Drbjwv1r.png?v=1789118028","url":"https:\/\/buyflowscripts.com\/products\/ai-wordpress-newsletter-automation-with-openai-smtp","provider":"N8N Commerce","version":"1.0","type":"link"}