{
 "name": "[노드 한 장] Split Out · 목록 하나를 한 줄씩",
 "nodes": [
  {
   "id": "b1",
   "name": "Run manually",
   "type": "n8n-nodes-base.manualTrigger",
   "typeVersion": 1,
   "position": [
    0,
    200
   ],
   "parameters": {}
  },
  {
   "id": "b2",
   "name": "Get Steam top sellers",
   "type": "n8n-nodes-base.httpRequest",
   "typeVersion": 4.2,
   "position": [
    240,
    200
   ],
   "parameters": {
    "url": "https://store.steampowered.com/api/featuredcategories?cc=us&l=english",
    "options": {}
   }
  },
  {
   "id": "b3",
   "name": "Label without split",
   "type": "n8n-nodes-base.set",
   "typeVersion": 3.4,
   "position": [
    520,
    40
   ],
   "parameters": {
    "assignments": {
     "assignments": [
      {
       "id": "x1",
       "name": "games_in_list",
       "type": "number",
       "value": "={{ $json.top_sellers.items.length }}"
      },
      {
       "id": "x2",
       "name": "label",
       "type": "string",
       "value": "=Top sellers: {{ $json.top_sellers.items.length }} games"
      }
     ]
    },
    "options": {}
   }
  },
  {
   "id": "b4",
   "name": "Split Out",
   "type": "n8n-nodes-base.splitOut",
   "typeVersion": 1,
   "position": [
    520,
    360
   ],
   "parameters": {
    "fieldToSplitOut": "top_sellers.items",
    "options": {}
   }
  },
  {
   "id": "b5",
   "name": "Label each game",
   "type": "n8n-nodes-base.set",
   "typeVersion": 3.4,
   "position": [
    780,
    360
   ],
   "parameters": {
    "assignments": {
     "assignments": [
      {
       "id": "y1",
       "name": "game",
       "type": "string",
       "value": "={{ $json.name }}"
      },
      {
       "id": "y2",
       "name": "price_usd",
       "type": "number",
       "value": "={{ $json.final_price / 100 }}"
      },
      {
       "id": "y3",
       "name": "label",
       "type": "string",
       "value": "={{ $json.name }} · ${{ $json.final_price / 100 }}"
      }
     ]
    },
    "options": {}
   }
  }
 ],
 "connections": {
  "Run manually": {
   "main": [
    [
     {
      "node": "Get Steam top sellers",
      "type": "main",
      "index": 0
     }
    ]
   ]
  },
  "Get Steam top sellers": {
   "main": [
    [
     {
      "node": "Label without split",
      "type": "main",
      "index": 0
     },
     {
      "node": "Split Out",
      "type": "main",
      "index": 0
     }
    ]
   ]
  },
  "Split Out": {
   "main": [
    [
     {
      "node": "Label each game",
      "type": "main",
      "index": 0
     }
    ]
   ]
  }
 },
 "settings": {
  "timezone": "Asia/Seoul",
  "executionOrder": "v1"
 },
 "meta": {
  "templateCredsSetupCompleted": false,
  "source": "datapopcorn.ai/workflow/nodes"
 }
}