Create weekly AI WordPress posts with images from SharePoint topics
Ready for 3.0What this workflow does
This AI workflow has 20 nodes and runs on a schedule (every day). Along the way it connects Microsoft SharePoint, OpenAI, OpenAI Chat Model and Wordpress and 2 more.
How it runs
Trigger: On a schedule (every day).
- Get Topics (Microsoft SharePoint): uses Microsoft SharePoint
- Fetch WP Categories (HTTP Request): calls an HTTP API
- Format Categories (Code): runs custom JavaScript code
- Match Categories AI (OpenAI): uses OpenAI
- Parse Category IDs (Edit Fields (Set)): sets or maps fields
- Write Article (AI Agent): runs an AI agent, with model: LM — Article Writer; 1 tool (Generate and Upload Image)
- Strip Code Fences (Code): runs custom JavaScript code
- Generate Title (AI Agent): runs an AI agent, with model: LM — Title Generator
- Add Draft to WP (Wordpress): uses Wordpress
- Build Feature Image Prompt (Edit Fields (Set)): sets or maps fields
…plus 6 more steps. See the full node list below.
Services it uses
Other OpenAI + Google Gemini templates (249) · Other WordPress + OpenAI templates (91) · Other Microsoft Outlook + OpenAI templates (52)
Before you upgrade to n8n 3.0
Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.
- Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
Nodes used (12)
- Schedule Trigger
n8n-nodes-base.scheduleTrigger - Microsoft SharePoint
n8n-nodes-base.microsoftSharePoint - HTTP Request
n8n-nodes-base.httpRequest - Code
n8n-nodes-base.code - OpenAI
@n8n/n8n-nodes-langchain.openAi - Edit Fields (Set)
n8n-nodes-base.set - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - AI Agent
@n8n/n8n-nodes-langchain.agent - Call n8n Workflow Tool
@n8n/n8n-nodes-langchain.toolWorkflow - Wordpress
n8n-nodes-base.wordpress - Google Gemini
@n8n/n8n-nodes-langchain.googleGemini - Microsoft Outlook
n8n-nodes-base.microsoftOutlook
From the author
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…