Skip to main content

Create weekly AI WordPress posts with images from SharePoint topics

Workflow preview

Workflow preview
100%
Create weekly AI WordPress posts with images from SharePoint topics preview
Open on n8n.io

1. Workflow Overview

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 s...

Best for

  • Content Creation automation workflows
  • Multimodal AI automation workflows
  • advanced n8n builders looking for reusable templates

Tools used

n8n-nodes-base.scheduletrigger, n8n-nodes-base.stickynote, n8n-nodes-base.microsoftsharepoint, n8n-nodes-base.httprequest, n8n-nodes-base.code, @n8n/n8n-nodes-langchain.openai, n8n-nodes-base.set, @n8n/n8n-nodes-langchain.lmchatopenai

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by AI Solutions.

Original n8n.io source

1.1 Workflow description

Title
Create weekly AI WordPress posts with images from SharePoint topics
Workflow name
Create weekly AI WordPress posts with images from SharePoint topics

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 ImageAttach 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

  • WordPress credential: Create an Application Password in WP Admin → Users → Profile. Set the WordPress API credential in all WordPress nodes.
  • WordPress site URL: Replace YOUR_WP_SITE_URL placeholder in HTTP Request nodes with your domain (e.g., https://yoursite.com).
  • SharePoint credential: Add a Microsoft SharePoint OAuth2 credential and select your SharePoint site and list in the Get Topics and Update SharePoint PostID nodes.
  • OpenAI credential: Add your OpenAI API key. GPT-4.1 (or GPT-4o) is recommended for the article agent; GPT-4.1-mini for category matching and title generation.
  • Google Gemini credential: Required for the Generate Feature Image node. Add a Google PaLM/Gemini API key.
  • Image sub-workflow: The Generate and Upload Image tool calls a separate image-generation sub-workflow. Deploy that workflow first and update the workflow ID in the tool node.
  • Notification email: Replace YOUR_NOTIFICATION_EMAIL in the Send Notification node with your email address.

Customization

  • Change status: 'draft' to 'publish' in Add Draft to WP to auto-publish articles.
  • Adjust the article tone and CTA in the Write Article system prompt to match your brand voice.
  • Swap the SharePoint list for a Google Sheet or Airtable by replacing the Get Topics and Update Record nodes.

Visit automatedintelligentsolutions.com for more information and workflows.

1.2 Logical Blocks

This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.

2. Block-by-Block Analysis

Block 1 - Schedule Trigger

Type / Role
n8n-nodes-base.scheduleTrigger - scheduleTrigger
Config choices
Version 1.3

Block 2 - Overview

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 3 - Section — Topic Source

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 4 - Section — Category Matching

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 5 - Section — Article Generation

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 6 - Section — WP Publishing

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 7 - Section — Notification

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 8 - Warning — Community Nodes

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 9 - Get Topics

Type / Role
n8n-nodes-base.microsoftSharePoint - microsoftSharePoint
Config choices
Version 1

Block 10 - Fetch WP Categories

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 11 - Format Categories

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 12 - Match Categories AI

Type / Role
@n8n/n8n-nodes-langchain.openAi - openAi
Config choices
Version 1.8

Block 13 - Parse Category IDs

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 14 - LM — Article Writer

Type / Role
@n8n/n8n-nodes-langchain.lmChatOpenAi - lmChatOpenAi
Config choices
Version 1.3

Block 15 - Write Article

Type / Role
@n8n/n8n-nodes-langchain.agent - agent
Config choices
Version 3.1

Block 16 - Generate and Upload Image

Type / Role
@n8n/n8n-nodes-langchain.toolWorkflow - toolWorkflow
Config choices
Version 2

Block 17 - Strip Code Fences

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 18 - LM — Title Generator

Type / Role
@n8n/n8n-nodes-langchain.lmChatOpenAi - lmChatOpenAi
Config choices
Version 1.3

Block 19 - Generate Title

Type / Role
@n8n/n8n-nodes-langchain.agent - agent
Config choices
Version 3.1

Block 20 - Add Draft to WP

Type / Role
n8n-nodes-base.wordpress - wordpress
Config choices
Version 1

Block 21 - Build Feature Image Prompt

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 22 - Generate Feature Image

Type / Role
@n8n/n8n-nodes-langchain.googleGemini - googleGemini
Config choices
Version 1.1

Block 23 - Upload Feature Image

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 24 - Attach Featured Media

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.4

Showing the first 24 of 27 workflow blocks. Download the JSON for the full node graph.

3. Summary Table

Workflow Create weekly AI WordPress posts with images from SharePoint topics
Complexity advanced
Nodes 27
Categories Content Creation, Multimodal AI
Author AI Solutions
Published 16 Apr 2026

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/15102/15102.json as the source template for this automation.

  2. 2. Import the template into n8n

    Open n8n, import the downloaded JSON, and review each node before activating the workflow.

  3. 3. Configure credentials and variables

    Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.

  4. 4. Test with sample data

    Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.

  5. 5. Activate and monitor

    Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.

5. General Notes & Resources

Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.

Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.

Frequently asked questions

What does Create weekly AI WordPress posts with images from SharePoint topics do?

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 s...

What do I need before importing this workflow?

Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.

Can I customize this workflow?

Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your Content Creation, Multimodal AI use case.