Add AI-generated headings & conclusions to WordPress posts with GPT-4.1
Ready for 3.0Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-10-19.
What this workflow does
This AI workflow has 7 nodes and runs manually, when you click “Execute workflow”. Along the way it connects OpenAI.
How it runs
Trigger: Manually, when you click “Execute workflow”.
- Fetch Article Content (API) (HTTP Request): calls an HTTP API
- Prepare Article Content Fields (Edit Fields (Set)): sets 3 fields: id, content, plainContent
- Format Article Content for Prompt (Code): runs custom JavaScript code
- Generate Heading & Summary Paragraph (AI) (OpenAI): uses OpenAI
- Format AI Output for Update (Code): runs custom JavaScript code
- Update Article in WordPress (HTTP Request): calls an HTTP API (PATCH)
Services it uses
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.
Nodes used (5)
- Manual Trigger
n8n-nodes-base.manualTrigger - HTTP Request
n8n-nodes-base.httpRequest - Edit Fields (Set)
n8n-nodes-base.set - Code
n8n-nodes-base.code - OpenAI
@n8n/n8n-nodes-langchain.openAi
From the author
This workflow enriches your WordPress articles by automatically adding an AI-generated heading and a short concluding paragraph. It ensures each post ends with valuable, engaging content to improve user satisfaction, branding, and SEO. How It Works Fetches…