Thomas

Thomas

Automated Blog Post Generation with GPT-4 and Publishing to Ghost CMS

🧠 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
Do you want to automate your business?

Let's talk about your project