{
  "name": "Analyze domain keyword rankings and summarize with SE Ranking and GPT-4.1-mini",
  "nodes": [
    {
      "id": "f3cad1ad-95d9-4b85-9314-481ffb4426d3",
      "name": "When clicking ‘Execute workflow’",
      "type": "n8n-nodes-base.manualTrigger",
      "position": [
        -960,
        160
      ]
    },
    {
      "id": "08dc5dbe-de7a-4e74-bcd8-4ced909ebdf3",
      "name": "Set the Input Fields",
      "type": "n8n-nodes-base.set",
      "position": [
        -736,
        160
      ]
    },
    {
      "id": "d8cf41b0-7a5b-4239-8fdf-2fb14c7eb525",
      "name": "OpenAI Chat Model",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        -256,
        240
      ]
    },
    {
      "id": "6e9bf354-bb94-4a0e-b33d-9f26c7884328",
      "name": "SE Ranking AI Summarizer",
      "type": "@n8n/n8n-nodes-langchain.informationExtractor",
      "position": [
        -256,
        32
      ]
    },
    {
      "id": "e15822ab-11b7-4a84-a2b4-0bfe89e7eb3a",
      "name": "Create a Binary Data",
      "type": "n8n-nodes-base.function",
      "position": [
        800,
        16
      ]
    },
    {
      "id": "909daa52-67ce-47f4-81b5-3cd82a730751",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -336,
        -144
      ],
      "parameters": {
        "width": 976,
        "height": 752,
        "content": "## Data Enrichment\n\nCombines raw SE Ranking metrics with OpenAI-generated summaries. Transforms analytical data into human-readable insights. Merge the response from the Summarization + SE Ranking Dom"
      }
    },
    {
      "id": "84661333-3e35-41fe-b318-18f02816083e",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        656,
        -144
      ],
      "parameters": {
        "width": 576,
        "height": 752,
        "content": "## Export Data Handling\n\nConverts enriched results into structured JSON output. Stores the final data for reporting and downstream automation.\n"
      }
    },
    {
      "id": "eb7deb8c-c410-4044-a2da-65ac50870f98",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -816,
        -144
      ],
      "parameters": {
        "width": 464,
        "height": 752,
        "content": "##  SE Ranking Domain Keyword Ranking\n\nRetrieves keyword ranking data for a specified domain or exact URL from a regional database. Supports organic and paid results and provides advanced filtering ac"
      }
    },
    {
      "id": "316007fc-dace-46e8-8fc9-376a5f8d9083",
      "name": "Sticky Note3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1520,
        -144
      ],
      "parameters": {
        "width": 496,
        "height": 752,
        "content": "## **How It Works**\n\nThis workflow analyzes keyword ranking performance for a domain using SE Ranking and enriches the results with AI-generated summaries. It begins with a manual trigger where the ta"
      }
    },
    {
      "id": "4123aa91-b1d7-4f6c-a0f1-fbddff1212a8",
      "name": "SE Ranking Request",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        -512,
        160
      ]
    },
    {
      "id": "c584bd66-edb6-4cf0-adc5-9507f0b7d2e9",
      "name": "Extract Raw Response",
      "type": "n8n-nodes-base.code",
      "position": [
        96,
        208
      ]
    },
    {
      "id": "a9459ec3-3ffc-450b-bbf0-0f2d4e23e78b",
      "name": "Aggregate",
      "type": "n8n-nodes-base.aggregate",
      "position": [
        512,
        96
      ]
    },
    {
      "id": "d369774a-cf01-4704-9873-a396556a74c9",
      "name": "Merge",
      "type": "n8n-nodes-base.merge",
      "position": [
        320,
        96
      ]
    },
    {
      "id": "6cbace7b-828f-45ea-a012-8f4c41845b45",
      "name": "Extract Summary",
      "type": "n8n-nodes-base.code",
      "position": [
        96,
        32
      ]
    },
    {
      "id": "8c0acd5d-7dde-40bc-98dd-c7d16bbcdae7",
      "name": "Sticky Note5",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1520,
        -528
      ],
      "parameters": {
        "width": 368,
        "height": 368,
        "content": "![Logo](https://s3-eu-west-1.amazonaws.com/tpd/logos/538f1575000064000578dee6/0x0.png)"
      }
    },
    {
      "id": "79a6dd94-c695-460d-9f90-722d94d35f64",
      "name": "Convert to File",
      "type": "n8n-nodes-base.convertToFile",
      "position": [
        1008,
        16
      ]
    },
    {
      "id": "3476a792-95d4-48f6-babd-b8b0db78ce10",
      "name": "Append or update row in sheet",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        800,
        416
      ]
    },
    {
      "id": "a926166f-9623-429d-95d9-faf38376454c",
      "name": "Sticky Note4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -816,
        -480
      ],
      "parameters": {
        "width": 464,
        "height": 320,
        "content": "## Usecases\n\n- SEO performance monitoring\n\n- Executive and client reporting\n\n- Keyword opportunity discovery\n\n- Competitive domain analysis\n\n- Scalable SEO automation \n"
      }
    },
    {
      "id": "428d0014-d675-46da-9d08-3a74625df3b1",
      "name": "Sticky Note6",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -336,
        -480
      ],
      "parameters": {
        "width": 560,
        "height": 320,
        "content": "## Output\n\n- Structured keyword ranking data\n\n-  AI-generated summaries and insights\n\n-  Export-ready JSON for reporting and automation\n"
      }
    },
    {
      "id": "01bd61f2-2f9e-4d4f-8fa5-608d1c5f2f41",
      "name": "Persist on DataTable",
      "type": "n8n-nodes-base.dataTable",
      "position": [
        800,
        208
      ]
    }
  ],
  "connections": {
    "Merge": {
      "main": [
        [
          {
            "node": "Aggregate",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Aggregate": {
      "main": [
        [
          {
            "node": "Create a Binary Data",
            "type": "main",
            "index": 0
          },
          {
            "node": "Persist on DataTable",
            "type": "main",
            "index": 0
          },
          {
            "node": "Append or update row in sheet",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Convert to File": {
      "main": [
        []
      ]
    },
    "Extract Summary": {
      "main": [
        [
          {
            "node": "Merge",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI Chat Model": {
      "ai_languageModel": [
        [
          {
            "node": "SE Ranking AI Summarizer",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "SE Ranking Request": {
      "main": [
        [
          {
            "node": "SE Ranking AI Summarizer",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Create a Binary Data": {
      "main": [
        [
          {
            "node": "Convert to File",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Extract Raw Response": {
      "main": [
        [
          {
            "node": "Merge",
            "type": "main",
            "index": 1
          }
        ]
      ]
    },
    "Set the Input Fields": {
      "main": [
        [
          {
            "node": "SE Ranking Request",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "SE Ranking AI Summarizer": {
      "main": [
        [
          {
            "node": "Extract Summary",
            "type": "main",
            "index": 0
          },
          {
            "node": "Extract Raw Response",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "When clicking ‘Execute workflow’": {
      "main": [
        [
          {
            "node": "Set the Input Fields",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}