{
 "name": "[노드 한 장] Data Table · 시트 없이 n8n 안에 환율 표",
 "nodes": [
  {
   "id": "m",
   "name": "Run manually",
   "type": "n8n-nodes-base.manualTrigger",
   "typeVersion": 1,
   "position": [
    0,
    0
   ],
   "parameters": {}
  },
  {
   "id": "h",
   "name": "Get USD rates",
   "type": "n8n-nodes-base.httpRequest",
   "typeVersion": 4.2,
   "position": [
    220,
    0
   ],
   "parameters": {
    "url": "https://open.er-api.com/v6/latest/USD",
    "options": {}
   }
  },
  {
   "id": "s",
   "name": "Pick 3 rates",
   "type": "n8n-nodes-base.set",
   "typeVersion": 3.4,
   "position": [
    440,
    0
   ],
   "parameters": {
    "assignments": {
     "assignments": [
      {
       "id": "a",
       "name": "checked_at",
       "type": "string",
       "value": "={{ $now.setZone('Asia/Seoul').toFormat('yyyy-MM-dd HH:mm:ss') }}"
      },
      {
       "id": "b",
       "name": "usd_krw",
       "type": "number",
       "value": "={{ $json.rates.KRW }}"
      },
      {
       "id": "c",
       "name": "usd_jpy",
       "type": "number",
       "value": "={{ $json.rates.JPY }}"
      },
      {
       "id": "d",
       "name": "usd_eur",
       "type": "number",
       "value": "={{ $json.rates.EUR }}"
      }
     ]
    },
    "options": {}
   }
  },
  {
   "id": "i",
   "name": "Insert row",
   "type": "n8n-nodes-base.dataTable",
   "typeVersion": 1.1,
   "position": [
    660,
    0
   ],
   "parameters": {
    "dataTableId": {
     "__rl": true,
     "mode": "id",
     "value": "YOUR_DATA_TABLE_ID"
    },
    "columns": {
     "mappingMode": "autoMapInputData",
     "value": {},
     "matchingColumns": [],
     "schema": []
    },
    "options": {}
   }
  },
  {
   "id": "g",
   "name": "Get all rows",
   "type": "n8n-nodes-base.dataTable",
   "typeVersion": 1.1,
   "executeOnce": true,
   "position": [
    880,
    0
   ],
   "parameters": {
    "operation": "get",
    "dataTableId": {
     "__rl": true,
     "mode": "id",
     "value": "YOUR_DATA_TABLE_ID"
    },
    "returnAll": true
   }
  }
 ],
 "connections": {
  "Run manually": {
   "main": [
    [
     {
      "node": "Get USD rates",
      "type": "main",
      "index": 0
     }
    ]
   ]
  },
  "Get USD rates": {
   "main": [
    [
     {
      "node": "Pick 3 rates",
      "type": "main",
      "index": 0
     }
    ]
   ]
  },
  "Pick 3 rates": {
   "main": [
    [
     {
      "node": "Insert row",
      "type": "main",
      "index": 0
     }
    ]
   ]
  },
  "Insert row": {
   "main": [
    [
     {
      "node": "Get all rows",
      "type": "main",
      "index": 0
     }
    ]
   ]
  }
 },
 "settings": {
  "timezone": "Asia/Seoul",
  "executionOrder": "v1"
 },
 "meta": {
  "templateCredsSetupCompleted": false,
  "source": "datapopcorn.ai/workflow/nodes"
 }
}