템플릿_코드_스마트_인식
중급
이것은Engineering분야의자동화 워크플로우로, 8개의 노드를 포함합니다.주로 N8n, Code, Form, FormTrigger 등의 노드를 사용하며. 사용JSDoc为代码节点추가TypeScript스마트感知支持
사전 요구사항
- •특별한 사전 요구사항 없이 가져와 바로 사용 가능합니다
사용된 노드 (8)
카테고리
워크플로우 미리보기
노드 연결 관계를 시각적으로 표시하며, 확대/축소 및 이동을 지원합니다
워크플로우 내보내기
다음 JSON 구성을 복사하여 n8n에 가져오면 이 워크플로우를 사용할 수 있습니다
{
"id": "CHfMFle2Ym5WrORl",
"meta": {
"instanceId": "87021cc08fe86f3c88c615ac7015b93e398b6bf953b85302471896e86cc798ef",
"templateCredsSetupCompleted": true
},
"name": "Templates_Code_Intellisense",
"tags": [],
"nodes": [
{
"id": "4bb15488-9fbd-4233-a5fd-4ea336a28a04",
"name": "워크플로우 가져오기",
"type": "n8n-nodes-base.n8n",
"position": [
-300,
-20
],
"parameters": {
"operation": "get",
"workflowId": {
"__rl": true,
"mode": "id",
"value": "={{ $workflow.id }}"
},
"requestOptions": {}
},
"credentials": {
"n8nApi": {
"id": "AtnwjrQQjpB80Z2Q",
"name": "n8n unio API v1"
}
},
"typeVersion": 1
},
{
"id": "9e494c46-e9fc-40db-8a79-1329c46f30dc",
"name": "인텔리센스 코드",
"type": "n8n-nodes-base.code",
"position": [
-20,
-20
],
"parameters": {
"jsCode": "// ----------------------------------------------------------------\n\n// Define core classes you want intellisense for.\n\n/**\n * @typedef {Object} Node\n * @property {string} type\n * @property {number} typeVersion\n * @property {number} id\n * @property {string} name\n */\n\n/**\n * @typedef {Object} Workflow\n * @property {string} name\n * @property {number} id\n * @property {boolean} isArchived\n * @property {Array<Node>} nodes\n */\n\n// Use this inline casting to tell Intellisense what the variable is:\nconst wf = /** @type {Workflow} */ ($input.first().json);\n\nlet output = \"<p>Example:</p>\"; \n\n// Now check and see, wf will present Intellisense!\noutput += \"<p>Workflow.id: \" + wf.id + \"</p>\";\noutput += \"<p>Workflow.name: \" + wf.name + \"</p>\";\noutput += \"<p>Workflow.isArchived: \" + wf.isArchived + \"</p>\";\n\nfor (let i = 0; i < wf.nodes.length; i++) {\n const node = wf.nodes[i];\n // node will automatically know its type, Intellisense here\n output += \"<p>Workflow.nodes[\" + i + \"]: \" + node.name + \"</p>\";\n output += \"<p>Workflow.nodes[\" + i + \"]: \" + node.type + \"</p>\";\n}\n\nreturn [{ json: { result: output } }];"
},
"typeVersion": 2
},
{
"id": "6aeaf1f3-0eca-4f27-8a8e-62cae8e860c7",
"name": "스티커 메모",
"type": "n8n-nodes-base.stickyNote",
"position": [
-580,
-140
],
"parameters": {
"color": 7,
"width": 480,
"height": 320,
"content": "## Setup\nJust get this workflow so we can show the Code node working."
},
"typeVersion": 1
},
{
"id": "7fe8b7e9-0571-433f-b04a-4f2af8b69aa9",
"name": "스티커 메모1",
"type": "n8n-nodes-base.stickyNote",
"position": [
-80,
-140
],
"parameters": {
"color": 4,
"width": 480,
"height": 320,
"content": "## Example\nOpen the Code node and see how we've given Intellisense hints to Workflow and Node."
},
"typeVersion": 1
},
{
"id": "74a61d70-17eb-44a5-a23c-c7f3035295e5",
"name": "폼 제출 시",
"type": "n8n-nodes-base.formTrigger",
"position": [
-520,
-20
],
"webhookId": "d963f33b-cba8-4887-b9d1-65fe4bbc49ad",
"parameters": {
"options": {},
"formTitle": "Test Code Node"
},
"typeVersion": 2.2
},
{
"id": "758fcb50-9794-45c9-a9b1-c490fdd96fd8",
"name": "결과 표시",
"type": "n8n-nodes-base.form",
"position": [
480,
-20
],
"webhookId": "a45895a4-717c-4542-8663-8d6352ba8d19",
"parameters": {
"options": {},
"formFields": {
"values": [
{
"html": "{{ $json.result }}\n\n",
"fieldType": "html",
"elementName": "output"
}
]
}
},
"typeVersion": 1
},
{
"id": "c938cf31-ea77-496a-8e73-a960ca41a586",
"name": "스티커 메모2",
"type": "n8n-nodes-base.stickyNote",
"position": [
420,
-140
],
"parameters": {
"color": 7,
"width": 480,
"height": 320,
"content": "## Output\nPrint results -- illustrative use of HTML in Forms."
},
"typeVersion": 1
},
{
"id": "490fa90f-ca28-4046-a5b4-59db517c0c2d",
"name": "스티커 메모3",
"type": "n8n-nodes-base.stickyNote",
"position": [
-580,
-280
],
"parameters": {
"color": 7,
"width": 1480,
"height": 120,
"content": "## Code node with Intellisense!\nThis example shows how to get Intellisense for n8n classes. Great when debugging complex Code nodes."
},
"typeVersion": 1
}
],
"active": false,
"pinData": {},
"settings": {
"executionOrder": "v1"
},
"versionId": "5c08e162-982f-4332-83a1-bca1c87af241",
"connections": {
"758fcb50-9794-45c9-a9b1-c490fdd96fd8": {
"main": [
[]
]
},
"4bb15488-9fbd-4233-a5fd-4ea336a28a04": {
"main": [
[
{
"node": "9e494c46-e9fc-40db-8a79-1329c46f30dc",
"type": "main",
"index": 0
}
]
]
},
"74a61d70-17eb-44a5-a23c-c7f3035295e5": {
"main": [
[
{
"node": "4bb15488-9fbd-4233-a5fd-4ea336a28a04",
"type": "main",
"index": 0
}
]
]
},
"9e494c46-e9fc-40db-8a79-1329c46f30dc": {
"main": [
[
{
"node": "758fcb50-9794-45c9-a9b1-c490fdd96fd8",
"type": "main",
"index": 0
}
]
]
}
}
}자주 묻는 질문
이 워크플로우를 어떻게 사용하나요?
위의 JSON 구성 코드를 복사하여 n8n 인스턴스에서 새 워크플로우를 생성하고 "JSON에서 가져오기"를 선택한 후, 구성을 붙여넣고 필요에 따라 인증 설정을 수정하세요.
이 워크플로우는 어떤 시나리오에 적합한가요?
중급 - 엔지니어링
유료인가요?
이 워크플로우는 완전히 무료이며 직접 가져와 사용할 수 있습니다. 다만, 워크플로우에서 사용하는 타사 서비스(예: OpenAI API)는 사용자 직접 비용을 지불해야 할 수 있습니다.
관련 워크플로우 추천
n8n 제1강 학습
상호작용식 워크플로우 가이드: 데이터 스트림, 실행 모드 및 디버깅 기본 학습
Set
Code
Form
+
Set
Code
Form
73 노드Wyeth
기타
n8n 태그를 폴더로 변환하고 워크플로우를 이동합니다.
n8n 태그를 폴더로 변환하고 워크플로우를 이동합니다.
If
N8n
Set
+
If
N8n
Set
40 노드Imperol
빌딩 블록
n8n 디버깅
Slack 상호작용 메시지를 사용하여 디버깅 브레이크 포인트와 로그를 생성하세요
If
Slack
Debug Helper
+
If
Slack
Debug Helper
9 노드Wyeth
엔지니어링
워크플로우 임포터
다중 양식을 통해 워크플로우를 가져오고 인증 정보를 매핑하기
If
N8n
Set
+
If
N8n
Set
58 노드Mario
기타
프롬프트 생성기
AI 프롬프트 생성기 워크플로우
Form
Merge
Split Out
+
Form
Merge
Split Out
21 노드Anurag Srivastava
엔지니어링
n8n 워크플로우 노드 리네이머 by UpFastAI
AI(Gemini/Claude)를 사용하여 가독성을 높이기 위해 워크플로 노드 자동 이름 변경
N8n
Set
Code
+
N8n
Set
Code
12 노드Dr. Christoph Schorsch
엔지니어링