{
  "name": "SEO Keyword Research Workflow",
  "nodes": [
    {
      "parameters": {
        "triggerOn": "webhook"
      },
      "name": "Webhook Trigger",
      "type": "n8n-nodes-base.webhook",
      "typeVersion": 1,
      "position": [
        250,
        300
      ]
    },
    {
      "parameters": {
        "authentication": "none",
        "requestMethod": "POST",
        "url": "http://localhost:8000/seo-agent",
        "jsonParameters": true,
        "options": {},
        "sendBody": true,
        "bodyParametersJson": "={ \"seed\": {{$json.body.seed || $json.body.keyword || $json.seed}} }",
        "headerParametersJson": "={ \"x-webhook-secret\": \"{{ $json.headers['x-webhook-secret'] || $json.secret || '' }}\" }",
        "responseFormat": "json"
      },
      "name": "Call SEO Agent API",
      "type": "n8n-nodes-base.httpRequest",
      "typeVersion": 4,
      "position": [
        470,
        300
      ]
    },
    {
      "parameters": {
        "respondWith": "json",
        "responseBody": "={{ $json.body }}"
      },
      "name": "Return Results",
      "type": "n8n-nodes-base.respondToWebhook",
      "typeVersion": 1,
      "position": [
        690,
        300
      ]
    }
  ],
  "connections": {
    "Webhook Trigger": {
      "main": [
        [
          {
            "node": "Call SEO Agent API",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Call SEO Agent API": {
      "main": [
        [
          {
            "node": "Return Results",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  },
  "settings": {
    "saveExecutionProgress": true,
    "saveManualExecutions": true
  },
  "staticData": null,
  "meta": {
    "templateCredsSetupCompleted": true
  },
  "tags": []
}