Skip to main content

Auto-generate WordPress blog posts from Reddit RSS with Groq AI & Pexels images

Workflow preview

Workflow preview
100%
Auto-generate WordPress blog posts from Reddit RSS with Groq AI & Pexels images preview
Open on n8n.io

Important notice

This workflow is provided as-is. Please review and test before using in production.

1. Workflow Overview

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 runn...

Best for

  • Content Creation automation workflows
  • Multimodal AI automation workflows
  • advanced n8n builders looking for reusable templates

Tools used

n8n-nodes-base.set, n8n-nodes-base.httprequest, n8n-nodes-base.if, n8n-nodes-base.merge, n8n-nodes-base.switch, n8n-nodes-base.filter, n8n-nodes-base.wordpress, n8n-nodes-base.code

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Ranjan Kumar.

Original n8n.io source

1.1 Workflow description

Title
Auto-generate WordPress blog posts from Reddit RSS with Groq AI & Pexels images
Workflow name
Auto-generate WordPress blog posts from Reddit RSS with Groq AI & Pexels images

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.

  1. RSS Feed Trigger: Fetches new Reddit posts every minute from multiple AI-related subreddits.
  2. 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).
  3. Image Generator: Queries the Pexels API using the keyword provided by the AI to fetch a relevant blog image.
  4. Category & Tag Manager: Automatically creates or reuses categories and tags in WordPress.
  5. 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 (draft or publish)
  • 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

1.2 Logical Blocks

This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.

2. Block-by-Block Analysis

Block 1 - Create Post Data From AI

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 2 - Pexels HTTP Request image

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 3 - Pexel Err If

Type / Role
n8n-nodes-base.if - if
Config choices
Version 2.2

Block 4 - Pexels HTTP Request on Empty

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 5 - Pexel Merge

Type / Role
n8n-nodes-base.merge - merge
Config choices
Version 3.2

Block 6 - Pexel Image Url

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 7 - WP Make Category

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 8 - Category ID

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 9 - Category Search

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 10 - Category Merge

Type / Role
n8n-nodes-base.merge - merge
Config choices
Version 3.2

Block 11 - WP Make Tag 1

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 12 - Category Switch

Type / Role
n8n-nodes-base.switch - switch
Config choices
Version 3.2

Block 13 - Tag 1 Search

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 14 - Category Filter

Type / Role
n8n-nodes-base.filter - filter
Config choices
Version 2.2

Block 15 - Tag 1 Switch

Type / Role
n8n-nodes-base.switch - switch
Config choices
Version 3.2

Block 16 - Tag 1 Filter

Type / Role
n8n-nodes-base.filter - filter
Config choices
Version 2.2

Block 17 - Tag 1 Merge

Type / Role
n8n-nodes-base.merge - merge
Config choices
Version 3.2

Block 18 - Tag 1 ID

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 19 - WP Make Tag 2

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 20 - Tag 2 Switch

Type / Role
n8n-nodes-base.switch - switch
Config choices
Version 3.2

Block 21 - Tag 2 Search

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 22 - Tag 2 Filter

Type / Role
n8n-nodes-base.filter - filter
Config choices
Version 2.2

Block 23 - Tag 2 Merge

Type / Role
n8n-nodes-base.merge - merge
Config choices
Version 3.2

Block 24 - Tag 2 ID

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Showing the first 24 of 53 workflow blocks. Download the JSON for the full node graph.

3. Summary Table

Workflow Auto-generate WordPress blog posts from Reddit RSS with Groq AI & Pexels images
Complexity advanced
Nodes 53
Categories Content Creation, Multimodal AI
Author Ranjan Kumar
Published 27 Jul 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/6522/6522.json as the source template for this automation.

  2. 2. Import the template into n8n

    Open n8n, import the downloaded JSON, and review each node before activating the workflow.

  3. 3. Configure credentials and variables

    Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.

  4. 4. Test with sample data

    Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.

  5. 5. Activate and monitor

    Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.

5. General Notes & Resources

Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.

Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.

Frequently asked questions

What does Auto-generate WordPress blog posts from Reddit RSS with Groq AI & Pexels images do?

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 runn...

What do I need before importing this workflow?

Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.

Can I customize this workflow?

Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your Content Creation, Multimodal AI use case.