{
  "name": "Generate complete SEO strategy reports with SerpAPI data and GPT-4 Agent team",
  "nodes": [
    {
      "id": "21f0d07d-8c8b-4145-98c2-67a25ce3909d",
      "name": "When chat message received",
      "type": "@n8n/n8n-nodes-langchain.chatTrigger",
      "position": [
        -160,
        -928
      ]
    },
    {
      "id": "a1adf74d-5ee6-420b-a29c-44164e573265",
      "name": "OpenAI Chat Model",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        -112,
        -704
      ]
    },
    {
      "id": "96c11554-e7dd-4cb4-8ec7-794747796043",
      "name": "Keyword Research Specialist",
      "type": "@n8n/n8n-nodes-langchain.agentTool",
      "position": [
        -624,
        -400
      ]
    },
    {
      "id": "d50187fb-5ec5-46d0-9e6a-dcfa611f8031",
      "name": "Technical SEO Specialist",
      "type": "@n8n/n8n-nodes-langchain.agentTool",
      "position": [
        -336,
        -400
      ]
    },
    {
      "id": "71e8592a-f846-4d77-aa9d-091ca9cf12a3",
      "name": "Link Building Strategist",
      "type": "@n8n/n8n-nodes-langchain.agentTool",
      "position": [
        -48,
        -400
      ]
    },
    {
      "id": "af888ada-f8a1-4661-b3bd-a34ca5beee83",
      "name": "SEO Analytics Specialist",
      "type": "@n8n/n8n-nodes-langchain.agentTool",
      "position": [
        240,
        -400
      ]
    },
    {
      "id": "921e7ed6-7b8d-4c6e-b135-90f9931dcee3",
      "name": "Local SEO Specialist",
      "type": "@n8n/n8n-nodes-langchain.agentTool",
      "position": [
        528,
        -400
      ]
    },
    {
      "id": "2730b272-fa27-4c8a-8eeb-70fa04445569",
      "name": "SEO Content Writer",
      "type": "@n8n/n8n-nodes-langchain.agentTool",
      "position": [
        816,
        -400
      ]
    },
    {
      "id": "1aba9b92-2755-4126-8ac2-807dd2ea799f",
      "name": "OpenAI Chat Model1",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        -544,
        -96
      ]
    },
    {
      "id": "a462c0e1-f500-4f0b-8897-14e59248da51",
      "name": "OpenAI Chat Model2",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        -272,
        -80
      ]
    },
    {
      "id": "5ee429d2-b167-4ca8-ad7e-30f7cf10365b",
      "name": "OpenAI Chat Model3",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        528,
        -80
      ]
    },
    {
      "id": "9c72e813-69cb-4b04-8667-b01fe1c55210",
      "name": "OpenAI Chat Model4",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        -16,
        -80
      ]
    },
    {
      "id": "d377a7be-78b6-46a0-af8c-7a5eaecc8bec",
      "name": "OpenAI Chat Model5",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        272,
        -80
      ]
    },
    {
      "id": "a700edfa-6aae-42db-8873-5eabaafef08a",
      "name": "OpenAI Chat Model6",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        816,
        -80
      ]
    },
    {
      "id": "94f79720-4451-4cdc-9298-7f8fbab3e31d",
      "name": "SEO Director Agent",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        128,
        -752
      ]
    },
    {
      "id": "71e2afac-47f6-4efa-94f3-f6d1c5bf35f4",
      "name": "Think",
      "type": "@n8n/n8n-nodes-langchain.toolThink",
      "position": [
        544,
        -688
      ]
    },
    {
      "id": "a0b836ac-e174-4418-8e6f-55e0c8769d12",
      "name": "Respond to Chat",
      "type": "@n8n/n8n-nodes-langchain.chat",
      "position": [
        880,
        -880
      ]
    },
    {
      "id": "4b0f1128-7669-4b2f-a061-940fdefb5121",
      "name": "Simple Memory",
      "type": "@n8n/n8n-nodes-langchain.memoryBufferWindow",
      "position": [
        304,
        -928
      ]
    },
    {
      "id": "6adbc9ae-2608-49e4-ace8-1fc2b2e012a3",
      "name": "SerpAPI",
      "type": "@n8n/n8n-nodes-langchain.toolSerpApi",
      "position": [
        528,
        -928
      ]
    },
    {
      "id": "946f5101-cd0c-486e-acf8-6a4435a5dc23",
      "name": "Sticky Note5",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1184,
        -1296
      ],
      "parameters": {
        "width": 544,
        "height": 448,
        "content": "## How it works\nThis workflow acts as an autonomous \"AI SEO Agency.\" It is managed by a **Director Agent** (top center) that coordinates a team of 6 specialists.\n\n1. **Analysis:** When you chat, the D"
      }
    },
    {
      "id": "b97ed49c-ee14-4aae-874b-b8920759cd98",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -208,
        -1088
      ],
      "parameters": {
        "width": 864,
        "height": 528,
        "content": "## The Manager Core\nThe **SEO Director Agent** is the brain. It receives your prompt, pulls context from **Memory**, and gathers live data via **SerpAPI** before deciding which specialists to hire for"
      }
    },
    {
      "id": "c5ec5db3-9ea6-4d0a-9188-0fbf10b4cce4",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -784,
        -544
      ],
      "parameters": {
        "width": 1952,
        "height": 592,
        "content": "## The Specialist Team\nThese 6 nodes are configured as **Tools**. They don't run automatically; the Director calls them individually to perform specific tasks (like running a technical audit or resear"
      }
    }
  ],
  "connections": {
    "Think": {
      "ai_tool": [
        [
          {
            "node": "SEO Director Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "SerpAPI": {
      "ai_tool": [
        [
          {
            "node": "SEO Director Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Simple Memory": {
      "ai_memory": [
        [
          {
            "node": "SEO Director Agent",
            "type": "ai_memory",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI Chat Model": {
      "ai_languageModel": [
        [
          {
            "node": "SEO Director Agent",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI Chat Model1": {
      "ai_languageModel": [
        [
          {
            "node": "Keyword Research Specialist",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI Chat Model2": {
      "ai_languageModel": [
        [
          {
            "node": "Technical SEO Specialist",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI Chat Model3": {
      "ai_languageModel": [
        [
          {
            "node": "Local SEO Specialist",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI Chat Model4": {
      "ai_languageModel": [
        [
          {
            "node": "Link Building Strategist",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI Chat Model5": {
      "ai_languageModel": [
        [
          {
            "node": "SEO Analytics Specialist",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI Chat Model6": {
      "ai_languageModel": [
        [
          {
            "node": "SEO Content Writer",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "SEO Content Writer": {
      "ai_tool": [
        [
          {
            "node": "SEO Director Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "SEO Director Agent": {
      "main": [
        [
          {
            "node": "Respond to Chat",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Local SEO Specialist": {
      "ai_tool": [
        [
          {
            "node": "SEO Director Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Link Building Strategist": {
      "ai_tool": [
        [
          {
            "node": "SEO Director Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "SEO Analytics Specialist": {
      "ai_tool": [
        [
          {
            "node": "SEO Director Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Technical SEO Specialist": {
      "ai_tool": [
        [
          {
            "node": "SEO Director Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "When chat message received": {
      "main": [
        [
          {
            "node": "SEO Director Agent",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Keyword Research Specialist": {
      "ai_tool": [
        [
          {
            "node": "SEO Director Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    }
  }
}