{
 "name": "[노드 한 장] Execute Workflow · 다른 워크플로우에서도 같은 서브 호출",
 "nodes": [
  {
   "parameters": {},
   "id": "p1",
   "name": "Run manually",
   "type": "n8n-nodes-base.manualTrigger",
   "typeVersion": 1,
   "position": [
    0,
    0
   ]
  },
  {
   "parameters": {
    "jsCode": "return [\n  { json: { currency: 'EUR' } },\n];"
   },
   "id": "p2",
   "name": "One currency",
   "type": "n8n-nodes-base.code",
   "typeVersion": 2,
   "position": [
    240,
    0
   ]
  },
  {
   "parameters": {
    "workflowId": {
     "__rl": true,
     "mode": "id",
     "value": "YOUR_SUB_WORKFLOW_ID"
    },
    "workflowInputs": {
     "mappingMode": "defineBelow",
     "value": {
      "currency": "={{ $json.currency }}"
     },
     "matchingColumns": [
      "currency"
     ],
     "schema": [
      {
       "id": "currency",
       "displayName": "currency",
       "required": false,
       "defaultMatch": false,
       "display": true,
       "canBeUsedToMatch": true,
       "type": "string",
       "removed": false
      }
     ],
     "attemptToConvertTypes": false,
     "convertFieldsToString": true
    },
    "options": {
     "waitForSubWorkflow": true
    }
   },
   "id": "p3",
   "name": "Call: 환율 가져오기",
   "type": "n8n-nodes-base.executeWorkflow",
   "typeVersion": 1.2,
   "position": [
    480,
    0
   ]
  }
 ],
 "connections": {
  "Run manually": {
   "main": [
    [
     {
      "node": "One currency",
      "type": "main",
      "index": 0
     }
    ]
   ]
  },
  "One currency": {
   "main": [
    [
     {
      "node": "Call: 환율 가져오기",
      "type": "main",
      "index": 0
     }
    ]
   ]
  }
 },
 "settings": {
  "timezone": "Asia/Seoul",
  "executionOrder": "v1"
 },
 "meta": {
  "templateCredsSetupCompleted": false,
  "source": "datapopcorn.ai/workflow/nodes"
 }
}