Google 웹 사이트 인덱스 - sitemap.xml 예제
고급
이것은Marketing분야의자동화 워크플로우로, 21개의 노드를 포함합니다.주로 If, Set, Xml, Sort, Wait 등의 노드를 사용하며. 사이트를 자동으로 Google에 인덱싱하기
사전 요구사항
- •대상 API의 인증 정보가 필요할 수 있음
카테고리
워크플로우 미리보기
노드 연결 관계를 시각적으로 표시하며, 확대/축소 및 이동을 지원합니다
워크플로우 내보내기
다음 JSON 구성을 복사하여 n8n에 가져오면 이 워크플로우를 사용할 수 있습니다
{
"id": "7i2RqqCYaKHUt4n3",
"meta": {
"instanceId": "fb924c73af8f703905bc09c9ee8076f48c17b596ed05b18c0ff86915ef8a7c4a"
},
"name": "Google Site Index - sitemap.xml example",
"tags": [],
"nodes": [
{
"id": "4da50fbf-7707-42ea-badc-6748c4ee30db",
"name": "\"워크플로 테스트\" 클릭 시",
"type": "n8n-nodes-base.manualTrigger",
"position": [
-927,
472
],
"parameters": {},
"typeVersion": 1
},
{
"id": "9e5bd6c8-a056-462b-b746-60d86bfbe398",
"name": "분할",
"type": "n8n-nodes-base.splitOut",
"position": [
480,
360
],
"parameters": {
"options": {},
"fieldToSplitOut": "urlset.url"
},
"typeVersion": 1
},
{
"id": "0d4acf98-31c5-4a0d-bb29-c1d045c0705c",
"name": "상태 확인",
"type": "n8n-nodes-base.httpRequest",
"onError": "continueErrorOutput",
"position": [
1540,
400
],
"parameters": {
"url": "=https://indexing.googleapis.com/v3/urlNotifications/metadata?url={{ encodeURIComponent($json.loc) }}",
"options": {
"response": {
"response": {
"fullResponse": true
}
}
},
"authentication": "predefinedCredentialType",
"nodeCredentialType": "googleOAuth2Api"
},
"credentials": {
"googleOAuth2Api": {
"id": "K8Cz9Dy3TR68udv2",
"name": "Google account"
}
},
"retryOnFail": false,
"typeVersion": 4.1
},
{
"id": "eee0eba6-3aa3-4841-9d48-8407db1212e2",
"name": "항목 반복",
"type": "n8n-nodes-base.splitInBatches",
"position": [
1340,
360
],
"parameters": {
"options": {}
},
"typeVersion": 3
},
{
"id": "47745d33-8358-45a8-a67d-60f9f0574bae",
"name": "대기",
"type": "n8n-nodes-base.wait",
"position": [
2080,
400
],
"webhookId": "44364241-e54b-4b44-aaa1-0d8121a7f497",
"parameters": {
"unit": "seconds",
"amount": "={{ Math.min(1.5,0.3+3*Math.random()).toFixed(2) }}"
},
"typeVersion": 1
},
{
"id": "9f1bf72e-8ecd-4239-b96f-b77be4c86b18",
"name": "URL 업데이트됨",
"type": "n8n-nodes-base.httpRequest",
"position": [
1840,
400
],
"parameters": {
"url": "=https://indexing.googleapis.com/v3/urlNotifications:publish",
"method": "POST",
"options": {},
"sendBody": true,
"authentication": "predefinedCredentialType",
"bodyParameters": {
"parameters": [
{
"name": "url",
"value": "={{ $('Loop Over Items').item.json.loc }}"
},
{
"name": "type",
"value": "URL_UPDATED"
}
]
},
"nodeCredentialType": "googleOAuth2Api"
},
"credentials": {
"googleOAuth2Api": {
"id": "K8Cz9Dy3TR68udv2",
"name": "Google account"
}
},
"typeVersion": 4.1
},
{
"id": "629eaf34-ef3c-4e9c-9537-69a03310dd9c",
"name": "일정 트리거",
"type": "n8n-nodes-base.scheduleTrigger",
"position": [
-927,
272
],
"parameters": {
"rule": {
"interval": [
{
"triggerAtHour": 2,
"triggerAtMinute": 5
}
]
}
},
"typeVersion": 1.1
},
{
"id": "2f95065c-fdc9-4773-87b0-37007ae4f9a5",
"name": "스티커 메모1",
"type": "n8n-nodes-base.stickyNote",
"position": [
-87,
192
],
"parameters": {
"width": 851.3475816949383,
"height": 340.39627039627067,
"content": "## Collect list of URLs\n\nThis part extracts all pages from all sitemaps and sorts by the last modified date `lastmod` (from newest to oldest)"
},
"typeVersion": 1
},
{
"id": "33798da1-4fd3-43dc-9ff4-753bae798535",
"name": "새 항목인가?",
"type": "n8n-nodes-base.if",
"position": [
1700,
280
],
"parameters": {
"options": {
"looseTypeValidation": true
},
"conditions": {
"options": {
"leftValue": "",
"caseSensitive": true,
"typeValidation": "loose"
},
"combinator": "and",
"conditions": [
{
"id": "c8566fc4-57cf-4272-841e-014bb354a37d",
"operator": {
"type": "dateTime",
"operation": "after"
},
"leftValue": "={{ $('Loop Over Items').item.json.lastmod }}",
"rightValue": "={{ $json.body.latestUpdate.notifyTime }}"
}
]
}
},
"typeVersion": 2
},
{
"id": "b5d538ec-d7bc-40ac-9b9e-e5ead9378387",
"name": "스티커 메모2",
"type": "n8n-nodes-base.stickyNote",
"position": [
1500,
121.07782938758908
],
"parameters": {
"width": 504.2424242424241,
"height": 431.1089918072487,
"content": "## Check URL metadata and update, if:\n* Google returns error (404 error means that this URL was not previously added)\n* Date of article update is after the date of last request to re-index"
},
"typeVersion": 1
},
{
"id": "2cc0b088-b09f-4dc2-8027-9e0ff442576b",
"name": "스티커 메모3",
"type": "n8n-nodes-base.stickyNote",
"position": [
-640,
196.4335593220339
],
"parameters": {
"width": 515.8058994999984,
"height": 335.72259887005646,
"content": "## Get sitemap.xml\nVarious CMS systems often have multiple sitemaps for different content (posts, tags, pages etc). Need to fetch all sitemaps first and then extract all pages from all sitemaps.\n### Remember to update the real sitemap URL!"
},
"typeVersion": 1
},
{
"id": "d8dc3b65-0d47-49a7-9042-33dbc5a2e245",
"name": "스티커 메모",
"type": "n8n-nodes-base.stickyNote",
"position": [
-662.5490981963931,
120.2098305084748
],
"parameters": {
"color": 6,
"width": 1458.468937875752,
"height": 453.3292476478371,
"content": "## Feel free to adapt this part depending on your website CMS\n"
},
"typeVersion": 1
},
{
"id": "a763f582-500c-4cc8-b780-672ebc3d0845",
"name": "콘텐츠별 사이트맵 가져오기",
"type": "n8n-nodes-base.splitOut",
"position": [
-260,
360
],
"parameters": {
"options": {},
"fieldToSplitOut": "sitemapindex.sitemap"
},
"typeVersion": 1
},
{
"id": "e7aa9728-eb9b-454d-a710-561d76841d7a",
"name": "사이트맵을 JSON로 변환",
"type": "n8n-nodes-base.xml",
"position": [
-440,
360
],
"parameters": {
"options": {}
},
"typeVersion": 1
},
{
"id": "496366d7-0d4e-401c-a375-8ca8882e8a32",
"name": "urlset.url을 배열로 강제 변환",
"type": "n8n-nodes-base.set",
"position": [
320,
360
],
"parameters": {
"options": {},
"assignments": {
"assignments": [
{
"id": "8d16114b-1d1a-4522-a550-6c799a44538a",
"name": "=urlset.url",
"type": "array",
"value": "={{ $json.urlset.url[0] ? $json.urlset.url : [$json.urlset.url] }}"
}
]
}
},
"typeVersion": 3.3
},
{
"id": "3a8e00a6-2fa4-4903-943d-890e0078181e",
"name": "스티커 메모4",
"type": "n8n-nodes-base.stickyNote",
"position": [
820,
120
],
"parameters": {
"color": 3,
"width": 459.2224448897797,
"height": 451.39712985292624,
"content": "## Update the `lastmod` and `loc` fields\nThese are pre-defined fields according to [the XML schema for the Sitemap protocol](https://www.sitemaps.org/protocol.html).\n\nIf your CMS system has different field names, please rename them here:\n* the last modified field `lastmod`\n* URL of the page in `loc` field"
},
"typeVersion": 1
},
{
"id": "9d841026-ede6-4396-a67b-e1787ffe9a17",
"name": "필수 사이트맵 필드 할당",
"type": "n8n-nodes-base.set",
"position": [
1000,
360
],
"parameters": {
"options": {},
"assignments": {
"assignments": [
{
"id": "bb0e1337-6fda-4a22-9963-d0b1271fc2a6",
"name": "lastmod",
"type": "string",
"value": "={{ $json.lastmod }}"
},
{
"id": "e7517c23-f989-4d75-9078-d82c75e51c65",
"name": "loc",
"type": "string",
"value": "={{ $json.loc }}"
}
]
}
},
"typeVersion": 3.3
},
{
"id": "99787654-f554-4650-afc0-c4fa65392c2b",
"name": "페이지 데이터를 JSON로 변환",
"type": "n8n-nodes-base.xml",
"position": [
120,
360
],
"parameters": {
"options": {
"explicitArray": false
}
},
"typeVersion": 1
},
{
"id": "f5cc1725-955c-4eb2-a66f-93153ebf35d1",
"name": "sitemap.xml 가져오기",
"type": "n8n-nodes-base.httpRequest",
"position": [
-620,
360
],
"parameters": {
"url": "https://wordpress.org/sitemap.xml",
"options": {}
},
"typeVersion": 4.1
},
{
"id": "789076f0-4aa1-469b-afac-af717c0b03c3",
"name": "각 사이트맵의 콘텐츠 가져오기",
"type": "n8n-nodes-base.httpRequest",
"position": [
-60,
360
],
"parameters": {
"url": "={{ $json.loc }}",
"options": {
"batching": {
"batch": {
"batchSize": 1,
"batchInterval": 150
}
}
}
},
"typeVersion": 4.1
},
{
"id": "b0bdc6d6-1306-4c0c-bec2-7e59d587db69",
"name": "정렬",
"type": "n8n-nodes-base.sort",
"position": [
640,
360
],
"parameters": {
"options": {},
"sortFieldsUi": {
"sortField": [
{
"order": "descending",
"fieldName": "lastmod"
}
]
}
},
"typeVersion": 1
}
],
"active": false,
"pinData": {},
"settings": {
"callerPolicy": "workflowsFromSameOwner",
"errorWorkflow": "6",
"executionOrder": "v1",
"saveManualExecutions": true,
"saveDataSuccessExecution": "all"
},
"versionId": "5c21ebb6-67df-4bde-9aea-6cc9a7621fc0",
"connections": {
"b0bdc6d6-1306-4c0c-bec2-7e59d587db69": {
"main": [
[
{
"node": "9d841026-ede6-4396-a67b-e1787ffe9a17",
"type": "main",
"index": 0
}
]
]
},
"47745d33-8358-45a8-a67d-60f9f0574bae": {
"main": [
[
{
"node": "eee0eba6-3aa3-4841-9d48-8407db1212e2",
"type": "main",
"index": 0
}
]
]
},
"33798da1-4fd3-43dc-9ff4-753bae798535": {
"main": [
[
{
"node": "9f1bf72e-8ecd-4239-b96f-b77be4c86b18",
"type": "main",
"index": 0
}
],
[
{
"node": "47745d33-8358-45a8-a67d-60f9f0574bae",
"type": "main",
"index": 0
}
]
]
},
"9e5bd6c8-a056-462b-b746-60d86bfbe398": {
"main": [
[
{
"node": "b0bdc6d6-1306-4c0c-bec2-7e59d587db69",
"type": "main",
"index": 0
}
]
]
},
"9f1bf72e-8ecd-4239-b96f-b77be4c86b18": {
"main": [
[
{
"node": "47745d33-8358-45a8-a67d-60f9f0574bae",
"type": "main",
"index": 0
}
]
]
},
"0d4acf98-31c5-4a0d-bb29-c1d045c0705c": {
"main": [
[
{
"node": "33798da1-4fd3-43dc-9ff4-753bae798535",
"type": "main",
"index": 0
}
],
[
{
"node": "9f1bf72e-8ecd-4239-b96f-b77be4c86b18",
"type": "main",
"index": 0
}
]
]
},
"f5cc1725-955c-4eb2-a66f-93153ebf35d1": {
"main": [
[
{
"node": "e7aa9728-eb9b-454d-a710-561d76841d7a",
"type": "main",
"index": 0
}
]
]
},
"eee0eba6-3aa3-4841-9d48-8407db1212e2": {
"main": [
[],
[
{
"node": "0d4acf98-31c5-4a0d-bb29-c1d045c0705c",
"type": "main",
"index": 0
}
]
]
},
"629eaf34-ef3c-4e9c-9537-69a03310dd9c": {
"main": [
[
{
"node": "f5cc1725-955c-4eb2-a66f-93153ebf35d1",
"type": "main",
"index": 0
}
]
]
},
"e7aa9728-eb9b-454d-a710-561d76841d7a": {
"main": [
[
{
"node": "a763f582-500c-4cc8-b780-672ebc3d0845",
"type": "main",
"index": 0
}
]
]
},
"496366d7-0d4e-401c-a375-8ca8882e8a32": {
"main": [
[
{
"node": "9e5bd6c8-a056-462b-b746-60d86bfbe398",
"type": "main",
"index": 0
}
]
]
},
"99787654-f554-4650-afc0-c4fa65392c2b": {
"main": [
[
{
"node": "496366d7-0d4e-401c-a375-8ca8882e8a32",
"type": "main",
"index": 0
}
]
]
},
"789076f0-4aa1-469b-afac-af717c0b03c3": {
"main": [
[
{
"node": "99787654-f554-4650-afc0-c4fa65392c2b",
"type": "main",
"index": 0
}
]
]
},
"a763f582-500c-4cc8-b780-672ebc3d0845": {
"main": [
[
{
"node": "789076f0-4aa1-469b-afac-af717c0b03c3",
"type": "main",
"index": 0
}
]
]
},
"4da50fbf-7707-42ea-badc-6748c4ee30db": {
"main": [
[
{
"node": "f5cc1725-955c-4eb2-a66f-93153ebf35d1",
"type": "main",
"index": 0
}
]
]
},
"9d841026-ede6-4396-a67b-e1787ffe9a17": {
"main": [
[
{
"node": "eee0eba6-3aa3-4841-9d48-8407db1212e2",
"type": "main",
"index": 0
}
]
]
}
}
}자주 묻는 질문
이 워크플로우를 어떻게 사용하나요?
위의 JSON 구성 코드를 복사하여 n8n 인스턴스에서 새 워크플로우를 생성하고 "JSON에서 가져오기"를 선택한 후, 구성을 붙여넣고 필요에 따라 인증 설정을 수정하세요.
이 워크플로우는 어떤 시나리오에 적합한가요?
고급 - 마케팅
유료인가요?
이 워크플로우는 완전히 무료이며 직접 가져와 사용할 수 있습니다. 다만, 워크플로우에서 사용하는 타사 서비스(예: OpenAI API)는 사용자 직접 비용을 지불해야 할 수 있습니다.
관련 워크플로우 추천
Browserflow와 Google Sheets를 사용한 LinkedIn 요청 및 첫 메시지 자동화
Browserflow 및 Google Sheets를 사용한 자동화된 LinkedIn 요청 및 아이스브레이킹 메시지
If
Set
Sort
+
If
Set
Sort
44 노드PollupAI
영업
Google Maps를 사용하여 잠재 고객 생성 - AlexK1919
Google Maps를 사용하여 잠재 고객 생성
If
Set
Code
+
If
Set
Code
42 노드Alex Kim
영업
GitHub 동기화 대시보드 - V2
提交 기록과 롤백 기능을 갖춘 GitHub 워크플로우 버전 관리 대시보드
If
N8n
Set
+
If
N8n
Set
94 노드Eduard
데브옵스
업로드 및 FLUX Kontext
FLUX Kontext를 통해 캐릭터 일관된 이미지 생성并통해 업로드로 소셜 미디어에 게시
If
Set
Wait
+
If
Set
Wait
27 노드Eduard
디자인
시각화 참조 라이브러리에서 n8n 노드를 탐색
可视化 참조 라이브러리에서 n8n 노드를 탐색
If
Ftp
Set
+
If
Ftp
Set
113 노드I versus AI
기타
Bright Data와 LLMs로 대규모 초개인화 아웃리치 자동화
Bright Data 및 대규모 언어 모델을 통한 대규모 초개인화 아웃리치 자동화
If
Set
Wait
+
If
Set
Wait
21 노드Yaron Been
영업