๐ŸŽฌ Create weekly AI WordPress posts with images from SharePoint topics

โšก 41 views ยท ๐ŸŽฌ Content Creation & Video

Description

AI Article Publisher โ€” Scheduled WordPress Post from Topic List

This workflow automatically generates and publishes a full-length, SEO-optimized WordPress article on a weekly schedule. Topics are sourced from a SharePoint list. The AI agent writes the article body with embedded inline images, generates a separate featured (hero) image, creates a WordPress draft, and sends a notification email when complete.

How it works

  1. Schedule Trigger fires on a configurable schedule (default: every Monday at 10 AM)
  2. Get Topics pulls unposted items from a SharePoint list where PostID is null
  3. Fetch WP Categories retrieves all WordPress categories from your site
  4. Format Categories + Match Categories AI selects the best-fit category IDs for the topic
  5. Write Article (AI Agent + web search) writes a 1,500โ€“2,500-word HTML article with 3โ€“4 embedded inline images via the image tool
  6. Strip Code Fences + Generate Title clean the output and produce an SEO-optimized title
  7. Add Draft to WP creates the post as a draft in WordPress
  8. Generate Feature Image + Upload Image โ†’ Attach Featured Media sets the hero image on the post
  9. Update SharePoint PostID stamps the list item with the new WP Post ID to prevent re-processing
  10. Build Notification Email + Send Notification delivers a formatted HTML email summary to your team

Setup

Customization

Visit automatedintelligentsolutions.com for more information and workflows.

๐Ÿ”— Nodes Used

HTTP Request, Wordpress, Microsoft Outlook, Schedule Trigger, AI Agent, OpenAI Chat Model

๐Ÿ“ฅ Import

Download workflow.json and import into n8n: Workflow menu โ†’ Import from File

๐Ÿ“– Importing guide ยท ๐Ÿ”‘ Credential setup