{
  "name": "Create SEO blog posts with Gemini, DeepSeek and publish to WordPress",
  "nodes": [
    {
      "id": "4d2499a9-5fca-430c-b1c1-19dfd9524fd4",
      "name": "Workflow Instructions",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -224,
        -48
      ],
      "parameters": {
        "width": 612,
        "height": 1052,
        "content": "# Automated Blog Content Creation & Publishing\n\nThis workflow helps agencies and content teams automate their entire blog publishing process. It handles everything from keyword research to WordPress p"
      }
    },
    {
      "id": "54f8899e-148f-43b2-b689-98ec63bf67b1",
      "name": "Daily Blog Publishing Schedule",
      "type": "n8n-nodes-base.scheduleTrigger",
      "position": [
        416,
        352
      ]
    },
    {
      "id": "f04166f2-0b12-48a3-baa7-42ec3050ccea",
      "name": "Load Active Client Projects",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        640,
        352
      ]
    },
    {
      "id": "2c251de2-d752-4d59-9c1a-fff657de0a7e",
      "name": "Verify Publishing Day & Frequency",
      "type": "n8n-nodes-base.if",
      "position": [
        848,
        352
      ]
    },
    {
      "id": "409cf0b3-4632-4c27-9820-b6658ca88497",
      "name": "Process Each Client Project",
      "type": "n8n-nodes-base.splitInBatches",
      "position": [
        1152,
        336
      ]
    },
    {
      "id": "64b080a9-b6cb-4225-a720-627421368066",
      "name": "Get Approved Blog Topics from Sheet",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        1360,
        352
      ]
    },
    {
      "id": "f66c60a1-ab65-4c3a-bc54-6f2e4828d71c",
      "name": "Validate Focus Keyword Exists",
      "type": "n8n-nodes-base.if",
      "position": [
        1568,
        352
      ]
    },
    {
      "id": "601b04a9-dfb0-482d-a64b-399bd2b569fe",
      "name": "Select First Pending Topic",
      "type": "n8n-nodes-base.code",
      "position": [
        1824,
        336
      ]
    },
    {
      "id": "0c08f81d-1caf-4d48-bfc6-08878e7d2edb",
      "name": "Research Keyword & Topics",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        2096,
        336
      ]
    },
    {
      "id": "7fcf5603-6283-4580-80d9-a958dab54ccb",
      "name": "Generate SEO-Optimized Article",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        2480,
        336
      ]
    },
    {
      "id": "c72ed67b-1e84-4b4f-b8f6-6d303bbd032c",
      "name": "Extract Title & Body Content",
      "type": "n8n-nodes-base.code",
      "position": [
        2880,
        336
      ]
    },
    {
      "id": "237c9834-d7ec-44eb-8f53-336ce3644951",
      "name": "Prepare Blog Data for Publishing",
      "type": "n8n-nodes-base.set",
      "position": [
        3088,
        336
      ]
    },
    {
      "id": "4f58c6cb-1115-4f78-a03f-de2354ffb468",
      "name": "Trigger WordPress Publishing Workflow",
      "type": "n8n-nodes-base.executeWorkflow",
      "position": [
        3312,
        336
      ]
    },
    {
      "id": "5ca55d4f-1205-48f3-81a2-335655701356",
      "name": "Gemini - Content Writing Model",
      "type": "@n8n/n8n-nodes-langchain.lmChatGoogleGemini",
      "position": [
        2480,
        624
      ]
    },
    {
      "id": "1d6bcd54-e57a-4d4a-998e-1c54454996ba",
      "name": "DeepSeek - Research Model",
      "type": "@n8n/n8n-nodes-langchain.lmChatDeepSeek",
      "position": [
        2096,
        640
      ]
    },
    {
      "id": "c5659bb0-e387-4ebf-b7e7-3f2f8bfa33ec",
      "name": "Perplexity - Web Search Tool",
      "type": "n8n-nodes-base.perplexityTool",
      "position": [
        2240,
        640
      ]
    },
    {
      "id": "de740781-a712-42c6-af1d-0c23ab7275c2",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        416,
        144
      ],
      "parameters": {
        "width": 528,
        "height": 256,
        "content": "## Project Scheduling & Validation\n\nRuns daily at 7 AM to load active client projects and verify which clients should publish today based on their weekly frequency settings\n"
      }
    },
    {
      "id": "324aa406-ce19-4034-8112-e35c0de327ed",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1152,
        144
      ],
      "parameters": {
        "width": 768,
        "height": 240,
        "content": "## Client Data Processing\n\nLoops through each client project, fetches approved blog topics from their Google Sheet, validates keyword data, and selects the first pending topic for content creation\n"
      }
    },
    {
      "id": "90c2d705-e221-4685-99ae-b95811525ae9",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2096,
        144
      ],
      "parameters": {
        "width": 608,
        "height": 240,
        "content": "## AI-Powered Content Creation\n\nUses Perplexity for web research, DeepSeek for competitor analysis, and Google Gemini to write an 800-1000 word SEO-optimized article with FAQs and internal links\n"
      }
    },
    {
      "id": "0115ac5a-be81-4d5b-976a-f343106ed2a3",
      "name": "Sticky Note3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2880,
        144
      ],
      "parameters": {
        "width": 304,
        "height": 240,
        "content": "## Content Formatting\n\nExtracts the H1 title from generated HTML, removes it from body content, and prepares all blog data for WordPress publishing\n"
      }
    },
    {
      "id": "a43687ec-4fd7-4426-bd4e-0d1588e374fb",
      "name": "Sticky Note4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        3264,
        144
      ],
      "parameters": {
        "width": 256,
        "height": 240,
        "content": "## WordPress Publishing\n\nSends prepared blog content to a sub-workflow that handles WordPress posting with featured images and category assignment\n"
      }
    }
  ],
  "connections": {
    "DeepSeek - Research Model": {
      "ai_languageModel": [
        [
          {
            "node": "Research Keyword & Topics",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Research Keyword & Topics": {
      "main": [
        [
          {
            "node": "Generate SEO-Optimized Article",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Select First Pending Topic": {
      "main": [
        [
          {
            "node": "Research Keyword & Topics",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Load Active Client Projects": {
      "main": [
        [
          {
            "node": "Verify Publishing Day & Frequency",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Process Each Client Project": {
      "main": [
        [],
        [
          {
            "node": "Get Approved Blog Topics from Sheet",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Extract Title & Body Content": {
      "main": [
        [
          {
            "node": "Prepare Blog Data for Publishing",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Perplexity - Web Search Tool": {
      "ai_tool": [
        [
          {
            "node": "Research Keyword & Topics",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Validate Focus Keyword Exists": {
      "main": [
        [
          {
            "node": "Select First Pending Topic",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Process Each Client Project",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Daily Blog Publishing Schedule": {
      "main": [
        [
          {
            "node": "Load Active Client Projects",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Gemini - Content Writing Model": {
      "ai_languageModel": [
        [
          {
            "node": "Generate SEO-Optimized Article",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Generate SEO-Optimized Article": {
      "main": [
        [
          {
            "node": "Extract Title & Body Content",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Prepare Blog Data for Publishing": {
      "main": [
        [
          {
            "node": "Trigger WordPress Publishing Workflow",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Verify Publishing Day & Frequency": {
      "main": [
        [
          {
            "node": "Process Each Client Project",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get Approved Blog Topics from Sheet": {
      "main": [
        [
          {
            "node": "Validate Focus Keyword Exists",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Trigger WordPress Publishing Workflow": {
      "main": [
        [
          {
            "node": "Process Each Client Project",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}