{
  "name": "Currency converter via webhook using ExchangeRate.host",
  "nodes": [
    {
      "id": "6f42915a-6851-4e36-b086-29fc6c975d48",
      "name": "Note: Webhook Trigger",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        0,
        -160
      ],
      "parameters": {
        "width": 280,
        "height": 540,
        "content": "## Webhook Input\n\nThis node listens for incoming POST requests. It expects a JSON body with the following properties:\n\n* `from` (source currency's 3-letter ISO 4217 code, e.g., `USD`)\n* `to` (target c"
      }
    },
    {
      "id": "52cb862c-71e1-4960-a0f2-2f6a7c620d7b",
      "name": "Note: Currency Conversion API Call",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        340,
        -160
      ],
      "parameters": {
        "width": 280,
        "height": 540,
        "content": "## Currency Conversion API Call\n\nThis node makes an HTTP GET request to the ExchangeRate.host API to perform the currency conversion. It uses the `from`, `to`, and `amount` from the webhook body to bu"
      }
    },
    {
      "id": "e75b2ecb-7637-4dfc-9ded-d2f8294d64ba",
      "name": "Note: Webhook Response",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        660,
        0
      ],
      "parameters": {
        "width": 320,
        "height": 380,
        "content": "## Webhook Response\n\nThis node sends the currency conversion result received from ExchangeRate.host back to the original caller of the webhook. You can insert other nodes before this to format the out"
      }
    },
    {
      "id": "aa7f2f15-a806-41a2-94fc-7e3e0b34e66c",
      "name": "Convert Currency",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        420,
        220
      ]
    },
    {
      "id": "7d362367-2cbc-4761-ac60-a9c0cdf96329",
      "name": "Receive Conversion Request Webhook",
      "type": "n8n-nodes-base.webhook",
      "position": [
        80,
        220
      ]
    },
    {
      "id": "9cfde3de-fdad-4d16-bed4-08512d57dd73",
      "name": "Respond with Converted Amount",
      "type": "n8n-nodes-base.respondToWebhook",
      "position": [
        780,
        220
      ]
    }
  ],
  "connections": {
    "Convert Currency": {
      "main": [
        [
          {
            "node": "Respond with Converted Amount",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Receive Conversion Request Webhook": {
      "main": [
        [
          {
            "node": "Convert Currency",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}