The workflow JSON
Copy or download the full n8n JSON below. Paste it into a new n8n workflow, add your credentials, activate. Full import guide →
{
"id": "0kaNTeVQudsWxYpu",
"name": "@notion_note_workflow",
"description": null,
"active": false,
"isArchived": false,
"nodes": [
{
"parameters": {
"assignments": {
"assignments": [
{
"id": "39c2f302-03be-4464-a17a-d7cc481d6d44",
"name": "=response",
"value": "={{$json.output}}",
"type": "string"
}
]
},
"options": {}
},
"id": "ae170608-f9dd-400e-8da5-13ab77d4ba01",
"name": "Success",
"type": "n8n-nodes-base.set",
"typeVersion": 3.4,
"position": [
1200,
32
]
},
{
"parameters": {},
"id": "66a5ba7f-94c5-4515-b74f-04064c46d562",
"name": "Execute Workflow Trigger",
"type": "n8n-nodes-base.executeWorkflowTrigger",
"typeVersion": 1,
"position": [
528,
224
]
},
{
"parameters": {
"resource": "databasePage",
"databaseId": {
"__rl": true,
"value": "={{ $json.db_url }}",
"mode": "url"
},
"title": "={{ $json.headline }}",
"propertiesUi": {
"propertyValues": [
{
"key": "\u91cd\u9ede\u6458\u8981|rich_text",
"textContent": "={{ $json.highlights_text }}"
},
{
"key": "\u5f71\u97ff|rich_text",
"textContent": "={{ $json.impact }}"
},
{
"key": "\u8cc7\u8a0a\u4f86\u6e90\u5217\u8868|rich_text",
"textContent": "={{ $json.source_text }}"
},
{
"key": "\u985e\u5225|select",
"selectValue": "={{ $json.category }}"
}
]
},
"blockUi": {
"blockValues": [
{}
]
},
"options": {}
},
"type": "n8n-nodes-base.notion",
"typeVersion": 2.2,
"position": [
1424,
224
],
"id": "845a432e-eee9-49a6-9777-0da5f8605f74",
"name": "Create a database page",
"credentials": {
"notionApi": {
"name": "<your credential>"
}
}
},
{
"parameters": {
"amount": 1
},
"type": "n8n-nodes-base.wait",
"typeVersion": 1.1,
"position": [
1648,
288
],
"id": "31202f76-4dec-4ba2-a760-ad7a45e7e600",
"name": "Wait"
},
{
"parameters": {
"jsCode": "// n8n Function node code\n// \u5047\u8a2d\u6574\u5305 JSON \u5b58\u5728 $json \u8b8a\u6578\nconst articlesArr = $json.response.articles; // \u6ce8\u610f\u4f60\u9019\u500b\u662f\u5305\u5728 response \u88e1\n\n// \u76ee\u6a19\uff1a\u6bcf\u500b article \u8b8a\u6210\u4e00\u500b item\nreturn articlesArr.map(article => ({\n headline: article.headline,\n highlights: article.highlights,\n impact_suggestion: article.impact_suggestion,\n source_list: article.source_list,\n // \u53ef\u81ea\u884c\u52a0\u5176\u4ed6\u6b04\u4f4d, \u6bd4\u5982 title/database\n title: $json.response.title,\n database: $json.database,\n category: $json.category\n}));\n"
},
"type": "n8n-nodes-base.code",
"typeVersion": 2,
"position": [
752,
224
],
"id": "7350a782-63a0-4ea5-b09a-5c429c3f8bdb",
"name": "Code in JavaScript"
},
{
"parameters": {
"options": {}
},
"type": "n8n-nodes-base.splitInBatches",
"typeVersion": 3,
"position": [
976,
224
],
"id": "08e3da94-2465-4686-a81e-fc22899df884",
"name": "Loop Over Items"
},
{
"parameters": {
"jsCode": "const item = $input.first().json\n \nreturn [\n {\n headline: item.headline,\n highlights_text: item.highlights.join(\"\\n\u2022 \"),\n impact: item.impact_suggestion,\n source_text: item.source_list.join(\"\\n\"),\n db_url: item.database,\n category: item.category\n }\n];\n"
},
"type": "n8n-nodes-base.code",
"typeVersion": 2,
"position": [
1200,
224
],
"id": "d7aa3790-9888-43cd-9267-527785dad287",
"name": "Code in JavaScript1"
},
{
"parameters": {
"content": "## n8n Notion\u81ea\u52d5\u5316\u5de5\u4f5c\u6d41 - \u6458\u8981\u8aaa\u660e\n\n- \u624b\u52d5\u6216\u81ea\u52d5\u89f8\u767c\uff0c\u555f\u52d5\u6d41\u7a0b\n- \u652f\u63f4 JavaScript \u8cc7\u6599\u524d\u8655\u7406\u53ca\u8f49\u63db\n- \u8ff4\u5708\u8655\u7406\u591a\u7b46\u8cc7\u6599\uff0c\u52d5\u614b\u5efa\u7acb Notion \u9801\u9762\n- \u6d41\u7a0b\u57f7\u884c\u6210\u529f\u5f8c\u6a19\u8a18\u4e26\u53ef\u624b\u52d5\u78ba\u8a8d\n- \u57f7\u884c\u7d50\u675f\u524d\u53ef\u81ea\u5b9a\u7fa9\u7b49\u5f85\u6642\u9593\uff0c\u5229\u65bc\u5206\u6279\u8655\u7406\u6216\u5b9a\u6642\u540c\u6b65\n\n***\n\n### \u529f\u80fd\u6d41\u7a0b\n1. \u5de5\u4f5c\u6d41\u89f8\u767c\uff08Execute Workflow Trigger\uff09\n2. \u8cc7\u6599\u524d\u8655\u7406\uff08Code in JavaScript\uff09\n3. \u9010\u7b46\u8ff4\u5708\u8cc7\u6599\uff08Loop Over Items\uff09\n4. \u9032\u968e\u8cc7\u6599\u8655\u7406\uff08Code in JavaScript1\uff09\n5. \u5beb\u5165 Notion \u8cc7\u6599\u5eab\uff08Create a database page\uff09\n6. \u6d41\u7a0b\u7d50\u675f\u7b49\u5f85\uff08Wait\uff09\uff0c\u5fc5\u8981\u6642\u53ef\u624b\u52d5\u6a19\u8a18\u6210\u529f\uff08Success\uff09\n\n***\n\n### \u4e3b\u8981\u7528\u9014\n- \u6279\u6b21\u8cc7\u6599\u81ea\u52d5\u5beb\u5165 Notion \u8cc7\u6599\u5eab\n- \u652f\u63f4\u5ba2\u88fd\u5316 JavaScript \u8655\u7406\u6d41\u7a0b\n- \u7cbe\u7c21\u81ea\u52d5\u5316\uff0c\u7121\u9808\u4eba\u5de5\u8907\u88fd\u8cbc\u4e0a\n- \u9069\u5408\u591a\u8cc7\u6599\u4f86\u6e90\u540c\u6b65\u3001\u77e5\u8b58\u7ba1\u7406\u81ea\u52d5\u5316\n",
"height": 592,
"width": 480
},
"type": "n8n-nodes-base.stickyNote",
"position": [
0,
0
],
"typeVersion": 1,
"id": "b3a93228-97b6-41ff-a607-d8ac5ab548b0",
"name": "Sticky Note"
}
],
"connections": {
"Execute Workflow Trigger": {
"main": [
[
{
"node": "Code in JavaScript",
"type": "main",
"index": 0
}
]
]
},
"Create a database page": {
"main": [
[
{
"node": "Wait",
"type": "main",
"index": 0
}
]
]
},
"Code in JavaScript": {
"main": [
[
{
"node": "Loop Over Items",
"type": "main",
"index": 0
}
]
]
},
"Loop Over Items": {
"main": [
[
{
"node": "Success",
"type": "main",
"index": 0
}
],
[
{
"node": "Code in JavaScript1",
"type": "main",
"index": 0
}
]
]
},
"Code in JavaScript1": {
"main": [
[
{
"node": "Create a database page",
"type": "main",
"index": 0
}
]
]
},
"Wait": {
"main": [
[
{
"node": "Loop Over Items",
"type": "main",
"index": 0
}
]
]
}
},
"settings": {
"executionOrder": "v1"
},
"staticData": null,
"meta": {
"templateCredsSetupCompleted": true
},
"activeVersionId": null,
"versionCounter": 3,
"shared": [
{
"updatedAt": "2025-12-04T08:34:01.857Z",
"createdAt": "2025-12-04T08:34:01.857Z",
"role": "workflow:owner",
"workflowId": "0kaNTeVQudsWxYpu",
"projectId": "0liZARjPSF29Xm7S",
"project": {
"updatedAt": "2025-05-09T03:15:11.991Z",
"createdAt": "2025-05-09T03:15:09.651Z",
"id": "0liZARjPSF29Xm7S",
"name": "ChengHsien Yang <chenghyang2001@gmail.com>",
"type": "personal",
"icon": null,
"description": null,
"creatorId": "67155d98-04ab-4531-a011-993eff9c535f"
}
}
],
"tags": [],
"activeVersion": null
}
Credentials you'll need
Each integration node will prompt for credentials when you import. We strip credential IDs before publishing — you'll add your own.
notionApi
For the full experience including quality scoring and batch install features for each workflow upgrade to Pro
About this workflow
@notion_note_workflow. Uses executeWorkflowTrigger, notion. Event-driven trigger; 8 nodes.
Source: https://github.com/chenghyang2001/n8n-workflows/blob/022ee1a4e003aa4829dd0365bd54e8715867ef3f/workflows/notion_note_workflow.json — original creator credit. Request a take-down →
Related workflows
Workflows that share integrations, category, or trigger type with this one. All free to copy and import.
Workflow 01.01. Uses notion, executeWorkflowTrigger, httpRequest. Event-driven trigger; 60 nodes.
Automate sales call analysis and store structured insights in Notion with AI-powered intelligence.
WorkFlow 01.02. Uses notion, httpRequest, executeWorkflowTrigger. Event-driven trigger; 27 nodes.
WorkFlow 05.01. Uses executeWorkflowTrigger, notion, httpRequest. Event-driven trigger; 26 nodes.
WorkFlow 05.02. Uses httpRequest, notion, executeWorkflowTrigger. Event-driven trigger; 26 nodes.