← 노드 한 장 전체#13 · Google Sheets

Google Sheets

두 번 돌렸더니 줄이 두 배?

이 글은 이런 분께같은 워크플로우를 여러 번 돌려도 구글 시트에 줄이 중복되지 않게 하고 싶은 분
Google Sheets 영상 표지

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

JSON 받기 ①JSON 받기 ②

같은 워크플로우를 두 번 돌렸더니 시트가 9줄에서 18줄이 됐어요.

Google Sheets 노드의 Append Row는 확인 없이 맨 아래에 계속 추가해요.

먼저 결과부터

Append는 실행할 때마다 줄이 쌓이고, Append or Update는 기준 칸(ID)이 같으면 덮어쓴다. 두 번 실행: 18줄 vs 9줄.
우리가 실제로 돌린 기록 · 실행 #71383 · 2026-10-24
Google Sheets 실제 n8n 화면 1
우리가 실제로 돌린 n8n 화면 (실행 #71383, 2026-10-24)
Google Sheets 실제 n8n 화면 2
우리가 실제로 돌린 n8n 화면 (실행 #71383, 2026-10-24)

따라 하기

아래 설정값은 이 영상에 나온 워크플로우 JSON에서 그대로 가져왔어요. n8n 캔버스에서 +를 눌러 노드를 순서대로 추가하고 같은 값을 넣으면 돼요. 빨간 제목이 이번 편의 주인공 노드예요. 표 왼쪽은 n8n 편집기에 보이는 칸 이름, 오른쪽은 실제로 넣은 값이에요. 직접 입력하기 번거로우면 JSON을 받아 ⋯ → Import from File로 가져오세요.

워크플로우 1 · [노드 한 장] Google Sheets · ① Append (두 번 돌리면?)

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

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

Step 2. HTTP Request 노드 추가이름: Get Steam top sellers

URLhttps://store.steampowered.com/api/featuredcategories?cc=us&l=english

Step 3. Split Out 노드 추가이름: Split into games

Fields To Split Outtop_sellers.items

Step 4. Remove Duplicates 노드 추가이름: Remove duplicates

CompareSelected Fields
Fields To Compareid

Step 5. Edit Fields (Set) 노드 추가이름: Pick fields

필드 1app_id · number · {{ $json.id }}
필드 2name · string · {{ $json.name }}
필드 3price_usd · number · {{ $json.final_price / 100 }}
필드 4discount_percent · number · {{ $json.discount_percent }}
필드 5checked_at · string · {{ $now.setZone('Asia/Seoul').toFormat('yyyy-MM-dd HH:mm:ss') }}

Step 6. Google Sheets 노드 추가이름: Google Sheets

OperationAppend Row
DocumentYOUR_GOOGLE_SHEET_ID
Sheetgid=0
Columns › Mapping Column ModeMap Automatically

워크플로우 2 · [노드 한 장] Google Sheets · ② Append or Update (app_id 기준)

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

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

Step 8. HTTP Request 노드 추가이름: Get Steam top sellers

URLhttps://store.steampowered.com/api/featuredcategories?cc=us&l=english

Step 9. Split Out 노드 추가이름: Split into games

Fields To Split Outtop_sellers.items

Step 10. Remove Duplicates 노드 추가이름: Remove duplicates

CompareSelected Fields
Fields To Compareid

Step 11. Edit Fields (Set) 노드 추가이름: Pick fields

필드 1app_id · number · {{ $json.id }}
필드 2name · string · {{ $json.name }}
필드 3price_usd · number · {{ $json.final_price / 100 }}
필드 4discount_percent · number · {{ $json.discount_percent }}
필드 5checked_at · string · {{ $now.setZone('Asia/Seoul').toFormat('yyyy-MM-dd HH:mm:ss') }}

Step 12. Google Sheets 노드 추가이름: Google Sheets

OperationAppend or Update Row
DocumentYOUR_GOOGLE_SHEET_ID
Sheetgid=0
Columns › Mapping Column ModeMap Automatically
Columns › Column to match onapp_id

가져와서 쓸 때 확인할 것

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