Automatic blog post generation from WooCommerce products with GPT-4.1-mini
Ready for 3.0Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-10-19.
What this workflow does
This AI workflow has 7 nodes and runs on a schedule (every 6 hours). Along the way it connects OpenAI.
How it runs
Trigger: On a schedule (every 6 hours).
- Pull Woocommerce Product (HTTP Request): calls an HTTP API
- Sort: sorts the items
- Return Only One (Code): runs custom JavaScript code
- Create Blog Post About Product Selected Via GPT-4.1-MINI (OpenAI): uses OpenAI
- Format Post For Publishing (Code): runs custom JavaScript code
- Publish to Wordpress (HTTP Request): calls an HTTP API (POST)
Services it uses
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 (5)
- Schedule Trigger
n8n-nodes-base.scheduleTrigger - HTTP Request
n8n-nodes-base.httpRequest - OpenAI
@n8n/n8n-nodes-langchain.openAi - Code
n8n-nodes-base.code - Sort
n8n-nodes-base.sort
From the author
What it does This workflow automatically creates and publishes engaging blog posts for products in your WooCommerce store using OpenAI. Every 6 hours (schedule adjustable), it randomly selects a product from your store, generates a fun, curiosity-driven post,…