← 노드 한 장 전체#49 · No Operation, do nothing

No Operation, do nothing

바꾸지 않고 그대로 넘길 빈자리

이 글은 이런 분께데이터를 바꾸지 않고 워크플로우 연결 지점을 남겨 두고 싶은 분
No Operation, do nothing 영상 표지

1분 영상은 @workflow.hanjang 에 순서대로 공개돼요

JSON 받기

바꾸지 않고 그대로 넘길 빈자리.

노드 한 장 #49 · No Operation, do nothing

먼저 결과부터

No Operation, do nothing은 흐름을 읽기 쉽게 표시하면서 데이터를 바꾸지 않고 다음으로 넘기는 빈자리예요. 직접 작성한 가상 상품 3개를 실제 실행 #74838에서 통과시켰고, 전후 모두 3 items였어요. 뒤의 별도 Code가 순서·모든 JSON 값·전체 JSON 시퀀스를 비교한 결과는 모두 true였어요. 검증·계산은 Code가 했으며 No Operation 기능이 아니에요. 샘플 데이터이며 개인정보·외부 발송은 없어요.
우리가 실제로 돌린 기록 · 실행 #74838 · 2026-10-30
No Operation, do nothing 실제 n8n 화면 1
우리가 실제로 돌린 n8n 화면 (실행 #74838, 2026-10-30)
No Operation, do nothing 실제 n8n 화면 2
우리가 실제로 돌린 n8n 화면 (실행 #74838, 2026-10-30)

따라 하기

실제로 실행한 워크플로우를 바탕으로 정리했어요. 계정·식별자는 공개용 값으로 치환했고, 그 밖의 차이는 아래 주의사항에 표시했어요. n8n 캔버스에서 +를 눌러 노드를 순서대로 추가하고 같은 값을 넣으면 돼요. 빨간 제목이 이번 편의 주인공 노드예요. 표 왼쪽은 n8n 편집기에 보이는 칸 이름, 오른쪽은 다운로드 JSON의 설정값이에요. 직접 입력하기 번거로우면 JSON을 받아 ⋯ → Import from File로 가져오세요.

Step 1. Manual Trigger 노드 추가이름: Run manually

설정 없이 그대로 추가해요.

Step 2. Code 노드 추가이름: Create fictional products

JavaScript
// Directly authored fictional sample products, no personal data.
return [{"sample":true,"id":"SAMPLE-01","product":"가상 키링","price":5000,"stock":12,"options":{"color":"초록","gift":false}},{"sample":true,"id":"SAMPLE-02","product":"가상 컵","price":12000,"stock":0,"options":{"color":"파랑","gift":true}},{"sample":true,"id":"SAMPLE-03","product":"가상 노트","price":3000,"stock":7,"options":{"color":"노랑","gift":false}}].map(json=>({json}));

Step 3. No Operation 노드 추가이름: No Operation, do nothing

설정 없이 그대로 추가해요.

Step 4. Code 노드 추가이름: Verify unchanged in Code

JavaScript
// This Code performs verification. No Operation does not compare or calculate.
const before=$('Create fictional products').all().map(i=>i.json);
const after=$input.all().map(i=>i.json);
const same_item_order=JSON.stringify(before.map(x=>x.id))===JSON.stringify(after.map(x=>x.id));
const same_all_json_values=before.length===after.length&&before.every(b=>{const a=after.find(a=>a.id===b.id);return !!a&&JSON.stringify(a)===JSON.stringify(b)});
const same_full_json_sequence=JSON.stringify(before)===JSON.stringify(after);
return [{json:{sample:true,items_before:before.length,items_after:after.length,same_item_order,same_all_json_values,same_full_json_sequence,scope:'이 샘플 3개 JSON 값과 item 순서 비교 · 검증은 뒤 Code가 수행'}}];

가져와서 쓸 때 확인할 것

노드의 모든 옵션은 n8n 공식 문서에서 볼 수 있어요.