Draft weekly SEO blogs and social posts with OpenAI, Google Sheets and WordPress
Ready for 3.0What this workflow does
This AI workflow has 16 nodes and runs on a schedule (every week at 07:00) (plus 1 other trigger). Along the way it connects OpenAI Chat Model, Google Sheets, Gmail and Wordpress.
How it runs
Trigger: On a schedule (every week at 07:00) (plus 1 other trigger).
- CONFIG - Content (Edit Fields (Set)): sets 7 fields: business_name, niche, service_area…
- CONFIG - Content (Schedule) (Edit Fields (Set)): sets 7 fields: business_name, niche, service_area…
- Build Content Brief - Code (Code): runs custom JavaScript code
- Get Drafts - Sheets (Google Sheets): read (sheet)
- Write Blog Draft - AI Agent (AI Agent): runs an AI agent, with model: Chat Model - Blog
- Filter Approved - Code (Code): runs custom JavaScript code
- Save Draft - Sheets (Google Sheets): append (sheet)
- Repurpose to Social - AI Agent (AI Agent): runs an AI agent, with model: Chat Model - Social
- Email Draft - Gmail (Gmail): send (message)
- Save Social Posts - Sheets (Google Sheets): append (sheet)
…plus 2 more steps. See the full node list below.
Services it uses
Other Google Sheets + Gmail templates (2,102) · Other OpenAI + Google Sheets templates (2,011) · Other OpenAI + Gmail templates (1,623)
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 (8)
- Schedule Trigger
n8n-nodes-base.scheduleTrigger - Edit Fields (Set)
n8n-nodes-base.set - Code
n8n-nodes-base.code - AI Agent
@n8n/n8n-nodes-langchain.agent - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - Google Sheets
n8n-nodes-base.googleSheets - Gmail
n8n-nodes-base.gmail - Wordpress
n8n-nodes-base.wordpress
From the author
Quick overview This workflow runs two weekly schedules to draft an SEO blog post with OpenAI, store it in Google Sheets, and email it for approval, then repurposes approved drafts into social copy, saves it to Sheets, and creates a WordPress post in draft…