π¬ Auto-generate WordPress blog posts from Reddit RSS with Groq AI & Pexels images
β‘ 2,150 views Β· π¬ Content Creation & Video
Description
Whoβs it for
This template is ideal for creators, bloggers, and automation enthusiasts who want to auto-generate blog posts from AI-generated content β without lifting a finger. Whether youβre running a tech blog, AI newsletter, or just want to keep your WordPress site fresh, this workflow does the heavy lifting.
How it works
This n8n workflow automatically publishes WordPress posts using trending content from Reddit RSS feeds (like /r/artificial and /r/MachineLearning), enhanced with AI writing and royalty-free images.
- RSS Feed Trigger: Fetches new Reddit posts every minute from multiple AI-related subreddits.
- AI Blog Writer: Uses an LLM (Groq / GPT-4o) to convert Reddit titles + content into a full blog article (title, content, category, tags, image keyword).
- Image Generator: Queries the Pexels API using the keyword provided by the AI to fetch a relevant blog image.
- Category & Tag Manager: Automatically creates or reuses categories and tags in WordPress.
- WordPress Publisher: Posts the article in draft or published form β complete with featured image and metadata.
Everything is dynamically generated β no hardcoded text or API keys!
How to set up
Estimated time: 15β20 minutes
Youβll need:
- π§ Groq or OpenAI API key (for AI article generation)
- πΌοΈ Pexels API key (for fetching featured images)
- π° WordPress API credentials (with media + post permissions)
Customization via Sticky Notes:
- Choose your own RSS feeds (or subreddit URLs)
- Modify the AI prompt to match your writing style
- Set post status (
draftorpublish) - Add your WordPress API URL and credentials
Requirements
-
Free n8n account (or self-hosted instance)
-
API credentials (Groq/OpenAI, Pexels, WordPress)
-
Working WordPress site with REST API access
-
Sticky notes explaining:
- Setup instructions
- AI prompt format
- Required credential names
π Nodes Used
HTTP Request, Wordpress, Filter, Basic LLM Chain, Structured Output Parser, RSS Feed Trigger
π₯ Import
Download workflow.json and import into n8n:
Workflow menu β Import from File