This workflow corresponds to n8n.io template #6117 — we link there as the canonical source.
This workflow follows the Agent → Agenttool recipe pattern — see all workflows that pair these two integrations.
The workflow JSON
Copy or download the full n8n JSON below. Paste it into a new n8n workflow, add your credentials, activate. Full import guide →
{
"nodes": [
{
"id": "d4fdd26d-997c-42a7-9121-6db6835c70ac",
"name": "Structured Output Parser1",
"type": "@n8n/n8n-nodes-langchain.outputParserStructured",
"position": [
3856,
224
],
"parameters": {},
"typeVersion": 1.2
},
{
"id": "bd66162c-39be-432e-ab78-29ab854029d4",
"name": "Set Featured Image",
"type": "n8n-nodes-base.httpRequest",
"position": [
3760,
736
],
"parameters": {},
"typeVersion": 4.2
},
{
"id": "ecfd7377-e112-45bb-b6c7-2ec5329d83bf",
"name": "Generate Featured Image",
"type": "@n8n/n8n-nodes-langchain.openAi",
"position": [
2768,
768
],
"parameters": {},
"typeVersion": 1.8
},
{
"id": "fd210bab-5724-4204-ae1f-53527d05af62",
"name": "Resize Image",
"type": "n8n-nodes-base.editImage",
"position": [
2976,
736
],
"parameters": {},
"typeVersion": 1
},
{
"id": "169121da-6ea9-4805-afa0-356d4a032050",
"name": "Upload Image To WP",
"type": "n8n-nodes-base.httpRequest",
"position": [
3152,
736
],
"parameters": {},
"typeVersion": 4.2
},
{
"id": "a01a6d99-add3-4720-b973-c3569994253a",
"name": "Update Meta Data1",
"type": "n8n-nodes-base.httpRequest",
"position": [
3328,
736
],
"parameters": {},
"typeVersion": 4.2
},
{
"id": "258ca538-fe74-4a89-8332-3ed45bae51ee",
"name": "Check ready for publish",
"type": "n8n-nodes-base.if",
"position": [
368,
992
],
"parameters": {},
"typeVersion": 2.2
},
{
"id": "f186e126-c145-4497-916d-891f2b0549fa",
"name": "Not Ready",
"type": "n8n-nodes-base.stopAndError",
"position": [
640,
1216
],
"parameters": {},
"typeVersion": 1
},
{
"id": "04d953e7-a1ff-4958-b254-dfd9ee26ef9a",
"name": "Sticky Note5",
"type": "n8n-nodes-base.stickyNote",
"position": [
1920,
-32
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "bcd1bdbe-6683-4212-8e7b-1bd840d430a9",
"name": "OpenAI Chat Model",
"type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
"position": [
1952,
208
],
"parameters": {},
"typeVersion": 1.2
},
{
"id": "84493b64-3a56-4580-ab99-09a892fa85d4",
"name": "On form submission",
"type": "n8n-nodes-base.formTrigger",
"position": [
384,
112
],
"parameters": {},
"typeVersion": 2.2
},
{
"id": "16bf5919-2909-40ae-89ee-0cd195863aa7",
"name": "If",
"type": "n8n-nodes-base.if",
"position": [
2512,
896
],
"parameters": {},
"typeVersion": 2.2
},
{
"id": "c7d1a01f-ea0e-422b-abcb-81499d5e8f5b",
"name": "GetOnilneInfo",
"type": "@n8n/n8n-nodes-langchain.agent",
"position": [
1440,
144
],
"parameters": {},
"typeVersion": 2
},
{
"id": "f6faff42-8371-4a21-83d8-ac5b0a631d0a",
"name": "Sticky Note8",
"type": "n8n-nodes-base.stickyNote",
"position": [
1376,
-32
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "50589024-310e-4839-a38d-3e1be3d50207",
"name": "Sticky Note9",
"type": "n8n-nodes-base.stickyNote",
"position": [
2880,
640
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "d4efeb6f-0c91-4391-b2d6-84ed3603338e",
"name": "Sticky Note10",
"type": "n8n-nodes-base.stickyNote",
"position": [
2448,
640
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "27003b91-07fb-4188-a90e-7c6a80caa73b",
"name": "configuration",
"type": "n8n-nodes-base.set",
"position": [
1152,
144
],
"parameters": {},
"typeVersion": 3.4
},
{
"id": "91c77456-81d6-4397-9e9a-3651c56b0ba7",
"name": "Sticky Note13",
"type": "n8n-nodes-base.stickyNote",
"position": [
1072,
-32
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "e6aef442-eafc-4ba3-b114-b6be20cff7e7",
"name": "Internal Links",
"type": "n8n-nodes-base.httpRequestTool",
"position": [
3088,
400
],
"parameters": {},
"typeVersion": 4.2
},
{
"id": "79e017e1-429d-446e-b947-1414a42e36ad",
"name": "OpenRouter Chat Model",
"type": "@n8n/n8n-nodes-langchain.lmChatOpenRouter",
"position": [
1440,
384
],
"parameters": {},
"typeVersion": 1
},
{
"id": "63a92864-d155-4517-a421-338e420f5826",
"name": "Post Blog To WP-without image",
"type": "n8n-nodes-base.wordpress",
"position": [
2960,
1088
],
"parameters": {},
"typeVersion": 1
},
{
"id": "068a7b0a-f695-45b0-9def-a62f8ea8b56a",
"name": "Post Blog To WP- with image",
"type": "n8n-nodes-base.wordpress",
"position": [
3536,
736
],
"parameters": {},
"typeVersion": 1
},
{
"id": "4b867ab4-ddc0-4fe5-89f4-c731e16d6eee",
"name": "OutlinePlanner",
"type": "@n8n/n8n-nodes-langchain.agentTool",
"position": [
2080,
208
],
"parameters": {},
"typeVersion": 2.2
},
{
"id": "9ea490a5-4c01-4871-b19d-386653ead6fb",
"name": "OpenAI Chat Model1",
"type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
"position": [
2080,
400
],
"parameters": {},
"typeVersion": 1.2
},
{
"id": "7f8799a9-9a20-4bb6-9504-64dd4a3f0878",
"name": "SectionWriter",
"type": "@n8n/n8n-nodes-langchain.agentTool",
"position": [
2656,
208
],
"parameters": {},
"typeVersion": 2.2
},
{
"id": "62d18269-74a4-476e-ad82-bee3d47b5eb1",
"name": "createSections",
"type": "@n8n/n8n-nodes-langchain.agentTool",
"position": [
2368,
208
],
"parameters": {},
"typeVersion": 2.2
},
{
"id": "abf4de70-7302-455b-bebf-074904d9d6b3",
"name": "Editor",
"type": "@n8n/n8n-nodes-langchain.agentTool",
"position": [
2944,
208
],
"parameters": {},
"typeVersion": 2.2
},
{
"id": "8961b71e-6614-4c21-97df-96082e7e4de9",
"name": "Image Prompt",
"type": "@n8n/n8n-nodes-langchain.agentTool",
"position": [
3232,
208
],
"parameters": {},
"typeVersion": 2.2
},
{
"id": "4e25a58b-1748-4155-80b2-edbfde3c6dc8",
"name": "metaInfo",
"type": "@n8n/n8n-nodes-langchain.agentTool",
"position": [
3520,
208
],
"parameters": {},
"typeVersion": 2.2
},
{
"id": "d99b4118-11c1-4792-bd9e-14b8aea4c099",
"name": "Structured Output Parser2",
"type": "@n8n/n8n-nodes-langchain.outputParserStructured",
"position": [
3392,
416
],
"parameters": {},
"typeVersion": 1.2
},
{
"id": "b15eff0e-281e-41cc-a47d-dd85b0e025f6",
"name": "Set excerpt",
"type": "n8n-nodes-base.httpRequest",
"position": [
4000,
736
],
"parameters": {},
"typeVersion": 4.2
},
{
"id": "f8b261c1-ba5d-4506-9f06-14d90c81eadc",
"name": "Set excerpt3",
"type": "n8n-nodes-base.httpRequest",
"position": [
3184,
1088
],
"parameters": {},
"typeVersion": 4.2
},
{
"id": "f391e9b7-2b71-485d-bf5c-bc7dad189246",
"name": "Structured Output Parser3",
"type": "@n8n/n8n-nodes-langchain.outputParserStructured",
"position": [
3840,
416
],
"parameters": {},
"typeVersion": 1.3
},
{
"id": "c25a2023-34bf-49de-8378-909910cce3ba",
"name": "getCategories",
"type": "n8n-nodes-base.httpRequestTool",
"position": [
3696,
416
],
"parameters": {},
"typeVersion": 4.2
},
{
"id": "7c07f889-5c7e-42ae-b51e-0d0ba2b30f93",
"name": "set-tags",
"type": "n8n-nodes-base.httpRequest",
"position": [
2080,
1120
],
"parameters": {},
"typeVersion": 4.2
},
{
"id": "fe481ee9-1889-460b-a9d6-6295733be7b0",
"name": "get-tags",
"type": "n8n-nodes-base.httpRequest",
"position": [
1632,
960
],
"parameters": {},
"typeVersion": 4.2,
"alwaysOutputData": true
},
{
"id": "310d5999-e470-4359-9586-7776a9bfde62",
"name": "Split Out",
"type": "n8n-nodes-base.splitOut",
"position": [
1200,
928
],
"parameters": {},
"typeVersion": 1
},
{
"id": "015e32a0-9a29-40da-b597-d19b049d8a50",
"name": "Loop Over Items",
"type": "n8n-nodes-base.splitInBatches",
"position": [
1424,
928
],
"parameters": {},
"typeVersion": 3
},
{
"id": "2f7cce79-7196-47e4-9eb8-49d5997d36c1",
"name": "Check-Existence",
"type": "n8n-nodes-base.if",
"position": [
1872,
960
],
"parameters": {},
"typeVersion": 2.2
},
{
"id": "bf3ed320-9d92-493f-91bb-6df9ca04b5cd",
"name": "getID",
"type": "n8n-nodes-base.set",
"position": [
2192,
928
],
"parameters": {},
"typeVersion": 3.4
},
{
"id": "afb34371-75e5-4962-a075-415c320e76d2",
"name": "getID1",
"type": "n8n-nodes-base.set",
"position": [
2304,
1200
],
"parameters": {},
"typeVersion": 3.4
},
{
"id": "08d914f8-a0ff-4c31-bf1d-96c7c87996dd",
"name": "Structured Output Parser4",
"type": "@n8n/n8n-nodes-langchain.outputParserStructured",
"position": [
1040,
1248
],
"parameters": {},
"typeVersion": 1.2
},
{
"id": "95772f26-5d97-45b1-9f11-32ed48928d61",
"name": "OpenAI Chat Model8",
"type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
"position": [
800,
1248
],
"parameters": {},
"typeVersion": 1.2
},
{
"id": "18f0e7f8-ae2c-4500-b1bc-63f1cd23c9af",
"name": "Tags",
"type": "n8n-nodes-base.aggregate",
"position": [
1920,
640
],
"parameters": {},
"typeVersion": 1
},
{
"id": "fe4837dd-033f-4a65-a209-a3575345fd41",
"name": "Tags Agent",
"type": "@n8n/n8n-nodes-langchain.agent",
"position": [
832,
960
],
"parameters": {},
"typeVersion": 2
},
{
"id": "facdf535-3a33-4005-bbb7-965264405893",
"name": "Orchestration Agent",
"type": "@n8n/n8n-nodes-langchain.agent",
"maxTries": 5,
"position": [
2848,
0
],
"parameters": {},
"executeOnce": true,
"retryOnFail": true,
"typeVersion": 2
},
{
"id": "0bb310e0-eb3a-4098-89f7-7ce4089df6c2",
"name": "Schedule Trigger",
"type": "n8n-nodes-base.scheduleTrigger",
"position": [
384,
336
],
"parameters": {},
"typeVersion": 1.2
},
{
"id": "30bf831d-6917-44c3-a897-74c5acebac29",
"name": "Get row(s) in sheet",
"type": "n8n-nodes-base.googleSheets",
"position": [
768,
320
],
"parameters": {},
"typeVersion": 4.7
},
{
"id": "007443f5-8b96-4b83-afa5-854c3103686f",
"name": "OpenAI Chat Model2",
"type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
"position": [
2352,
400
],
"parameters": {},
"typeVersion": 1.2
},
{
"id": "381172a2-9c0d-43a3-93b0-fdd60a1f05f0",
"name": "OpenAI Chat Model3",
"type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
"position": [
2656,
416
],
"parameters": {},
"typeVersion": 1.2
},
{
"id": "60fc294c-ab5c-44ea-9f9d-48fe337c7bde",
"name": "OpenAI Chat Model4",
"type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
"position": [
2896,
400
],
"parameters": {},
"typeVersion": 1.2
},
{
"id": "8c2af324-59b5-4429-8fea-38d0d0ada268",
"name": "OpenAI Chat Model5",
"type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
"position": [
3232,
416
],
"parameters": {},
"typeVersion": 1.2
},
{
"id": "c412fb62-0f90-47f5-afa3-6bd6a2cca237",
"name": "OpenAI Chat Model6",
"type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
"position": [
3552,
400
],
"parameters": {},
"typeVersion": 1.2
},
{
"id": "15f7bdbf-52ee-46a4-954d-a12fd2bc226d",
"name": "Sticky Note",
"type": "n8n-nodes-base.stickyNote",
"position": [
336,
640
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "21b565d5-bc01-4bd2-92dc-f6002f554e90",
"name": "Sticky Note1",
"type": "n8n-nodes-base.stickyNote",
"position": [
336,
-32
],
"parameters": {
"content": ""
},
"typeVersion": 1
}
],
"connections": {
"If": {
"main": [
[
{
"node": "Generate Featured Image",
"type": "main",
"index": 0
}
],
[
{
"node": "Post Blog To WP-without image",
"type": "main",
"index": 0
}
]
]
},
"Tags": {
"main": [
[
{
"node": "If",
"type": "main",
"index": 0
}
]
]
},
"getID": {
"main": [
[
{
"node": "Loop Over Items",
"type": "main",
"index": 0
}
]
]
},
"Editor": {
"ai_tool": [
[
{
"node": "Orchestration Agent",
"type": "ai_tool",
"index": 0
}
]
]
},
"getID1": {
"main": [
[
{
"node": "Loop Over Items",
"type": "main",
"index": 0
}
]
]
},
"get-tags": {
"main": [
[
{
"node": "Check-Existence",
"type": "main",
"index": 0
}
]
]
},
"metaInfo": {
"ai_tool": [
[
{
"node": "Orchestration Agent",
"type": "ai_tool",
"index": 0
}
]
]
},
"set-tags": {
"main": [
[
{
"node": "getID1",
"type": "main",
"index": 0
}
]
]
},
"Split Out": {
"main": [
[
{
"node": "Loop Over Items",
"type": "main",
"index": 0
}
]
]
},
"Tags Agent": {
"main": [
[
{
"node": "Split Out",
"type": "main",
"index": 0
}
]
]
},
"Image Prompt": {
"ai_tool": [
[
{
"node": "Orchestration Agent",
"type": "ai_tool",
"index": 0
}
]
]
},
"Resize Image": {
"main": [
[
{
"node": "Upload Image To WP",
"type": "main",
"index": 0
}
]
]
},
"GetOnilneInfo": {
"main": [
[
{
"node": "Orchestration Agent",
"type": "main",
"index": 0
}
]
]
},
"SectionWriter": {
"ai_tool": [
[
{
"node": "Orchestration Agent",
"type": "ai_tool",
"index": 0
}
]
]
},
"configuration": {
"main": [
[
{
"node": "GetOnilneInfo",
"type": "main",
"index": 0
}
]
]
},
"getCategories": {
"ai_tool": [
[
{
"node": "metaInfo",
"type": "ai_tool",
"index": 0
}
]
]
},
"Internal Links": {
"ai_tool": [
[
{
"node": "Editor",
"type": "ai_tool",
"index": 0
}
]
]
},
"OutlinePlanner": {
"ai_tool": [
[
{
"node": "Orchestration Agent",
"type": "ai_tool",
"index": 0
}
]
]
},
"createSections": {
"ai_tool": [
[
{
"node": "Orchestration Agent",
"type": "ai_tool",
"index": 0
}
]
]
},
"Check-Existence": {
"main": [
[
{
"node": "getID",
"type": "main",
"index": 0
}
],
[
{
"node": "set-tags",
"type": "main",
"index": 0
}
]
]
},
"Loop Over Items": {
"main": [
[
{
"node": "Tags",
"type": "main",
"index": 0
}
],
[
{
"node": "get-tags",
"type": "main",
"index": 0
}
]
]
},
"Schedule Trigger": {
"main": [
[
{
"node": "Get row(s) in sheet",
"type": "main",
"index": 0
}
]
]
},
"OpenAI Chat Model": {
"ai_languageModel": [
[
{
"node": "Orchestration Agent",
"type": "ai_languageModel",
"index": 0
}
]
]
},
"Update Meta Data1": {
"main": [
[
{
"node": "Post Blog To WP- with image",
"type": "main",
"index": 0
}
]
]
},
"On form submission": {
"main": [
[
{
"node": "configuration",
"type": "main",
"index": 0
}
]
]
},
"OpenAI Chat Model1": {
"ai_languageModel": [
[
{
"node": "OutlinePlanner",
"type": "ai_languageModel",
"index": 0
}
]
]
},
"OpenAI Chat Model2": {
"ai_languageModel": [
[
{
"node": "createSections",
"type": "ai_languageModel",
"index": 0
}
]
]
},
"OpenAI Chat Model3": {
"ai_languageModel": [
[
{
"node": "SectionWriter",
"type": "ai_languageModel",
"index": 0
}
]
]
},
"OpenAI Chat Model4": {
"ai_languageModel": [
[
{
"node": "Editor",
"type": "ai_languageModel",
"index": 0
}
]
]
},
"OpenAI Chat Model5": {
"ai_languageModel": [
[
{
"node": "Image Prompt",
"type": "ai_languageModel",
"index": 0
}
]
]
},
"OpenAI Chat Model6": {
"ai_languageModel": [
[
{
"node": "metaInfo",
"type": "ai_languageModel",
"index": 0
}
]
]
},
"OpenAI Chat Model8": {
"ai_languageModel": [
[
{
"node": "Tags Agent",
"type": "ai_languageModel",
"index": 0
}
]
]
},
"Set Featured Image": {
"main": [
[
{
"node": "Set excerpt",
"type": "main",
"index": 0
}
]
]
},
"Upload Image To WP": {
"main": [
[
{
"node": "Update Meta Data1",
"type": "main",
"index": 0
}
]
]
},
"Get row(s) in sheet": {
"main": [
[
{
"node": "configuration",
"type": "main",
"index": 0
}
]
]
},
"OpenRouter Chat Model": {
"ai_languageModel": [
[
{
"node": "GetOnilneInfo",
"type": "ai_languageModel",
"index": 0
}
]
]
},
"Check ready for publish": {
"main": [
[
{
"node": "Tags Agent",
"type": "main",
"index": 0
}
],
[
{
"node": "Not Ready",
"type": "main",
"index": 0
}
]
]
},
"Generate Featured Image": {
"main": [
[
{
"node": "Resize Image",
"type": "main",
"index": 0
}
]
]
},
"Orchestration Agent": {
"main": [
[
{
"node": "Check ready for publish",
"type": "main",
"index": 0
}
]
]
},
"Structured Output Parser1": {
"ai_outputParser": [
[
{
"node": "Orchestration Agent",
"type": "ai_outputParser",
"index": 0
}
]
]
},
"Structured Output Parser2": {
"ai_outputParser": [
[
{
"node": "Image Prompt",
"type": "ai_outputParser",
"index": 0
}
]
]
},
"Structured Output Parser3": {
"ai_outputParser": [
[
{
"node": "metaInfo",
"type": "ai_outputParser",
"index": 0
}
]
]
},
"Structured Output Parser4": {
"ai_outputParser": [
[
{
"node": "Tags Agent",
"type": "ai_outputParser",
"index": 0
}
]
]
},
"Post Blog To WP- with image": {
"main": [
[
{
"node": "Set Featured Image",
"type": "main",
"index": 0
}
]
]
},
"Post Blog To WP-without image": {
"main": [
[
{
"node": "Set excerpt3",
"type": "main",
"index": 0
}
]
]
}
}
}
For the full experience including quality scoring and batch install features for each workflow upgrade to Pro
About this workflow
🧠 Automate end-to-end SEO blog creation and WordPress publishing using a GPT-5 multi-agent workflow with real-time research, metadata generation, and optional featured images.
Source: https://n8n.io/workflows/6117/ — original creator credit. Request a take-down →
Related workflows
Workflows that share integrations, category, or trigger type with this one. All free to copy and import.
🎯 Create viral TikToks, Shorts, Reels, podcasts, and ASMR videos in minutes — all on autopilot.
Generate AI viral videos with NanoBanana & VEO3, shared on socials via Blotato 2. Uses @blotato/n8n-nodes-blotato, googleSheets, lmChatOpenAi, toolThink. Event-driven trigger; 94 nodes.
The AI-Powered Shopify SEO Content Automation is an enterprise-grade workflow that transforms product content creation for e-commerce stores. This sophisticated multi-agent system integrates GPT-4o, C
How it Works
The best content automation template in the market is now even better—with “deep research” on time-sensitive topics\! Unlike most n8n content automation templates that are mainly for “demo purposes,”