{ "id": "YOUR_WORKFLOW_ID", "meta": { "instanceId": "YOUR_INSTANCE_ID", "templateCredsSetupCompleted": true }, "name": "Automated Content Generation & Publishing - Wordpress", "tags": [], "nodes": [ { "id": "9cd63357-19dc-4420-baa9-1e1389c7120f", "name": "Create posts on Wordpress", "type": "n8n-nodes-base.wordpress", "position": [ 1180, 280 ], "parameters": { "title": "={{ $('Save to Sheet').item.json['title'] }}", "additionalFields": { "status": "publish", "content": "=\"image

\n

\n{{ $node['Save to Sheet'].json['content'] }}" } }, "credentials": { "wordpressApi": { "id": "YOUR_WORDPRESS_CREDENTIAL_ID", "name": "Wordpress account 2" } }, "typeVersion": 1, "alwaysOutputData": false }, { "id": "65f62f19-d10f-4ca1-a853-9cedb3506743", "name": "Processing Delay", "type": "n8n-nodes-base.code", "position": [ 180, 580 ], "parameters": { "jsCode": "const delay = Math.floor(Math.random() * (6 * 60 * 60 * 1000)); // random delay 0-6 hour\nreturn {\n json: {\n delay: delay,\n delay_minutes: Math.round(delay / 60000), // to minutes\n delay_hours: (delay / 3600000).toFixed(2) // to hours\n }\n};\n" }, "typeVersion": 2 }, { "id": "193d2876-c50e-4b9e-8856-9fd11baa025e", "name": "Random Wait", "type": "n8n-nodes-base.wait", "position": [ 180, 760 ], "webhookId": "61377399-ce9f-497a-80b1-aab29fc9fb69", "parameters": { "amount": "={{$json[\"delay\"] / 1000}}" }, "typeVersion": 1.1 }, { "id": "cf510c21-7c19-4e84-a43a-62d170277cdf", "name": "Save to Sheet", "type": "n8n-nodes-base.googleSheets", "position": [ 780, 280 ], "parameters": { "columns": { "value": { "title": "={{ $json.message.content.title }}", "content": "={{ $json.message.content.content }}", "Image search keyword": "={{ $json.message.content.keywords.join(\"+\") }}" }, "schema": [ { "id": "title", "type": "string", "display": true, "removed": false, "required": false, "displayName": "title", "defaultMatch": false, "canBeUsedToMatch": true }, { "id": "content", "type": "string", "display": true, "required": false, "displayName": "content", "defaultMatch": false, "canBeUsedToMatch": true }, { "id": "Image search keyword", "type": "string", "display": true, "required": false, "displayName": "Image search keyword", "defaultMatch": false, "canBeUsedToMatch": true } ], "mappingMode": "defineBelow", "matchingColumns": [] }, "options": {}, "operation": "append", "sheetName": { "__rl": true, "mode": "name", "value": "Sheet1" }, "documentId": { "__rl": true, "mode": "url", "value": "YOURDOCUMENT_URL" } }, "credentials": { "googleSheetsOAuth2Api": { "id": "YOUR_GOOGLE_SHEETS_CREDENTIAL_ID", "name": "Google Sheets account_正確" } }, "typeVersion": 4.5 }, { "id": "1778f649-c09e-4ef9-b153-4160eed6805c", "name": "Sticky Note", "type": "n8n-nodes-base.stickyNote", "position": [ -220, 0 ], "parameters": { "width": 607.503259452412, "height": 892.7656453715782, "content": "## Automated Article Scheduling\n\n**1. Fast Bulk Article Generation**\nQuickly create multiple AI-generated articles.\nEfficiently streamline content creation.\nReduces manual effort while maintaining quality.\n\n**2. Workflow Testing Before Execution**\nManually test the workflow for debugging.\nEnsure each step runs as expected.\nOptimize before full automation.\n\n**3. Automated & Randomized Publishing**\nSchedule posts at predefined intervals.\nIntroduce random delays for a natural posting pattern.\nPrevents overly predictable publishing behavior." }, "typeVersion": 1 }, { "id": "6f385e8c-b3e6-4456-9738-e85ea2cbbea1", "name": "1. Auto Start", "type": "n8n-nodes-base.scheduleTrigger", "disabled": true, "position": [ 180, 20 ], "parameters": { "rule": { "interval": [ { "field": "minutes", "minutesInterval": 1 } ] } }, "typeVersion": 1.2 }, { "id": "6d7712e8-9033-453b-ad52-09f718bcb701", "name": "2. When clicking ‘Test workflow’", "type": "n8n-nodes-base.manualTrigger", "disabled": true, "position": [ 180, 200 ], "parameters": {}, "typeVersion": 1 }, { "id": "0fd8fe8f-a0d5-42d9-b728-53340c6e4233", "name": "3. Schedule Your Posts", "type": "n8n-nodes-base.scheduleTrigger", "position": [ 180, 380 ], "parameters": { "rule": { "interval": [ { "field": "weeks", "triggerAtDay": [ 2, 4, 0 ], "triggerAtHour": "={{ 12 }}" } ] } }, "typeVersion": 1.2 }, { "id": "16c26c36-fb8e-4903-a64c-57803fac83b9", "name": "Sticky Note1", "type": "n8n-nodes-base.stickyNote", "position": [ 400, 440 ], "parameters": { "width": 351.77682676671327, "height": 271.4285686334568, "content": "## AI Content Generating\n\n**Automatic Content & Keyword Generation\n\n- Use your own prompt to start\n- ChatGPT generates full-length articles with structured headings.\n- Extracts relevant image search keywords for visual enhancement.\n- To implement this, add the following prompt (green note) below your workflow:\n" }, "typeVersion": 1 }, { "id": "921173fb-ae10-4f88-a1ab-15f063cd623f", "name": "Sticky Note2", "type": "n8n-nodes-base.stickyNote", "position": [ 400, 740 ], "parameters": { "color": 4, "width": 349.47344203333904, "height": 1277.4269457977707, "content": "(YOUR PROMPT)\n\n**Image Search Keywords (For Visual Alignment)**\n\n- Automatically generates 3-5 English keywords for image searches based on the article content.\n- Keywords should be specific objects, locations, or atmospheres rather than abstract concepts.\n\n**Article Formatting Requirements**\n\n1️⃣ Title (H1): Ensure unique and trend-driven headlines.\n2️⃣ H2 / H3 Subheadings: Structure content in an SEO-optimized format.\n3️⃣ Article Structure (Enhanced Readability)\n\n** Introduction **\n- Go straight to the point, avoiding excessive background.\n- Use question hooks or market trend data to engage readers.\n\n** Core Content **\n- Include at least three knowledge points to ensure depth.\n- Balance short and long sentences for better flow.\n\n** Conclusion **\n- Avoid generic AI-style summaries; instead, provide insights or actionable takeaways.\n- Optionally include a CTA (Call to Action).\n\n** HTML Formatting **\nEnsure the article is properly structured in HTML format:\n- Headings: Use

,

,

appropriately.\n- Paragraphs: Enclose text within

.\n- Emphasized Words: Use to highlight key terms.\n- Lists: Use