Settings
| Setting | What it is |
|---|---|
| ConnectionRequired | The Notion connection the step signs in with. |
| Page idRequired | text |
| Title | Leave it empty to keep the page's current title. |
| Read the property types first | One extra read of the page and its data source, so plain values can be written without JSON. |
| Properties | The property name exactly as it reads in Notion, and the plain value. Only the properties named here change. |
| Properties (JSON) | Merged over the Properties field. |
| Icon emoji | Leave it empty to keep the page's current icon. |
| Editing by people | "unchanged" or "lock" or "unlock" |
Technical details
| Key | Value |
|---|---|
connection | texta connection id from `requires.connections` (provider `notion`) |
pageId | textits `{{ }}` must give a string |
title | textits `{{ }}` must give a string |
lookUpPropertyTypes | true/false, by default true |
properties | object of text or number or true/false, by default {}a value from the vendor's own list |
propertiesJson | text |
icon | text |
isLocked | "unchanged" or "lock" or "unlock", by default "unchanged" |
Output
| Field | Type |
|---|---|
pageId | string |
page | object |
urlOpen in Notion | string |
Sample output, and the expression for each field
- page
- object"page"
- pageId"1a2b3c4d"
- url"https://www.notion.so/1a2b3c4d"
Errors
When a step of this node stops a run, the run page shows a code. Look it up:
Example step
The step as a flow file holds it. Replace each value in <…>.
{
"config": {
"connection": "<connection id>",
"icon": "",
"isLocked": "unchanged",
"lookUpPropertyTypes": true,
"pageId": "<page id>",
"properties": {},
"propertiesJson": "",
"title": ""
},
"label": "Update page",
"type": "notion.updatePage",
"version": 1
}