๐ŸŽฌ Automated blog post generation with GPT-4 and publishing to Ghost CMS

โšก 3,673 views ยท ๐ŸŽฌ Content Creation & Video

Description

๐Ÿง  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:

๐Ÿ” Notes

โœ… No hardcoded API keys

๐Ÿ› ๏ธ Ghost Admin API credentials must be set using the Credential Manager

๐Ÿ“Œ Prompt and Ghost URL are both easily customizable

๐Ÿ”— Nodes Used

HTTP Request, Schedule Trigger, OpenAI

๐Ÿ“ฅ Import

Download workflow.json and import into n8n: Workflow menu โ†’ Import from File

๐Ÿ“– Importing guide ยท ๐Ÿ”‘ Credential setup