Skip to content

Instantly share code, notes, and snippets.

@kaochenlong
Created October 10, 2025 11:57
Show Gist options
  • Select an option

  • Save kaochenlong/1976c9460a502f80d03750fc62ee476b to your computer and use it in GitHub Desktop.

Select an option

Save kaochenlong/1976c9460a502f80d03750fc62ee476b to your computer and use it in GitHub Desktop.
Notion 串接
{
"nodes": [
{
"parameters": {
"formTitle": "n8n 課程報名",
"formDescription": "很厲害的 n8n 課程!趕快上來課!",
"formFields": {
"values": [
{
"fieldLabel": "姓名",
"placeholder": "請填寫您的大名",
"requiredField": true
},
{
"fieldLabel": "電話",
"requiredField": true
},
{
"fieldLabel": "Email",
"fieldType": "email",
"requiredField": true
},
{
"fieldLabel": "飲食準備",
"fieldType": "radio",
"fieldOptions": {
"values": [
{
"option": "葷食"
},
{
"option": "素食"
},
{
"option": "不用幫我準備便當"
}
]
},
"requiredField": true
}
]
},
"options": {
"appendAttribution": false,
"buttonLabel": "立即報名!"
}
},
"type": "n8n-nodes-base.formTrigger",
"typeVersion": 2.3,
"position": [
16,
-48
],
"id": "a6f13dd6-6dc2-436c-b542-8397a202120c",
"name": "On form submission",
"webhookId": "d6ffa9a6-6faa-4e68-be93-ab9d1a981e85"
},
{
"parameters": {
"resource": "databasePage",
"databaseId": {
"__rl": true,
"value": "288df074-dc7f-806b-a4d8-f1cee3366a1f",
"mode": "list",
"cachedResultName": "n8n 課程報名",
"cachedResultUrl": "https://www.notion.so/288df074dc7f806ba4d8f1cee3366a1f"
},
"propertiesUi": {
"propertyValues": [
{
"key": "姓名|title",
"title": "={{ $json['姓名'] }}"
},
{
"key": "Email|email",
"emailValue": "={{ $json.Email }}"
},
{
"key": "飲食|rich_text",
"textContent": "={{ $json['飲食準備'] }}"
},
{
"key": "電話|phone_number",
"phoneValue": "={{ $json['電話'] }}"
}
]
},
"options": {}
},
"type": "n8n-nodes-base.notion",
"typeVersion": 2.2,
"position": [
224,
-160
],
"id": "64346bf2-d278-43a9-8035-3067508852e3",
"name": "Create a database page",
"notesInFlow": true,
"credentials": {
"notionApi": {
"id": "Q9DsBeO5NjYVDwso",
"name": "Notion (高見龍)"
}
}
},
{
"parameters": {
"operation": "completion",
"completionTitle": "感謝報名",
"completionMessage": "感謝報名感謝報名感謝報名感謝報名感謝報名感謝報名感謝報名感謝報名感謝報名感謝報名感謝報名",
"options": {}
},
"type": "n8n-nodes-base.form",
"typeVersion": 2.3,
"position": [
432,
-32
],
"id": "ba525d9d-c941-4e8f-a2c4-cd5bb3a9e4e1",
"name": "Form Ending",
"webhookId": "ef999bc0-3cad-44f3-bc2c-730011de6f44",
"notesInFlow": true
}
],
"connections": {
"On form submission": {
"main": [
[
{
"node": "Create a database page",
"type": "main",
"index": 0
}
]
]
},
"Create a database page": {
"main": [
[
{
"node": "Form Ending",
"type": "main",
"index": 0
}
]
]
}
},
"pinData": {},
"meta": {
"templateCredsSetupCompleted": true,
"instanceId": "a4125682c20e4885d54c90e728387d401957cac8b9d73202358c5f56444d368b"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment