{
  "name": "Automate blog content creation from topics to WordPress with AI, Google Drive & Sheets",
  "nodes": [
    {
      "id": "4a785756-b71a-4447-93e7-ce7351aba713",
      "name": "Configuration",
      "type": "n8n-nodes-base.set",
      "position": [
        128,
        880
      ]
    },
    {
      "id": "6bbdefd6-2cce-4efb-8dca-b9303dfb224e",
      "name": "Code in JavaScript",
      "type": "n8n-nodes-base.code",
      "position": [
        1792,
        880
      ]
    },
    {
      "id": "1bdf5ff6-8280-4094-a68d-8b9b9094d5b4",
      "name": "Upload file",
      "type": "n8n-nodes-base.googleDrive",
      "position": [
        2032,
        880
      ]
    },
    {
      "id": "e673c79a-d07a-449c-b082-91ab92c8b13e",
      "name": "Publish to WordPress",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        2240,
        880
      ]
    },
    {
      "id": "fe346ff1-2005-46e9-ad9d-639c580c6169",
      "name": "IF Loop Finished",
      "type": "n8n-nodes-base.if",
      "position": [
        2704,
        880
      ]
    },
    {
      "id": "85a54c6f-5004-40be-ac6c-2cf1dbcadc8e",
      "name": "Send a message",
      "type": "n8n-nodes-base.slack",
      "position": [
        2912,
        880
      ]
    },
    {
      "id": "7452af11-46ed-44c7-be26-bbeca673cab4",
      "name": "Basic LLM Chain",
      "type": "@n8n/n8n-nodes-langchain.chainLlm",
      "position": [
        640,
        880
      ]
    },
    {
      "id": "c5493027-4966-482b-bd16-a27a7426f87c",
      "name": "Basic LLM Chain1",
      "type": "@n8n/n8n-nodes-langchain.chainLlm",
      "position": [
        1280,
        880
      ]
    },
    {
      "id": "88477b55-a485-49f1-ace1-a478cf6d4e77",
      "name": "OpenRouter Chat Model",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenRouter",
      "position": [
        1216,
        1104
      ]
    },
    {
      "id": "9be736fb-06dd-4f3f-82f8-ce1a26c68ba3",
      "name": "OpenRouter Chat Model1",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenRouter",
      "position": [
        576,
        1104
      ]
    },
    {
      "id": "77695b68-d389-4b0e-ab77-f093ac1c8c3c",
      "name": "When clicking ‘Execute workflow’",
      "type": "n8n-nodes-base.manualTrigger",
      "position": [
        -992,
        880
      ]
    },
    {
      "id": "a7a617f5-0521-427d-ad3d-cdf615893a30",
      "name": "Sticky Note3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -544,
        240
      ],
      "parameters": {
        "width": 576,
        "height": 416,
        "content": "# Blog Post Content Creation (Multi-Topic Automation)\n\nThis workflow creates an automated path from a list of blog topics to fully prepared content and WordPress drafts. It is designed for teams who m"
      }
    },
    {
      "id": "7d598c0f-da7a-469b-8d01-df5884e886c3",
      "name": "Get Blog Topics",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        -464,
        880
      ]
    },
    {
      "id": "eb96e966-31d6-414a-b5c1-3f43e1fdf966",
      "name": "Split In Batches",
      "type": "n8n-nodes-base.splitInBatches",
      "position": [
        -192,
        880
      ]
    },
    {
      "id": "4291bd01-164d-40d2-9626-b9d51205f2c1",
      "name": "Sticky Note5",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -512,
        720
      ],
      "parameters": {
        "width": 800,
        "height": 592,
        "content": "## Input & Loop\nReads topic data from Google Sheets and processes each row individually using Split In Batches. This creates a clean loop for multi-topic automation.\n"
      }
    },
    {
      "id": "c498cd2f-90f1-496f-933d-76a1375ef4de",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        464,
        720
      ],
      "parameters": {
        "width": 1152,
        "height": 592,
        "content": "## Content Generation\nCreates brand context and full HTML articles using two AI steps. The output is structured, readable, and ready for publishing.\n"
      }
    },
    {
      "id": "d026d760-9dd6-466c-a8e3-229cbeeb887e",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1728,
        720
      ],
      "parameters": {
        "width": 720,
        "height": 592,
        "content": "## Export & Publishing\nConverts the HTML to a file, uploads it to Google Drive, and publishes a draft post to WordPress. When the loop ends, one Slack message confirms completion.\n"
      }
    },
    {
      "id": "e08423f1-ad04-444b-9792-f3f8f83f5168",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2576,
        720
      ],
      "parameters": {
        "width": 768,
        "height": 592,
        "content": "## Conformation\nGet notified by Slack and start the next iteration"
      }
    }
  ],
  "connections": {
    "Upload file": {
      "main": [
        [
          {
            "node": "Publish to WordPress",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Configuration": {
      "main": [
        [
          {
            "node": "Basic LLM Chain",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Basic LLM Chain": {
      "main": [
        [
          {
            "node": "Basic LLM Chain1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get Blog Topics": {
      "main": [
        [
          {
            "node": "Split In Batches",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Basic LLM Chain1": {
      "main": [
        [
          {
            "node": "Code in JavaScript",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "IF Loop Finished": {
      "main": [
        [
          {
            "node": "Send a message",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Split In Batches": {
      "main": [
        [
          {
            "node": "Configuration",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "IF Loop Finished",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Code in JavaScript": {
      "main": [
        [
          {
            "node": "Upload file",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Publish to WordPress": {
      "main": [
        [
          {
            "node": "Split In Batches",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "OpenRouter Chat Model": {
      "ai_languageModel": [
        [
          {
            "node": "Basic LLM Chain1",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "OpenRouter Chat Model1": {
      "ai_languageModel": [
        [
          {
            "node": "Basic LLM Chain",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "When clicking ‘Execute workflow’": {
      "main": [
        [
          {
            "node": "Get Blog Topics",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}