Generate WordPress blog posts with GPT-4O and Pixabay featured images via form
Ready for 3.0What this workflow does
This AI workflow has 16 nodes and runs when someone submits an n8n form (“Create a WordPress post with AI”). Along the way it connects OpenAI and Wordpress. It also calls pixabay.com over HTTP.
How it runs
Trigger: When someone submits an n8n form (“Create a WordPress post with AI”).
- HTTP Request: calls an HTTP API
- Extract Article Title & Body (HTML): parses or builds HTML
- Create post title and structure (OpenAI): uses OpenAI
- pixabayQuery (Edit Fields (Set)): sets 1 field: pixabayQuery
- Pixabay HTTP (HTTP Request): calls pixabay.com
- Download image (HTTP Request): calls an HTTP API
- Upload media (HTTP Request): calls an HTTP API (POST)
- Merge: merges the data from its input branches
- Create WordPress Draft Post (Wordpress): uses Wordpress
- Attach media (HTTP Request): calls an HTTP API (POST)
…plus 5 more steps. See the full node list below.
Services it uses
HTTP calls to: pixabay.com
Scraping pages by hand? Firecrawl is a simpler option (10% off for new users).
Before you upgrade to n8n 3.0
Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.
Nodes used (9)
- OpenAI
@n8n/n8n-nodes-langchain.openAi - n8n Form
n8n-nodes-base.form - HTTP Request
n8n-nodes-base.httpRequest - Edit Fields (Set)
n8n-nodes-base.set - Merge
n8n-nodes-base.merge - Wait
n8n-nodes-base.wait - n8n Form Trigger
n8n-nodes-base.formTrigger - HTML
n8n-nodes-base.html - Wordpress
n8n-nodes-base.wordpress
From the author
This workflow automates the creation of a draft article for a blog Use Cases Rapidly generate blog content from simple prompts. Ensure content consistency and speed up time-to-publish. Automatically source and attach relevant featured images. Save your…