{
  "name": "Public holiday lookup with Nager.Date API via webhook",
  "nodes": [
    {
      "id": "8164668d-0ba2-451b-a2dc-d2ffdc54d9a0",
      "name": "Note for Webhook Trigger",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -160,
        320
      ],
      "parameters": {
        "width": 300,
        "height": 320,
        "content": "This node listens for incoming POST requests. It expects a JSON body with 'year' (e.g., 2025) and 'countryCode' (e.g., US, PH, DE) properties to fetch public holidays. Find country codes at: https://w"
      }
    },
    {
      "id": "49af286c-d797-4798-a167-10d8c1593160",
      "name": "Note for Holiday API Call",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        200,
        320
      ],
      "parameters": {
        "width": 300,
        "height": 320,
        "content": "This node makes an HTTP GET request to the Nager.Date API to retrieve a list of public holidays for the specified year and country. The API returns details like the date, name, and type of each holida"
      }
    },
    {
      "id": "d39a877b-0fdb-4079-9577-7bdc343e96f0",
      "name": "Note for Webhook Response",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        560,
        300
      ],
      "parameters": {
        "width": 300,
        "height": 340,
        "content": "This node sends the list of public holidays received from Nager.Date back to the original caller of the webhook. You can insert other nodes before this to filter, format, store, or further process the"
      }
    },
    {
      "id": "a2091cce-1e80-4e43-948b-386a9bc0bc6e",
      "name": "Get Public Holidays",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        280,
        480
      ]
    },
    {
      "id": "1fb1c6ca-aa64-424c-90a2-7e814050d0e2",
      "name": "Receive Holiday Request Webhook",
      "type": "n8n-nodes-base.webhook",
      "position": [
        -80,
        480
      ]
    },
    {
      "id": "d0e71d3b-ba62-4dde-a36d-7ba48c0313ae",
      "name": "Respond with Holiday Data",
      "type": "n8n-nodes-base.respondToWebhook",
      "position": [
        660,
        480
      ]
    }
  ],
  "connections": {
    "Get Public Holidays": {
      "main": [
        [
          {
            "node": "Respond with Holiday Data",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Receive Holiday Request Webhook": {
      "main": [
        [
          {
            "node": "Get Public Holidays",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}