Templates / Add AI-generated headings & conclusions to WordPress posts with GPT-4.1

Add AI-generated headings & conclusions to WordPress posts with GPT-4.1

Ready for 3.0

by Ali Khosravani ✓ · 482 views · created 2025-08-19 · Content Creation, Multimodal AI

Ready 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”.

  1. Fetch Article Content (API) (HTTP Request): calls an HTTP API
  2. Prepare Article Content Fields (Edit Fields (Set)): sets 3 fields: id, content, plainContent
  3. Format Article Content for Prompt (Code): runs custom JavaScript code
  4. Generate Heading & Summary Paragraph (AI) (OpenAI): uses OpenAI
  5. Format AI Output for Update (Code): runs custom JavaScript code
  6. Update Article in WordPress (HTTP Request): calls an HTTP API (PATCH)

Services it uses

OpenAI

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)

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…

Excerpt from Ali Khosravani's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.