Automated Blog Post Generation with GPT-4 and Publishing to Ghost CMS
Last edited 115 days ago
🧠 Writes original, thought-provoking blog posts using AI
🕓 Runs every 12 hours automatically
✍️ Publishes directly to Ghost blog with title, tags, and SEO meta
🔧 Features
Scheduled every 12 hours
OpenAI generates a multi-part blog post with metadata
Markdown-compatible output (no HTML)
Automatically published to Ghost CMS using authenticated API (🔐 no hardcoded keys)
Fully modular and general-purpose — edit prompt for any blog theme!
⚙️ Nodes Overview
Step Node Type Purpose
1️⃣ Schedule Trigger Runs every 12 hours
2️⃣ OpenAI Generates blog post + meta info
3️⃣ Code Extracts content, title, meta, and tags
4️⃣ Code Formats content as Ghost mobiledoc payload
5️⃣ HTTP Request Publishes post to Ghost via Admin API
📝 OpenAI Prompt (Generalized)
Write a high-quality blog post on a creative or thought-provoking topic. The tone should be engaging and immersive. Length: 2–4 paragraphs.
Then add a brief paragraph offering an alternative perspective or logical counterpoint.
Finally, generate:
- Blog post title
- Meta description
- 5 tags
🔐 Notes
✅ No hardcoded API keys
🛠️ Ghost Admin API credentials must be set using the Credential Manager
📌 Prompt and Ghost URL are both easily customizable
You may also like
New to n8n?
Need help building new n8n workflows? Process automation for you or your company will save you time and money, and it's completely free!





