{
  "name": "Generate SEO Content Briefs From a single keyword via webhook Into Slack",
  "nodes": [
    {
      "name": "Webhook",
      "type": "n8n-nodes-base.webhook",
      "typeVersion": 1,
      "parameters": {
        "httpMethod": "POST",
        "path": "seo-keyword",
        "responseMode": "onReceived",
        "options": {}
      },
      "notes": "Copy this node's webhook URL into the source tool as the POST endpoint.",
      "position": [
        260,
        300
      ]
    },
    {
      "name": "Research PAA",
      "type": "n8n-nodes-base.openAi",
      "typeVersion": 1,
      "parameters": {
        "resource": "text",
        "operation": "message",
        "modelId": "gpt-4o-mini",
        "messages": {
          "values": [
            {
              "role": "user",
              "content": "List the top People-Also-Ask questions and subtopics for the keyword: {{ $json.keyword }}"
            }
          ]
        }
      },
      "notes": "Swap in Anthropic or any LLM node if you prefer.",
      "position": [
        500,
        300
      ]
    },
    {
      "name": "Write Brief",
      "type": "n8n-nodes-base.openAi",
      "typeVersion": 1,
      "parameters": {
        "resource": "text",
        "operation": "message",
        "modelId": "gpt-4o-mini",
        "messages": {
          "values": [
            {
              "role": "user",
              "content": "Write an SEO content brief (intent, outline, FAQs, target word count) for: {{ $json.keyword }}"
            }
          ]
        }
      },
      "notes": "Swap in Anthropic or any LLM node if you prefer.",
      "position": [
        740,
        300
      ]
    },
    {
      "name": "Notify Slack",
      "type": "n8n-nodes-base.slack",
      "typeVersion": 2,
      "parameters": {
        "text": "={{ $json.brief }}"
      },
      "notes": "Connect this channel's credential.",
      "position": [
        980,
        300
      ]
    },
    {
      "name": "Respond / Finish",
      "type": "n8n-nodes-base.noOp",
      "typeVersion": 1,
      "parameters": {},
      "notes": "End of flow — extend with extra steps as needed.",
      "position": [
        1220,
        300
      ]
    }
  ],
  "connections": {
    "Webhook": {
      "main": [
        [
          {
            "node": "Research PAA",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Research PAA": {
      "main": [
        [
          {
            "node": "Write Brief",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Write Brief": {
      "main": [
        [
          {
            "node": "Notify Slack",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Notify Slack": {
      "main": [
        [
          {
            "node": "Respond / Finish",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}
