Automated Blog Post Generation with GPT-4 and Publishing to Ghost CMS - n8n Workflow | Neura Market
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 metadata.
**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
Platform
n8n
Category
AI
Price
Free
Creator
Thomas
code
stickyNote
httpRequest
scheduleTrigger
openAi
How to import this workflow into n8n
1Purchase or download the workflow to get the n8n workflow JSON file.
2In your n8n instance, open Workflows and choose "Import from File" (or paste the JSON with Ctrl+V on the canvas).
3Open each node marked with a credential warning and connect your own accounts and API keys.
4Run the workflow once manually to verify the data flow, then toggle it to Active.