{
  "name": "Generate SEO articles from search queries to WordPress with BrowserAct and OpenRouter",
  "nodes": [
    {
      "id": "9d3cc0f6-046e-445b-905e-aca156196b4e",
      "name": "Split Out",
      "type": "n8n-nodes-base.splitOut",
      "position": [
        -80,
        16
      ]
    },
    {
      "id": "56870f3e-9765-4dce-8b08-9e6f3d397635",
      "name": "Loop Over Items",
      "type": "n8n-nodes-base.splitInBatches",
      "position": [
        144,
        16
      ]
    },
    {
      "id": "0b58dfb6-6e75-4618-81ac-733b67432646",
      "name": "OpenRouter Chat Model",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenRouter",
      "position": [
        544,
        240
      ]
    },
    {
      "id": "3b418ce1-0893-4d00-8df7-1f38832087ae",
      "name": "Structured Output Parser",
      "type": "@n8n/n8n-nodes-langchain.outputParserStructured",
      "position": [
        672,
        240
      ]
    },
    {
      "id": "f5466230-462d-46f4-bcd0-3b6404d9340b",
      "name": "Create a post",
      "type": "n8n-nodes-base.wordpress",
      "position": [
        1040,
        192
      ]
    },
    {
      "id": "1069c849-14df-4ef7-8241-9cd716f85700",
      "name": "Execute manually",
      "type": "n8n-nodes-base.manualTrigger",
      "position": [
        -528,
        16
      ]
    },
    {
      "id": "853f9109-4342-4a55-81e0-379b61a0bf43",
      "name": "Send completion notification",
      "type": "n8n-nodes-base.slack",
      "position": [
        368,
        -176
      ]
    },
    {
      "id": "889791a7-0d6e-4713-8873-82989035bef5",
      "name": "Extract search engine result",
      "type": "n8n-nodes-browseract.browserAct",
      "position": [
        368,
        16
      ]
    },
    {
      "id": "89c30be8-43e9-48f6-b996-c60e237c0c3b",
      "name": "Analyze the results and generate a post",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        592,
        16
      ]
    },
    {
      "id": "273f7979-3688-466f-beaf-9b0a38cbd9cb",
      "name": "Documentation",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -944,
        -512
      ],
      "parameters": {
        "width": 380,
        "height": 520,
        "content": "## ⚡ Workflow Overview & Setup\n\n**Summary:** This automation runs a programmatic SEO pipeline by scraping search insights (e.g., Reddit discussions) for specific queries, using AI to write authoritati"
      }
    },
    {
      "id": "2abe7774-f730-41a8-869d-b9cb2dac34b6",
      "name": "Step 1 Explanation",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        96,
        400
      ],
      "parameters": {
        "width": 1084,
        "height": 124,
        "content": "### 🔍 Step 1: Batch Research, AI Editorial & Publishing\n\nThe workflow iterates through a predefined list of high-intent search queries. BrowserAct scrapes search results (focusing on community discuss"
      }
    },
    {
      "id": "78baacea-6784-47d3-beab-fa1493e89742",
      "name": "Set queries (Search Input)",
      "type": "n8n-nodes-base.set",
      "position": [
        -304,
        16
      ]
    },
    {
      "id": "ce09bd75-a178-4c0f-9d4d-a77d4293ad56",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -544,
        -512
      ],
      "parameters": {
        "width": 752,
        "height": 432,
        "content": "@[youtube](5_bUlnRBre0)"
      }
    }
  ],
  "connections": {
    "Split Out": {
      "main": [
        [
          {
            "node": "Loop Over Items",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Create a post": {
      "main": [
        [
          {
            "node": "Loop Over Items",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Loop Over Items": {
      "main": [
        [
          {
            "node": "Send completion notification",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Extract search engine result",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Execute manually": {
      "main": [
        [
          {
            "node": "Set queries (Search Input)",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "OpenRouter Chat Model": {
      "ai_languageModel": [
        [
          {
            "node": "Analyze the results and generate a post",
            "type": "ai_languageModel",
            "index": 0
          },
          {
            "node": "Structured Output Parser",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Structured Output Parser": {
      "ai_outputParser": [
        [
          {
            "node": "Analyze the results and generate a post",
            "type": "ai_outputParser",
            "index": 0
          }
        ]
      ]
    },
    "Set queries (Search Input)": {
      "main": [
        [
          {
            "node": "Split Out",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Extract search engine result": {
      "main": [
        [
          {
            "node": "Analyze the results and generate a post",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Analyze the results and generate a post": {
      "main": [
        [
          {
            "node": "Create a post",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}