{
 "name": "[노드 한 장] Edit Fields · Steam 칸 정리",
 "nodes": [
  {
   "id": "b1",
   "name": "Run manually",
   "type": "n8n-nodes-base.manualTrigger",
   "typeVersion": 1,
   "position": [
    0,
    0
   ],
   "parameters": {}
  },
  {
   "id": "b2",
   "name": "Get Steam top sellers",
   "type": "n8n-nodes-base.httpRequest",
   "typeVersion": 4.2,
   "position": [
    240,
    0
   ],
   "parameters": {
    "url": "https://store.steampowered.com/api/featuredcategories?cc=us&l=english",
    "options": {}
   }
  },
  {
   "id": "b3",
   "name": "Split into games",
   "type": "n8n-nodes-base.splitOut",
   "typeVersion": 1,
   "position": [
    480,
    0
   ],
   "parameters": {
    "fieldToSplitOut": "top_sellers.items",
    "options": {}
   }
  },
  {
   "id": "b4",
   "name": "Keep 4 fields",
   "type": "n8n-nodes-base.set",
   "typeVersion": 3.4,
   "position": [
    720,
    0
   ],
   "parameters": {
    "assignments": {
     "assignments": [
      {
       "id": "g1",
       "name": "game",
       "type": "string",
       "value": "={{ $json.name }}"
      },
      {
       "id": "g2",
       "name": "price_usd",
       "type": "number",
       "value": "={{ $json.final_price / 100 }}"
      },
      {
       "id": "g3",
       "name": "discount",
       "type": "string",
       "value": "={{ $json.discount_percent }}%"
      },
      {
       "id": "g4",
       "name": "store_url",
       "type": "string",
       "value": "=https://store.steampowered.com/app/{{ $json.id }}"
      }
     ]
    },
    "includeOtherFields": false,
    "options": {}
   }
  }
 ],
 "connections": {
  "Run manually": {
   "main": [
    [
     {
      "node": "Get Steam top sellers",
      "type": "main",
      "index": 0
     }
    ]
   ]
  },
  "Get Steam top sellers": {
   "main": [
    [
     {
      "node": "Split into games",
      "type": "main",
      "index": 0
     }
    ]
   ]
  },
  "Split into games": {
   "main": [
    [
     {
      "node": "Keep 4 fields",
      "type": "main",
      "index": 0
     }
    ]
   ]
  }
 },
 "settings": {
  "timezone": "Asia/Seoul",
  "executionOrder": "v1"
 },
 "meta": {
  "templateCredsSetupCompleted": false,
  "source": "datapopcorn.ai/workflow/nodes"
 }
}