Notion 데이터베이스에서 직접 n8n 워크플로우를 자동으로 기록합니다.
중급
이것은Other분야의자동화 워크플로우로, 10개의 노드를 포함합니다.주로 If, N8n, Set, Notion, HttpRequest 등의 노드를 사용하며. Notion 데이터베이스에서 직접 n8n 워크플로우를 자동으로 기록합니다.
사전 요구사항
- •Notion API Key
- •대상 API의 인증 정보가 필요할 수 있음
카테고리
워크플로우 미리보기
노드 연결 관계를 시각적으로 표시하며, 확대/축소 및 이동을 지원합니다
워크플로우 내보내기
다음 JSON 구성을 복사하여 n8n에 가져오면 이 워크플로우를 사용할 수 있습니다
{
"nodes": [
{
"id": "2c3549c1-99c1-4255-a02d-2f454e6ced5e",
"name": "15분마다",
"type": "n8n-nodes-base.scheduleTrigger",
"position": [
560,
340
],
"parameters": {
"rule": {
"interval": [
{
"field": "minutes",
"minutesInterval": 15
}
]
}
},
"typeVersion": 1.1
},
{
"id": "3380272e-5631-44aa-b7da-5e23e0966978",
"name": "태그가 있는 모든 워크플로우 가져오기",
"type": "n8n-nodes-base.n8n",
"position": [
780,
340
],
"parameters": {
"filters": {
"tags": "sync-to-notion"
}
},
"credentials": {
"n8nApi": {
"id": "230",
"name": "n8n admin account"
}
},
"typeVersion": 1
},
{
"id": "d702f13e-8e93-4142-87c7-49fbb6031e19",
"name": "필드 설정",
"type": "n8n-nodes-base.set",
"position": [
1000,
340
],
"parameters": {
"options": {},
"assignments": {
"assignments": [
{
"id": "1744510d-7ed7-46d8-acd3-f975ab73f298",
"name": "active",
"type": "boolean",
"value": "={{ $json.active }}"
},
{
"id": "7e76f5dc-0c32-4b26-a289-975155b80112",
"name": "url",
"type": "string",
"value": "={{ $vars.instance_url }}workflow/{{ $json.id }}"
},
{
"id": "a7b069bf-8090-4dca-a432-f4fd7aa84e6f",
"name": "errorWorkflow",
"type": "boolean",
"value": "={{ !!$json.settings?.errorWorkflow }}"
},
{
"id": "0bff7a9b-0860-4552-b0f6-5fc279fc75d6",
"name": "name",
"type": "string",
"value": "={{ $json.name }}"
},
{
"id": "3065ee2f-d1bb-42b7-b341-7bb38b0f6720",
"name": "updatedAt",
"type": "string",
"value": "={{ $json.updatedAt }}"
},
{
"id": "ea9d39e4-50ca-4c79-b6ab-8b22cafd0257",
"name": "createdAt",
"type": "string",
"value": "={{ $json.createdAt }}"
},
{
"id": "265d66cd-1796-40eb-ae5b-dca8d1a91871",
"name": "envId",
"type": "string",
"value": "=internal-{{ $json.id }}"
}
]
}
},
"typeVersion": 3.3
},
{
"id": "4527dc91-bad5-4214-b210-ea8f89504fbf",
"name": "워크플로우 ID로 notion 페이지 가져오기",
"type": "n8n-nodes-base.httpRequest",
"position": [
1220,
340
],
"parameters": {
"url": "https://api.notion.com/v1/databases/fa25c53eac9a416eab3961b2f5c0c647/query",
"method": "POST",
"options": {},
"jsonBody": "={\n \"filter\": { \"and\": [\n {\n \"property\": \"env id\",\n \"rich_text\": { \"contains\": \"{{ $json.envId }}\" }\n }]\n}\n}",
"sendBody": true,
"sendHeaders": true,
"specifyBody": "json",
"authentication": "predefinedCredentialType",
"headerParameters": {
"parameters": [
{
"name": "Notion-Version",
"value": "2022-06-28"
}
]
},
"nodeCredentialType": "notionApi"
},
"credentials": {
"notionApi": {
"id": "1exvaAn7wzyBgkXZ",
"name": "Nik's Notion Cred"
}
},
"typeVersion": 4.1
},
{
"id": "ced49644-b18f-4984-8dfd-199d88e3ded7",
"name": "필드 매핑",
"type": "n8n-nodes-base.set",
"position": [
1440,
340
],
"parameters": {
"options": {},
"assignments": {
"assignments": [
{
"id": "49092f3a-7f42-4067-b8ea-1073ef1d1bb8",
"name": "input",
"type": "object",
"value": "={{ $('Set fields').item.json }}"
}
]
},
"includeOtherFields": true
},
"typeVersion": 3.3
},
{
"id": "b890dacf-2ac2-4802-b96a-5097119d35ee",
"name": "새로 추가된 워크플로우인 경우",
"type": "n8n-nodes-base.if",
"position": [
1660,
340
],
"parameters": {
"options": {},
"conditions": {
"options": {
"leftValue": "",
"caseSensitive": true,
"typeValidation": "strict"
},
"combinator": "and",
"conditions": [
{
"id": "88337d36-8cf6-4cd5-bec1-5123cf612934",
"operator": {
"type": "array",
"operation": "empty",
"singleValue": true
},
"leftValue": "={{ $json.results }}",
"rightValue": ""
}
]
}
},
"typeVersion": 2
},
{
"id": "86edfe55-9a88-49ed-82de-df0c44a65d53",
"name": "Notion에 추가",
"type": "n8n-nodes-base.notion",
"position": [
1920,
240
],
"parameters": {
"title": "={{ $json.input.name }}",
"options": {},
"resource": "databasePage",
"databaseId": {
"__rl": true,
"mode": "list",
"value": "fa25c53e-ac9a-416e-ab39-61b2f5c0c647",
"cachedResultUrl": "https://www.notion.so/fa25c53eac9a416eab3961b2f5c0c647",
"cachedResultName": "Workflows maintained"
},
"propertiesUi": {
"propertyValues": [
{
"key": "env id|rich_text",
"textContent": "={{ $json.input.envId }}"
},
{
"key": "URL (dev)|url",
"urlValue": "={{ $json.input.url }}"
},
{
"key": "isActive (dev)|checkbox",
"checkboxValue": "={{ $json.input.active }}"
},
{
"key": "Workflow created at|date",
"date": "={{ $json.input.createdAt }}"
},
{
"key": "Workflow updatded at|date",
"date": "={{ $json.input.updatedAt }}"
},
{
"key": "Error workflow setup|checkbox",
"checkboxValue": "={{ $json.input.errorWorkflow }}"
}
]
}
},
"credentials": {
"notionApi": {
"id": "1exvaAn7wzyBgkXZ",
"name": "Nik's Notion Cred"
}
},
"typeVersion": 2.1
},
{
"id": "9d547270-37dd-41ee-98b7-13001c954ffa",
"name": "Notion에서 업데이트",
"type": "n8n-nodes-base.notion",
"position": [
1920,
440
],
"parameters": {
"pageId": {
"__rl": true,
"mode": "url",
"value": "={{ $json.results[0].url }}"
},
"options": {},
"resource": "databasePage",
"operation": "update",
"propertiesUi": {
"propertyValues": [
{
"key": "isActive (dev)|checkbox",
"checkboxValue": "={{ $json.input.active }}"
},
{
"key": "Name|title",
"title": "={{ $json.input.name }}"
},
{
"key": "URL (dev)|url",
"urlValue": "={{ $json.input.url }}"
},
{
"key": "isActive (dev)|checkbox",
"checkboxValue": "={{ $json.input.active }}"
},
{
"key": "Workflow updatded at|date",
"date": "={{ $json.input.updatedAt }}"
},
{
"key": "Error workflow setup|checkbox",
"checkboxValue": "={{ false }}"
}
]
}
},
"credentials": {
"notionApi": {
"id": "1exvaAn7wzyBgkXZ",
"name": "Nik's Notion Cred"
}
},
"typeVersion": 2.1
},
{
"id": "9e4d88f6-aff8-48f1-9470-8b18aae7b83a",
"name": "스티키 노트3",
"type": "n8n-nodes-base.stickyNote",
"position": [
540,
100
],
"parameters": {
"color": 5,
"width": 445.6145160912248,
"height": 193.68880276091272,
"content": "### 👨🎤 Setup\n1. Add your n8n api creds\n2. Add your notion creds\n3. create notion database with fields `env id` as `text`, `isActive (dev)` as `boolean`, `URL (dev)` as `url`, `Workflow created at` as `date`, `Workflow updated at` as `date`, `Error workflow setup` as `boolean`\n4. Add tag `sync-to-notion` to some workflows"
},
"typeVersion": 1
},
{
"id": "c212f6ec-22e3-41cf-b1a5-03f261715444",
"name": "스티키 노트2",
"type": "n8n-nodes-base.stickyNote",
"position": [
1000,
540
],
"parameters": {
"color": 7,
"width": 368.0997057335963,
"height": 80,
"content": "### 👆 Set instance url instead of `{{ $vars.instance_url }}` (or set the env variable if you have that feature)"
},
"typeVersion": 1
}
],
"pinData": {},
"connections": {
"ced49644-b18f-4984-8dfd-199d88e3ded7": {
"main": [
[
{
"node": "b890dacf-2ac2-4802-b96a-5097119d35ee",
"type": "main",
"index": 0
}
]
]
},
"d702f13e-8e93-4142-87c7-49fbb6031e19": {
"main": [
[
{
"node": "4527dc91-bad5-4214-b210-ea8f89504fbf",
"type": "main",
"index": 0
}
]
]
},
"2c3549c1-99c1-4255-a02d-2f454e6ced5e": {
"main": [
[
{
"node": "3380272e-5631-44aa-b7da-5e23e0966978",
"type": "main",
"index": 0
}
]
]
},
"b890dacf-2ac2-4802-b96a-5097119d35ee": {
"main": [
[
{
"node": "86edfe55-9a88-49ed-82de-df0c44a65d53",
"type": "main",
"index": 0
}
],
[
{
"node": "9d547270-37dd-41ee-98b7-13001c954ffa",
"type": "main",
"index": 0
}
]
]
},
"3380272e-5631-44aa-b7da-5e23e0966978": {
"main": [
[
{
"node": "d702f13e-8e93-4142-87c7-49fbb6031e19",
"type": "main",
"index": 0
}
]
]
},
"4527dc91-bad5-4214-b210-ea8f89504fbf": {
"main": [
[
{
"node": "ced49644-b18f-4984-8dfd-199d88e3ded7",
"type": "main",
"index": 0
}
]
]
}
}
}자주 묻는 질문
이 워크플로우를 어떻게 사용하나요?
위의 JSON 구성 코드를 복사하여 n8n 인스턴스에서 새 워크플로우를 생성하고 "JSON에서 가져오기"를 선택한 후, 구성을 붙여넣고 필요에 따라 인증 설정을 수정하세요.
이 워크플로우는 어떤 시나리오에 적합한가요?
중급 - 기타
유료인가요?
이 워크플로우는 완전히 무료이며 직접 가져와 사용할 수 있습니다. 다만, 워크플로우에서 사용하는 타사 서비스(예: OpenAI API)는 사용자 직접 비용을 지불해야 할 수 있습니다.
관련 워크플로우 추천
Google 연락처와 Notion 양방향 동기화
双向동기화 Google 通讯录与 Notion
If
Set
Merge
+
If
Set
Merge
82 노드Solomon
기타
시간당 재시도 실행
자동 재시도 엔진: 오류 복구 워크플로
If
N8n
Set
+
If
N8n
Set
14 노드Francis Njenga
기타
워크플로우를 Gitea의 git 저장소에 백업합니다.
Gitea에 백업된 워크플로우를 git 저장소에 백업합니다.
If
N8n
Set
+
If
N8n
Set
20 노드Octoleo
기타
GitHub(서브 폴더)에 작업 흐름을 백업
Github에 작업 흐름 백업(서브 폴더)
If
N8n
Set
+
If
N8n
Set
25 노드Nazmy
기타
GitHub에 작업 흐름을 백업
Github에 작업 흐름 백업
If
N8n
Set
+
If
N8n
Set
23 노드Solomon
기타
AI 대리인 레스토랑 [템플릿]
🤖 WhatsApp, 인스타그램, 메신저의 AI 레스토랑 도우미
If
N8n
Set
+
If
N8n
Set
239 노드Amanda Benks
기타