{
  "name": "Fresher Onboarding Pipeline",
  "nodes": [
    {
      "parameters": {
        "path": "fresher-enrollment",
        "responseMode": "lastNode",
        "options": {}
      },
      "name": "Webhook",
      "type": "n8n-nodes-base.webhook",
      "typeVersion": 1,
      "position": [
        250,
        300
      ]
    },
    {
      "parameters": {
        "requestMethod": "POST",
        "url": "http://backend:8000/api/agents/onboarding/generate-plan",
        "options": {},
        "bodyParametersUi": {
          "parameter": [
            {
              "name": "fresher_id",
              "value": "={{$node[\"Webhook\"].json[\"body\"][\"fresher_id\"]}}"
            }
          ]
        }
      },
      "name": "HTTP Request",
      "type": "n8n-nodes-base.httpRequest",
      "typeVersion": 1,
      "position": [
        450,
        300
      ]
    }
  ],
  "connections": {
    "Webhook": {
      "main": [
        [
          {
            "node": "HTTP Request",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}