Publish weekly family history stories with GPT-4, Pinecone and WordPress
Needs changesNeeds changes. This template uses 1 thing(s) that n8n 3.0 removes: AI Agent v1 (old agent modes). 1 breaking item(s) found. Static check, last run 2026-10-19.
What this workflow does
This AI workflow has 13 nodes and runs on a schedule (every day). Along the way it connects OpenAI Chat Model, Pinecone Vector Store, Embeddings OpenAI and Wordpress and 2 more.
How it runs
Trigger: On a schedule (every day).
- AI Story Generation Agent (AI Agent): runs an AI agent, with model: OpenAI GPT-4 Story Agent; 1 tool (Access Family Database Tool); memory: Manage Session Memory
- Parse Story Title and Content (Code): runs custom JavaScript code
- Post to WordPress (Wordpress): uses Wordpress
- Create Featured Image (Google Gemini): uses Google Gemini
- Upload Image to WP Media (HTTP Request): calls an HTTP API
- Assign WP Featured Image (HTTP Request): calls an HTTP API
Services it uses
Before you upgrade to n8n 3.0
1 thing in this workflow is removed in n8n 3.0. Fix it before you upgrade:
- AI Agent v1 (old agent modes) in AI Story Generation Agent (v1.6): replace with Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent.
| Removed in 3.0 | Replace with |
|---|---|
| AI Agent v1 (old agent modes) AI Story Generation Agent (v1.6) | Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent. |
Nodes used (11)
- OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - Simple Memory
@n8n/n8n-nodes-langchain.memoryBufferWindow - Code
n8n-nodes-base.code - Pinecone Vector Store
@n8n/n8n-nodes-langchain.vectorStorePinecone - Embeddings OpenAI
@n8n/n8n-nodes-langchain.embeddingsOpenAi - Wordpress
n8n-nodes-base.wordpress - HTTP Request
n8n-nodes-base.httpRequest - Google Gemini
@n8n/n8n-nodes-langchain.googleGemini - Schedule Trigger
n8n-nodes-base.scheduleTrigger - AI Agent
@n8n/n8n-nodes-langchain.agent - Vector Store Question Answer Tool
@n8n/n8n-nodes-langchain.toolVectorStore
From the author
Quick Overview This workflow runs weekly to generate an AI-written family-history short story using OpenAI with Pinecone document retrieval, then publishes the HTML story to WordPress and creates a Google Gemini featured image that is uploaded and set on the…