AI Content Generation Engine — Automated Blog Publishing System
A modular n8n pipeline that discovers trending AI links on Pinboard, researches them via Google, writes long-form articles with GPT-4o-mini, and publishes to WordPress.
Built by Redoan Uzzaman, Full-Stack Developer & AI Engineer.

Overview
AI Content Generation Engine automates a full research-and-write loop for a blog. It finds what is trending, researches it, writes an original article and publishes it to WordPress.
How it works
- Discovery: popular Pinboard bookmarks are scraped and parsed from HTML, then GPT-4o-mini filters them down to AI-related topics.
- Summarization: each relevant link is passed to a reusable scrape-and-summarize sub-workflow that downloads the page, converts it to Markdown and condenses it.
- Ideation: the summaries act as inspiration for an LLM that proposes a unique article topic.
- Research: a Google deep-research sub-workflow (Google Custom Search) generates multiple queries, fetches results and keeps only content the AI judges relevant.
- Writing and publishing: the article is written as structured long-form content, converted from Markdown to HTML and created as a WordPress post.
Engineering notes
The system is designed around sub-workflows called through Execute Workflow nodes, so the scraping and research components can be reused by other automations. Seven LLM chains with structured output parsers keep each stage's output strictly typed, and filter nodes drop broken pages and irrelevant results before they reach the writer.
Key Features
- Trending-topic discovery from Pinboard
- AI filtering for audience-relevant topics
- Reusable scrape-and-summarize sub-workflow
- Multi-query Google deep research with relevance checks
- Long-form article generation with structured outputs
- Markdown-to-HTML conversion and WordPress publishing
Tech Stack
- n8n
- OpenAI GPT-4o-mini
- Google Custom Search API
- WordPress REST API
- Pinboard
- Markdown
- JavaScript
Want something like this built?
Redoan Uzzaman takes on AI, automation and full-stack projects for clients worldwide.