WordPress Auto Publisher n8n WorkFlow with AI Image

Free n8n Workflow

๐Ÿ“ฐ RSS โ†’ AI โ†’ WordPress
Auto Publisher (3x Daily)

Fully automated content pipeline โ€” fetches trending articles, writes SEO-optimized posts with AI, generates thumbnails, and publishes to WordPress. Hands-free.

๐Ÿ”ง n8n
๐Ÿง  OpenRouter AI
๐ŸŽจ fal.ai
๐ŸŒ WordPress

โฌ‡๏ธ Download the Workflow

Import into n8n and start auto-publishing in under 5 minutes


DOWNLOAD JSON FILE

What This Workflow Does

Once active, this workflow fires 3 times a day (8 AM, 2 PM, 8 PM) and runs a complete content pipeline โ€” from reading an RSS feed to publishing a fully formed blog post on your WordPress site. Zero manual effort.

๐Ÿ“ก

RSS Monitoring

Reads any RSS or Atom feed and extracts trending content as inspiration.

๐Ÿค–

AI Content Writing

Generates original 800+ word SEO blog posts with headings, tags, and meta data.

๐ŸŽจ

AI Thumbnails

Auto-generates professional blog images using fal.ai Flux Schnell model.

๐Ÿš€

WordPress Publishing

Creates draft posts with featured image and Yoast SEO fields โ€” fully automated.

The Complete Pipeline

The workflow has 10 nodes connected in a clean linear pipeline. Here’s exactly what happens each run:

1

โฐ Schedule Trigger

Fires at 8 AM, 2 PM, and 8 PM daily (fully customizable)

2

๐Ÿ“ก Read RSS Feed

Fetches latest articles from your configured feed URL

3

๐Ÿ” Extract New Article

Checks posted history โ†’ picks first unposted article โ†’ skips if nothing new

4

๐Ÿค– AI Writer (OpenRouter)

Generates full blog post in JSON: title, slug, content, meta, tags, image prompt

5

๐Ÿ“ Parse AI Response

Validates JSON, extracts fields, generates image filename

6

๐ŸŽจ Generate Thumbnail (fal.ai)

Creates a professional 16:9 blog image using Flux Schnell

7

โฌ‡๏ธ Download Image

Fetches the generated image as binary data

8

๐Ÿ“ค Upload to WordPress Media

Uploads image to your WP media library via REST API

9

๐Ÿ“ Create WordPress Post

Creates draft with content, featured image, excerpt, and Yoast SEO metadata

10

โœ… Mark as Posted

Saves source URL to static data โ€” prevents duplicates, auto-cleans at 100 entries

What You’ll Need

๐Ÿ”ง

n8n Instance

Self-hosted (Docker/CapRover) or n8n Cloud โ€” n8n.io

๐Ÿง 

OpenRouter API Key

Powers the AI writer โ€” supports GPT-4o, Claude, Llama, Mistral โ€” Get your key

๐ŸŽจ

fal.ai API Key

For AI thumbnail generation via Flux Schnell โ€” Get your key

๐ŸŒ

WordPress Site with REST API

Generate an Application Password at WP Admin โ†’ Users โ†’ Profile โ†’ Application Passwords

๐Ÿ“ก

Any RSS Feed URL

TechCrunch, Verge, niche blogs, competitor feeds โ€” your choice

5-Minute Setup Guide

1

Import the Workflow

Download the JSON file from the button above. In your n8n dashboard, go to Workflows โ†’ Import from File and select the JSON. All 10 nodes will be imported pre-connected and ready to configure.

2

Set Your RSS Feed

Open the “๐Ÿ“ก RSS Feed” node and replace the URL with your desired feed. The default points to TechCrunch โ€” swap it with any blog, news site, or aggregator in your niche.

3

Configure API Credentials

In n8n, go to Credentials and set up these three:

OpenRouter API โ€” Add your API key from openrouter.ai/keys

fal.ai Header Auth โ€” Header: Authorization โ†’ Value: Key YOUR_FAL_KEY

WordPress Basic Auth โ€” Username + Application Password from WP Admin โ†’ Users โ†’ Profile

4

Update WordPress Domain

In the “๐Ÿ“ค Upload to WP Media” and “๐Ÿ“ Create WP Post” nodes, replace the domain with yours:

https://yourdomain.com/wp-json/wp/v2/media
https://yourdomain.com/wp-json/wp/v2/posts

5

Test & Activate ๐Ÿš€

Click “Test Workflow” for a dry run. Verify a draft post appears in your WP dashboard with the featured image and Yoast fields populated. Then toggle the workflow to Active โ€” it now runs automatically at 8 AM, 2 PM, and 8 PM.

How the AI Content Generation Works

The AI Writer node uses a detailed prompt instructing the LLM to act as an SEO expert. It takes the RSS article as context and inspiration (explicitly told not to copy) and returns a structured JSON containing:

๐Ÿ“

SEO Title

50-60 chars with keyword

๐Ÿ”—

Slug & Meta

URL + 160 char description

โœ๏ธ

800+ Word Post

HTML with H2/H3 structure

๐Ÿท๏ธ

Tags & Keywords

Yoast SEO ready

๐Ÿ“‹

Excerpt

2-3 sentence summary

๐Ÿ–ผ๏ธ

Image Prompt

For AI thumbnail gen

Customization Tips

๐Ÿ• Change frequency โ€” Edit the Schedule Trigger to run once a day, every hour, or at custom times

๐Ÿง  Switch AI model โ€” OpenRouter supports GPT-4o, Claude, Llama 3, Mistral, DeepSeek and more

๐Ÿ“ข Auto-publish โ€” Change "status": "draft" to "publish" in Create WP Post

๐Ÿ“‚ Add categories โ€” Include "categories": [ID] in the WP Post request body

๐Ÿ“ก Multiple feeds โ€” Duplicate the workflow per feed, or merge sources with a Merge node

FAQ

Will the AI content be unique?

Yes โ€” the prompt explicitly tells the AI to use the RSS article as inspiration only, not to copy. Every post is uniquely generated with proper SEO structure.

What if there are no new articles?

The workflow gracefully stops โ€” no errors, no duplicates. It simply waits for the next scheduled run.

Can I use a different AI model?

Absolutely. OpenRouter gives you access to dozens of models. Just update the model setting in the credential configuration.

Ready to automate your blog?

Download the workflow, set up in 5 minutes, and never write a blog post manually again.


โฌ‡๏ธ DOWNLOAD JSON FILE

Made with โค๏ธ by HIVECORP

hivecorp.in ยท
YouTube @hivecorp ยท
More free workflows & tutorials

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top